Last active
August 29, 2015 14:08
-
-
Save gowhari/85472849615580a4acfc to your computer and use it in GitHub Desktop.
A general vimrc set tab key to 4 spaces and map some keys to use tab windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" vimrc vim iman gowhari | |
set expandtab | |
set tabstop=4 | |
set shiftwidth=4 | |
set autoindent | |
set noswapfile | |
set hlsearch | |
set nowrap | |
set autochdir | |
map <F2> :w<CR> | |
map <F3> :tabedit .<CR> | |
map <F4> :tabclose<CR> | |
map <F7> :tabprevious<CR> | |
map <F8> :tabnext<CR> | |
imap <F2> <ESC>:w<CR>a | |
imap <F3> <ESC>:tabedit .<CR> | |
imap <F4> <ESC>:tabclose<CR>a | |
imap <F7> <ESC>:tabprevious<CR>a | |
imap <F8> <ESC>:tabnext<CR>a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment