Skip to content

Instantly share code, notes, and snippets.

@mauriciosilva
Created February 8, 2011 19:24
Show Gist options
  • Save mauriciosilva/817019 to your computer and use it in GitHub Desktop.
Save mauriciosilva/817019 to your computer and use it in GitHub Desktop.
as of 2/8/2011
set tabstop=2
set shiftwidth=2
set smarttab
set nocompatible
set autoindent
set paste
syntax on
color pablo
map <C-l> :tabn<CR>
map <C-h> :tabp<CR>
map <C-n> :tabnew<CR>
function OpenNERDTree()
execute ":NERDTree"
endfunction
command -nargs=0 OpenNERDTree :call OpenNERDTree()
nmap <ESC>t :OpenNERDTree<CR>
function CloseNERDTree()
execute ":NERDTreeClose"
endfunction
command -nargs=0 CloseNERDTree :call CloseNERDTree()
nmap <ESC>c :CloseNERDTree<CR>
~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment