diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-12-29 22:26:06 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-12-29 22:26:06 +1300 |
commit | f846a5087e94a3d142334df309d61ff08ac9d730 (patch) | |
tree | e2770c818e8608b2e348b50bb731e5e27b4eab1b | |
parent | First version (diff) | |
parent | Bump VERSION (diff) | |
download | vim-regex-escape-f846a5087e94a3d142334df309d61ff08ac9d730.tar.gz vim-regex-escape-f846a5087e94a3d142334df309d61ff08ac9d730.zip |
Merge branch 'hotfix/v0.1.1'v0.1.1
* hotfix/v0.1.1:
Correct and adjust `normal!` keystrokes
-rw-r--r-- | VERSION | 2 | ||||
-rw-r--r-- | autoload/regex_escape.vim | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -1 +1 @@ -0.1.0 +0.1.1 diff --git a/autoload/regex_escape.vim b/autoload/regex_escape.vim index 06b3c07..2390804 100644 --- a/autoload/regex_escape.vim +++ b/autoload/regex_escape.vim @@ -29,11 +29,11 @@ function! regex_escape#Operatorfunc(type) abort " Select or re-select text, depending on how we were invoked if a:type ==# 'line' - execute "normal! '[V']y" + normal! '[V']y elseif a:type ==# 'block' " Typically doesn't work too well - execute "normal! `[\<C-V>`]y" " + execute "normal! `[\<C-V>`]y" else - execute "normal! `[v`]y" + normal! `[v`]y endif " Determine the regex flavor to use; if one is defined for the buffer, use |