Skip to content

indero/dotvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 

Repository files navigation

My (indero) vim config

Installation:

git clone git://github.com/indero/dotvim.git ~/.vim

Create symlinks:

ln -s ~/.vim/vimrc ~/.vimrc
ln -s ~/.vim/gvimrc ~/.gvimrc

Install minpac

mkdir -p ~/.vim/pack/minpac/opt
cd ~/.vim/pack/minpac/opt
git clone https://github.com/k-takata/minpac.git
cd

Install/Update all the Plugins

vim -E -c PackUpdate -c q

Prerequisites

Whats included:

Keystrokes

  • jj as ESC
  • // reset search highlight
  • ,p open CTRLP
  • Try {Motion}

F-Keys

  • Toggle paste mode
  • Toggle between number/relative number/no number combined with listoptions disabled
  • Toggle Tagbar

Settings

Multiple plugin directories

  • Not implemented anymore

Multiple vimrcs

Load vimrc from:

  • ~/.vim-testing/vimrc.local
  • ~/.vim-dev/vimrc.local
  • ~/.vim-local/vimrc.local
  • ~/.vim/vimrc.local

General Settings

  • Keep 100 lines of command history
  • By scrolling, keep the cursor 4 lines from top and bottom
  • Use the wildmenu
  • highlight search results
  • Begin search while typing
  • No bells
  • Tab is 2 spaces
  • Trailing whitspaces are displayed as a dot.
  • Modeline is enabled

Plugin Settings

  • Airline needs utf8.

Functions

Folding

Fold and unfold folds with space key.

Plugins

  • Xuyuanp/nerdtree-git-plugin
  • airblade/vim-gitgutter
  • ap/vim-css-color
  • bronson/vim-trailing-whitespace
  • ctrlpvim/ctrlp.vim
  • easymotion/vim-easymotion
  • godlygeek/tabular
  • majutsushi/tagbar
  • netdata/vim-puppet
  • prettier/vim-prettier
  • scrooloose/nerdtree
  • shinzui/vim-idleFingers
  • tomtom/tcomment_vim
  • tpope/vim-eunuch
  • tpope/vim-endwise
  • tpope/vim-fugitive
  • tpope/vim-repeat
  • tpope/vim-surround
  • vim-airline/vim-airline
  • vim-airline/vim-airline-themes
  • vim-scripts/SearchComplete
  • vim-scripts/YankRing.vim
  • vim-scripts/gnupg.vim
  • w0rp/ale