Browse files

remap J behavior for html-ish files

  • Loading branch information...
1 parent bd90317 commit 4ba08a6c9ad66e31c2db2146a3621537e95b084f @aaronj1335 committed Sep 30, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 home_files/vimrc
@@ -158,6 +158,10 @@ vnoremap <tab> %
nnoremap j gj
nnoremap k gk
+" make it so that collapsing things on to one line in html doesn't surround the
+" tag w/ spaces
+au FileType html,mustache,markdown,ghmarkdown nnoremap J Jx
inoremap <F1> <ESC>
nnoremap <F1> <ESC>
vnoremap <F1> <ESC>

0 comments on commit 4ba08a6

Please sign in to comment.