Skip to content

robhurring/dotvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

                            ██╗   ██╗██╗███╗   ███╗
                            ██║   ██║██║████╗ ████║
                            ██║   ██║██║██╔████╔██║
                            ╚██╗ ██╔╝██║██║╚██╔╝██║
                          ██╗╚████╔╝ ██║██║ ╚═╝ ██║
                          ╚═╝ ╚═══╝  ╚═╝╚═╝     ╚═╝
                                    My (N)VIM setup

Installing

vanilla vim
  1. clone repo to ~/.dotvim
  2. cd ~/.dotvim
  3. make bootstrap (OSX only - via homebrew)
    • installs lua
    • installs vim --with-lua
  4. make install
    • installs necessary dotfiles
for neovim
  1. follow instructions above for vanilla vim
  2. make bootstrap-neovim
    • installs neovim SEE: neovim
    • installs neovim's pip dependencies
  3. run make neovim
    • link vim to the XDG_CONFIG_HOME dotfiles
for a portable install
  1. Run \curl -sSL https://raw.githubusercontent.com/robhurring/dotvim/master/pocketvim.sh | bash
  • Or try \curl -L rob.run/vim | bash
  1. Do some work.
  2. Remove with rm -rf ~/.pocket-vimrc /tmp/pocketvim
  3. Dunzo.

Updating

NOTE: This will snapshot your existing plugins in case anything breaks.

  • run make update to update any plugins and the .dotvim code

Plugins

All the plugins are listed in vimrc and are handled by vim-plug

Installing
  • run make bundle to install any new bundles
Cleaning
  • run make clean to clean any removed bundles
Updating

NOTE: This will snapshot your existing plugins in case anything breaks.

  • run make update to update any plugins and the .dotvim code
Snapshotting
  • run make snapshot to lock your plugin versions to ~/.vim/snapshots/plugins.{date}.snapshot