diff options
author | Thomas Buckley-Houston | 2017-06-15 18:46:56 +0000 |
---|---|---|
committer | Thomas Buckley-Houston | 2017-06-15 18:46:56 +0000 |
commit | ba2917cb2233ede57532c1c67b57652c867cf922 (patch) | |
tree | f87b3d5ee080c9f1696d6e0a9496f39af2290517 | |
parent | 411609336b103e518e2f7d351dbcb7f818c5a865 (diff) |
Don't deselect after CTRL+C to copy
-rw-r--r-- | autoload/novim_mode.vim | 2 | ||||
-rw-r--r-- | spec/novim_mode_spec.rb | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/autoload/novim_mode.vim b/autoload/novim_mode.vim index 4a566ac..af5c76a 100644 --- a/autoload/novim_mode.vim +++ b/autoload/novim_mode.vim @@ -136,7 +136,7 @@ function! g:SetNoVimModeShortcuts() " NB. All these use the named 'p' register. inoremap <C-V> <C-O>"pP snoremap <C-V> <C-O>"pP - snoremap <C-C> <C-O>"pyi + snoremap <C-C> <C-O>"pygv inoremap <C-C> <C-O>"pY snoremap <C-X> <C-O>"pxi inoremap <C-X> <C-O>"pdd diff --git a/spec/novim_mode_spec.rb b/spec/novim_mode_spec.rb index 0b99674..15c993f 100644 --- a/spec/novim_mode_spec.rb +++ b/spec/novim_mode_spec.rb @@ -53,8 +53,7 @@ describe 'Basic editing' do copy me EOF - # Conventional behaviour shouldn't need the <End> right? - type '<S-End><C-c><End><Space><C-v>' + type '<S-End><C-c><Right><C-v>' after <<-EOF copy me copy me |