/dotfiles_old

some sane configurations for the terminal

Primary LanguageVim Script

DOTFILES

  • how to setup computer for using this dotfiles
  1. install homebrew

  2. install a better version of zsh: brew install zsh

  3. make better zsh version your custom shell:

    Go to the Users & Groups pane of the System Preferences 
    
    -> Select the User -> Click the lock to make changes (bottom left corner) 
    
    -> right click the current user select Advanced options... 
    
    -> Select the Login Shell: /usr/local/Cellar/zsh/5.3.1_1/bin/zsh and OK
    

    or wherever is your better version of zsh installed

  4. install zgen: git clone https://github.com/tarjoilija/zgen.git "${HOME}/.zgen"

  5. install fzf version 0.17.0: brew install fzf && /usr/local/opt/fzf/install, find a way to use version 0.17.0 brew switch fzf 0.17.0

  6. install nvm using homebrew: brew install nvm -> use version v0.33.0 of nvm to avoid error not compatible with the npm config "prefix"

  7. install the-silver-searcher aka ag: brew install the_silver_searcher

  8. symlink all .symlink files to your home folder ln -s PATH_TO_SOURCE_FILE.symlink ~/.FILE_NAME

  9. apply macos defaults: sh ~/.dotfiles/macos/defaults

  10. install rouge (I'll go ahead and suggest sudoing this, there must be a better way though): sudo gem install rouge

  11. install karabiner-elements brew cask install karabiner-elements

  12. install mysql for mru ( most recently used - vim plugin ): brew install mysql

  13. download and install spactacle brew cask install spectacle

  14. do yourself a favor: glances pip3 install glances OR brew install htop and stop using activity monitor

  15. brew install coreutils -- you need it for realpath

  16. update submodules: git submodule update --init --recursive

  17. install yarn: brew install yarn --without-node

  18. install yarn completions:yarn global add yarn-completions

  19. install tldr yarn global add tldr for simplified man pages

  20. install iterm brew cask install iterm and set colors as follows:

    • black: 727272
    • red: e64856
    • green: 35c13c
    • yellow: b7b334
    • blue: 88a2f3
    • magenta: cb31ca
    • cyan: a5eaf0
    • white: c7c7c7
  21. install ITerm2 shell integration: curl -L https://iterm2.com/misc/install_shell_integration.sh | bash

  22. enable mouse scroll for less in iterm: ITerm -> Preferences -> Advanced and search for "scroll"

  23. unmark checkbox of iterm->Preferences->terminal->Shell Integration[Show mark indicators]

  24. make cmd+click filename in iterm open in terminal vim (or cd into dir) [Preferences -> Profiles -> Advanced, Under "Semantic History", choose "Run coprocess..". In the text field, put:echo 'if [[ -d \1 ]]; then cd \1; else vim \1 \2; fi'

  25. install fasd: git clone https://github.com/akatrevorjay/fasd.git && cd fasd && make install

    • don't use the brew version cuz it messes up the global alias V
  26. make changes in _faasd_preexec like this

  27. install hub: brew install hub

  28. create a file in ~/.config/hub

---
github.com:
- oauth_token: TOKEN
  user: sudavid4
  • to push to github (https with two factor authentication) you will need to use a token instead of your password. Instructions here

README todo