aboutsummaryrefslogtreecommitdiff
path: root/.vim/after/plugin/vim9-stargate.vim
diff options
context:
space:
mode:
Diffstat (limited to '.vim/after/plugin/vim9-stargate.vim')
-rw-r--r--.vim/after/plugin/vim9-stargate.vim9
1 files changed, 9 insertions, 0 deletions
diff --git a/.vim/after/plugin/vim9-stargate.vim b/.vim/after/plugin/vim9-stargate.vim
new file mode 100644
index 0000000..d6f9075
--- /dev/null
+++ b/.vim/after/plugin/vim9-stargate.vim
@@ -0,0 +1,9 @@
+" For 1 character to search before showing hints
+noremap <space>f <Cmd>call stargate#OKvim(1)<CR>
+" For 2 consecutive characters to search
+noremap <space>s <Cmd>call stargate#OKvim(2)<CR>
+
+" for the start of a word
+noremap <space>w <Cmd>call stargate#OKvim('\<')<CR>
+" for the end of a word
+noremap <space>e <Cmd>call stargate#OKvim('\S\>')<CR>