mirror of
https://github.com/amix/vimrc
synced 2025-02-28 14:12:51 +08:00
quick change incident width
This commit is contained in:
parent
949594aa6b
commit
062ba55ab8
@ -26,14 +26,18 @@ let g:indent_guides_auto_colors = 0
|
|||||||
hi IndentGuidesOdd guibg=darkgrey ctermbg=darkgrey
|
hi IndentGuidesOdd guibg=darkgrey ctermbg=darkgrey
|
||||||
hi IndentGuidesEven guibg=darkgrey ctermbg=darkgrey
|
hi IndentGuidesEven guibg=darkgrey ctermbg=darkgrey
|
||||||
inoremap {} {<esc>o}<esc>O
|
inoremap {} {<esc>o}<esc>O
|
||||||
map <leader>1 :tabnext 1<CR>
|
"map <leader>1 :tabnext 1<CR>
|
||||||
map <leader>2 :tabnext 2<CR>
|
"map <leader>2 :tabnext 2<CR>
|
||||||
map <leader>3 :tabnext 3<CR>
|
"map <leader>3 :tabnext 3<CR>
|
||||||
map <leader>4 :tabnext 4<CR>
|
"map <leader>4 :tabnext 4<CR>
|
||||||
map <leader>5 :tabnext 5<CR>
|
"map <leader>5 :tabnext 5<CR>
|
||||||
map <leader>6 :tabnext 6<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/'
|
"let g:clang_library_path = '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/'
|
||||||
"highlight OverLength ctermbg=red ctermfg=white guibg=#592929
|
"highlight OverLength ctermbg=red ctermfg=white guibg=#592929
|
||||||
"match OverLength /\%81v.\+/
|
"match OverLength /\%81v.\+/
|
||||||
|
"
|
||||||
|
|
||||||
|
" temporary change auto incident in some file which the incidient is not 4
|
||||||
|
map <leader>2 :set shiftwidth=2 tabstop=2<CR>
|
||||||
|
map <leader>3 :set shiftwidth=3 tabstop=3<CR>
|
||||||
|
map <leader>4 :set shiftwidth=4 tabstop=4<CR>
|
||||||
|
Loading…
Reference in New Issue
Block a user