1
0
Fork 0
mirror of synced 2024-11-22 16:55:34 -05:00
ultimate-vim/my_configs.vim
liushouda ba013f581c mac
2015-09-08 10:43:39 +08:00

35 lines
1 KiB
VimL

nnoremap <F9> :exe 'NERDTreeToggle'<CR>
"set pastetoggle=<F2>
set mouse=
"for outside paste mistake
nnoremap <F2> :set invpaste paste?<CR>
imap <F2> <C-O>:set invpaste paste?<CR>
set pastetoggle=<F2>
"let Tlist_Use_Split_Window = 1
"sudo apt-get install ncurses-term
"export TERM=xterm-256color(.bashrc)
"let g:rehash256 = 1
:set nu
"colorscheme monokai
colorscheme molokai
let g:molokai_original = 1
"let NERDTreeWinPos='left'
"vertical indent, use <leader>ig to activatee
let g:indent_guides_start_level = 2
let g:indent_guides_guide_size=1
let g:indent_guides_auto_colors = 0
hi IndentGuidesOdd guibg=darkgrey ctermbg=darkgrey
hi IndentGuidesEven guibg=darkgrey ctermbg=darkgrey
inoremap {} {<esc>o}<esc>O
map <leader>1 :tabnext 1<CR>
map <leader>2 :tabnext 2<CR>
map <leader>3 :tabnext 3<CR>
map <leader>4 :tabnext 4<CR>
map <leader>5 :tabnext 5<CR>
map <leader>6 :tabnext 6<CR>
map <leader>7 :tabnext 7<CR>
map <leader>8 :tabnext 8<CR>
"let g:clang_library_path = '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/'