aboutsummaryrefslogtreecommitdiff
path: root/.vim/after/plugin/vim9-stargate.vim
blob: 6462be6131ee04bfb3e127f975feb81e35e532fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
if has('nvim')
    finish
endif

" 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>