Skip to content

Latest commit

 

History

History
117 lines (100 loc) · 6.19 KB

README.md

File metadata and controls

117 lines (100 loc) · 6.19 KB

.vim

My vim dot files. the .vimrc file is saved to vimrc.

About

Installing

Just run the following commands via terminal to get perfectly set up:

$ cd ~/
$ git clone --recursive https://github.com/jessfraz/.vim.git .vim
$ ln -sf $HOME/.vim/vimrc $HOME/.vimrc
$ cd $HOME/.vim
$ git submodule update --init

# To use the same configuration for nvim (neovim)
$ mkdir -p ~/.config/nvim
$ ln -snf ~/.vimrc ~/.config/nvim/init.vim
$ mkdir -p ~/.local/share/nvim
$ ln -snf ~/.vim ~/.local/share/nvim/site

You will also want a Nerd Font.

Pathogen

The vim dot files make use of the excellent Pathogen runtime path manager to install plugins and runtime files into their own private directiories.

Currently using version 2.4 of Pathogen

Contributing

Using the Makefile

You can use the Makefile to run a series of commands.

$ make help
install                        Sets up symlink for user and root .vimrc for vim and neovim.
README.md                      Generates and updates plugin info in README.md.
remove-submodule               Removes a git submodule (ex MODULE=bundle/nginx.vim).
update-pathogen                Updates pathogen.
update-plugins                 Updates all plugins.
update                         Updates pathogen and all plugins.

Shortcuts

  • Ctrl-P: Find files
  • Ctrl-G: Live grep
  • Ctrl-B: Search git branches
  • Ctrl-A: Toggle the file sidebar
  • Ctrl-R: Refresh the file sidebar
  • Ctrl-N: Multiple cursor support
  • Ctrl-X: Switch to the next buffer
  • Ctrl-Z: Switch to the previous buffer
  • Ctrl-T: Open a floating terminal
  • <Space>: Center the screen to the cursor

There's a lot more if you hit ,? you can peruse all the ones connected to the leader ,

Plugins Used