Created
August 19, 2011 23:43
-
-
Save navasvarela/1158322 to your computer and use it in GitHub Desktop.
My .vimrc
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
filetype plugin on | |
syntax on | |
set tabstop=4 | |
set shiftwidth=4 | |
set showmatch | |
set number | |
map <F3> <Esc>gg=G<CR> | |
imap <F3> <Esc>gg=G<CR> | |
map <F5> :w<CR>:!node %:p<CR> | |
imap <F5> <Esc>:w<CR>:!node %:p<CR> | |
map <F2> <Esc>:wqa<CR> | |
map <F6> <Esc>gg"*yG<CR> | |
nmap <F4> :w<CR>:make<CR>:cw<CR> | |
nmap <C-k> :tabprev<CR> | |
nmap <C-l> :tabnext<CR> | |
nmap <C-n> :tabnew<CR> | |
autocmd VimEnter * NERDTree | |
autocmd VimEnter * wincmd p | |
autocmd BufNewFile,BufRead *.json set ft=javascript |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment