diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-30 22:48:13 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-30 22:48:13 +1200 |
commit | f9de91a7f7d1a514bdebd1d4045952aa30f44339 (patch) | |
tree | 702e67d8fc92bdb68e27b937dca2a55599749e37 /vim/vimrc | |
parent | Add +title settings to .vimrc (diff) | |
download | dotfiles-f9de91a7f7d1a514bdebd1d4045952aa30f44339.tar.gz dotfiles-f9de91a7f7d1a514bdebd1d4045952aa30f44339.zip |
Stack Vim ^ to make it support counts
Can't immediately see a clean way to do it for operator mode, though.
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -193,6 +193,12 @@ if v:version >= 700 xnoremap <silent> & :&&<CR> endif +" Stack ^ to make it support counts by abusing $ +nnoremap ^ $^ +if v:version >= 700 + xnoremap ^ $^ +endif + " Stack insert Ctrl-C to undo the escaped insert operation inoremap <C-C> <C-C>u |