Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Keymaps for underscores, dashes, invisibles

  • Loading branch information...
commit b139b7f9bd6b9333f4758c8a1ca71560f9d3cfdf 1 parent e442bb5
@dlh01 authored
Showing with 5 additions and 2 deletions.
  1. +5 −2 vim/plugin/settings/dlh01-keymaps.vim
View
7 vim/plugin/settings/dlh01-keymaps.vim
@@ -88,8 +88,8 @@ nnoremap <leader>\0 :set colorcolumn=0<cr>
" Type underscores and dashes on the home row
imap <silent> <D-k> _
-imap <silent> <D-d> _
-imap <silent> <D-K> -
+imap <silent> <D-d> -
+imap <silent> <D-K> _
imap <silent> <D-D> -
" ," Surround a word with "quotes"
@@ -162,3 +162,6 @@ nnoremap N Nzz
" Splitjoin
nmap sj :SplitjoinSplit<cr>
nmap sk :SplitjoinJoin<cr>
+
+" Show or hide invisibles
+nmap <leader>i :set list!<cr>
Please sign in to comment.
Something went wrong with that request. Please try again.