aboutsummaryrefslogtreecommitdiff
path: root/.vim/after/plugin/vim9-stargate.vim
blob: d6f9075ddcdb6f61c72699faa4cc3dbdaff8999c (plain)
1
2
3
4
5
6
7
8
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>