1
0
mirror of https://github.com/amix/vimrc synced 2025-02-28 14:12:51 +08:00

set tabs = 2 and tab shortcut

This commit is contained in:
李春奕 2016-10-11 11:15:28 +08:00
parent 19e085c7bb
commit 56bc053e14

View File

@ -5,3 +5,17 @@ colorscheme solarized
" tabspace = 2 " tabspace = 2
autocmd FileType * set tabstop=2|set shiftwidth=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>