Created
September 15, 2011 04:30
-
-
Save mauriciosilva/1218533 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set tabstop=2 | |
set shiftwidth=2 | |
set smarttab | |
set nocompatible | |
set autoindent | |
set hlsearch | |
set paste | |
set showcmd | |
set ruler | |
set background=dark | |
syntax on | |
filetype on | |
let g:solarized_termcolors= 256 | 16 | |
let g:solarized_termtrans = 0 | 1 | |
let g:solarized_degrade = 0 | 1 | |
let g:solarized_bold = 1 | 0 | |
let g:solarized_underline = 1 | 0 | |
let g:solarized_italic = 1 | 0 | |
let g:solarized_style = "dark" | "light" | |
let g:solarized_contrast = "normal"| "high" or "low" | |
colorscheme solarized | |
map <C-l> :tabn<CR> | |
map <C-h> :tabp<CR> | |
map <C-n> :tabnew<CR> | |
map <C-i> i'<Esc>ea'<Esc> | |
nmap <C-t> :OpenNERDTree<CR> | |
nmap <C-c> :CloseNERDTree<CR> | |
" these should be removed? | |
nmap <ESC>c :CloseNERDTree<CR> | |
nmap <ESC>t :OpenNERDTree<CR> | |
autocmd VimEnter * wincmd l | |
function OpenNERDTree() | |
execute ":NERDTree" | |
endfunction | |
function CloseNERDTree() | |
execute ":NERDTreeClose" | |
endfunction | |
command -nargs=0 CloseNERDTree :call CloseNERDTree() | |
command -nargs=0 OpenNERDTree :call OpenNERDTree() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment