Skip to content

Instantly share code, notes, and snippets.

@noahkoch
Last active August 29, 2015 14:05
Show Gist options
  • Select an option

  • Save noahkoch/3f93b8a6c9286ac12439 to your computer and use it in GitHub Desktop.

Select an option

Save noahkoch/3f93b8a6c9286ac12439 to your computer and use it in GitHub Desktop.
Adds line numbers, 2 space tabs to vim
set number
set tabstop=2
set expandtab
set nobackup
set nowritebackup
nmap <S-Enter> O<Esc>j
nmap <CR> o<Esc>k
nmap <S-l> 9l
nmap <S-h> 9h
nmap <S-j> 5j
nmap <S-k> 5k
set sw=2
highlight Comment cterm=italic
set runtimepath^=~/.vim/bundle/ctrlp.vim
@noahkoch
Copy link
Author

Requires ctrlp to be installed. Delete line 15 if you don't want this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment