robhurring / dotvim

My .(n)vim files :metal:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

                            ██╗   ██╗██╗███╗   ███╗
                            ██║   ██║██║████╗ ████║
                            ██║   ██║██║██╔████╔██║
                            ╚██╗ ██╔╝██║██║╚██╔╝██║
                          ██╗╚████╔╝ ██║██║ ╚═╝ ██║
                          ╚═╝ ╚═══╝  ╚═╝╚═╝     ╚═╝
                                    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

About

My .(n)vim files :metal:


Languages

Language:Vim Script 82.4%Language:Lua 9.8%Language:Vim Snippet 6.1%Language:Shell 0.6%Language:Makefile 0.5%Language:Ruby 0.3%Language:Dockerfile 0.2%