My dot files for linux and OSX. I use fish and vim with plug doing the plugin management. Below are notes for myself because I always forget these things. Might as well put them in the readme.
- Clone this repo in home dir
- cd dotfiles
- setup.sh
- cd dotfiles
- git submodule add plugin-repo-url vim/bundle/plugin-name
- setup.sh
- cd dotfiles
- git submodule foreach git pull origin master
- git add --all
- git commit
- git push
- cd dotfiles
- git pull
- git submodule update --recursive
space p
- Open the current file in the default program on OSX for a preview (requires Markdown Reader Chrome Extension or similar)space n
- Toggle line numbersspace r
- Toggle relative line numbersspace s
- Toggle spell checkspace c
- Clear the highlight for the current searchspace j
- Change to the previous bufferspace k
- Change to the next bufferspace d
- Delete the current bufferspace tc
- Run the golang code coverage from vim-gospace e
- Launch netrw directory browser (:Explore)ctrl-j
- Next error/warning (ALE)ctrl-k
- Previous error/warning (ALE)
- fig - Alias for docker-compose
- sshaws - Alias to ssh, but don't write to known_hosts file. Used for connecting to AWS where the host changes almost every time.
- vi - Alias for vim
- fish_reload - Alias for
source ~/.config/fish/config.fish
- .plan - Edits my .plan file, commits, and pushes changes (the repo will be cloned if needed)
- tree - Display a bash style directory tree
- tab_title - Set the title on the current iterm2 tab
- tab_color - Set the current iterm2 tab to the color indicated by the RGB values (0-255)
- tab_nocolor - Set the current iterm2 tab back to default
- tab_red - Shortcut for calling tab_color 255 0 0 - These exist for standard ROYGBIV colors as well as black, white, and brown