aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-12-29 22:26:06 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-12-29 22:26:06 +1300
commitf846a5087e94a3d142334df309d61ff08ac9d730 (patch)
treee2770c818e8608b2e348b50bb731e5e27b4eab1b
parentFirst version (diff)
parentBump VERSION (diff)
downloadvim-regex-escape-0.1.1.tar.gz (sig)
vim-regex-escape-0.1.1.zip
Merge branch 'hotfix/v0.1.1'v0.1.1
* hotfix/v0.1.1: Correct and adjust `normal!` keystrokes
-rw-r--r--VERSION2
-rw-r--r--autoload/regex_escape.vim6
2 files changed, 4 insertions, 4 deletions
diff --git a/VERSION b/VERSION
index 6e8bf73..17e51c3 100644
--- a/VERSION
+++ b/VERSION
@@ -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