diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-08-02 22:23:27 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-08-02 22:23:27 +1200 |
commit | 487f57db4bc452b2ced4256f700159c551f975a2 (patch) | |
tree | ca6ee2945ebccfa7c6269f3a10a09cddf45ffe33 /vim | |
parent | Add some experimental :vimgrep and :helpgrep maps (diff) | |
download | dotfiles-487f57db4bc452b2ced4256f700159c551f975a2.tar.gz dotfiles-487f57db4bc452b2ced4256f700159c551f975a2.zip |
Revert "Remove & remaps"
This reverts commit 5a9fbcf87cdf4513d3598700b6c6c4ec83dca139.
I misread the description of g&.
Diffstat (limited to 'vim')
-rw-r--r-- | vim/vimrc | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -204,6 +204,12 @@ if &loadplugins nmap <Space> <Plug>(ScrollNext) endif +" Remap normal/visual & to preserve substitution flags +nnoremap <silent> & :&&<CR> +if exists(':xnoremap') + xnoremap <silent> & :&&<CR> +endif + " Map g: as a 'colon operator' nmap g: <Plug>(ColonOperator) |