set tabs = 2 and tab shortcut
This commit is contained in:
parent
19e085c7bb
commit
56bc053e14
1 changed files with 15 additions and 1 deletions
|
@ -2,6 +2,20 @@
|
|||
set background=dark
|
||||
colorscheme solarized
|
||||
|
||||
"tabspace = 2
|
||||
" tabspace = 2
|
||||
autocmd FileType * set tabstop=2|set shiftwidth=2
|
||||
|
||||
" tab switch
|
||||
noremap <leader>1 1gt
|
||||
noremap <leader>2 2gt
|
||||
noremap <leader>3 3gt
|
||||
noremap <leader>4 4gt
|
||||
noremap <leader>5 5gt
|
||||
noremap <leader>6 6gt
|
||||
noremap <leader>7 7gt
|
||||
noremap <leader>8 8gt
|
||||
noremap <leader>9 9gt
|
||||
noremap <leader>0 :tablast<cr>
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue