Skip to content

Commit

Permalink
A couple vim mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
edsrzf committed Aug 2, 2012
1 parent 4208327 commit 5e6a756
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .vimrc
Expand Up @@ -75,6 +75,7 @@ filetype plugin indent on "load filetype plugins and indent settings"

"*** Filetypes ***"
autocmd FileType go setlocal noexpandtab
autocmd FileType coffee setlocal shiftwidth=2 softtabstop=2 tabstop=2
autocmd FileType html,xhthml,xml setlocal shiftwidth=2 softtabstop=2 tabstop=2
autocmd FileType java setlocal shiftwidth=4 softtabstop=4 tabstop=4
autocmd FileType python setlocal shiftwidth=4 softtabstop=4 tabstop=4
Expand All @@ -95,5 +96,8 @@ nnoremap <silent> <C-l> :noh<CR><C-l>
map <C-t> :tabnew<CR>
map <C-Tab> :tabn<CR>
noremap H ^
noremap L $
"NERDTree"
map <C-n> :NERDTree<CR>

0 comments on commit 5e6a756

Please sign in to comment.