From d6a6f82b32579992a5cdc19bc3cc343a3466c92b Mon Sep 17 00:00:00 2001 From: Matteo Landi Date: Tue, 19 Sep 2017 23:18:28 +0200 Subject: [PATCH 1/3] Add the Pulse command --- plugin/search_pulse.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/search_pulse.vim b/plugin/search_pulse.vim index f035f36..ae13479 100644 --- a/plugin/search_pulse.vim +++ b/plugin/search_pulse.vim @@ -11,6 +11,7 @@ nnoremap nnoremap \ \ Pulse :call search_pulse#Pulse() +command -nargs=0 Pulse :call search_pulse#Pulse() if get(g:, 'vim_search_pulse_disable_auto_mappings') != 0 finish From 17200f51a4b64145fda81c2b15c791482553e313 Mon Sep 17 00:00:00 2001 From: Matteo Landi Date: Tue, 19 Sep 2017 23:26:53 +0200 Subject: [PATCH 2/3] Document the new :Pulse command --- doc/search-pulse.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/search-pulse.txt b/doc/search-pulse.txt index 1de9635..e6022fe 100644 --- a/doc/search-pulse.txt +++ b/doc/search-pulse.txt @@ -151,6 +151,10 @@ star motions. Here's the configuration: ============================================================================== 4. Commands *SearchPulseCommands* +:Pulse *:Pulse* + +Pulse the current line. + :SearchPulseToggle *:SearchPulseToggle* Easily switch the search pulse on and off. From 53945b4fdd0515364e164fb019d3672aa7d9c4f6 Mon Sep 17 00:00:00 2001 From: Matteo Landi Date: Tue, 19 Sep 2017 23:50:07 +0200 Subject: [PATCH 3/3] Overwrite existing :Pulse command --- plugin/search_pulse.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/search_pulse.vim b/plugin/search_pulse.vim index ae13479..7001645 100644 --- a/plugin/search_pulse.vim +++ b/plugin/search_pulse.vim @@ -11,7 +11,7 @@ nnoremap nnoremap \ \ Pulse :call search_pulse#Pulse() -command -nargs=0 Pulse :call search_pulse#Pulse() +command! -nargs=0 Pulse :call search_pulse#Pulse() if get(g:, 'vim_search_pulse_disable_auto_mappings') != 0 finish