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:
parent
19e085c7bb
commit
56bc053e14
@ -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 New Issue
Block a user