Skip to content

Commit

Permalink
Remove support for <Up>, <Down>, <Left> and <Right>
Browse files Browse the repository at this point in the history
  • Loading branch information
remi committed Apr 27, 2010
1 parent ba33c5c commit 5379113
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions map.vim
Expand Up @@ -5,6 +5,25 @@
" vim: fdm=marker noet ts=4 sts=4 sw=4
" ----------------------------------------------------------------------------------------------------

" OK, let’s try this once again {{{
" ----------------------------------------------------------------------------------------------------
nnoremap <Up> <Esc>
vnoremap <Up> <NOP>
inoremap <Up> <NOP>
nnoremap <Down> <Esc>
vnoremap <Down> <NOP>
inoremap <Down> <NOP>
nnoremap <Left> <Esc>
vnoremap <Left> <NOP>
inoremap <Left> <NOP>
nnoremap <Right> <Esc>
vnoremap <Right> <NOP>
inoremap <Right> <NOP>
inoremap kj <Esc>
" }}}

" Strip HTML tags in selected line {{{
" ----------------------------------------------------------------------------------------------------
vnoremap <Leader>h :s/<\/*\([a-z][a-z0-9]*\)[^>]*>//g<CR><Esc>:silent noh<Bar>echo<CR>
Expand Down

0 comments on commit 5379113

Please sign in to comment.