diff options
author | Guangxiong Lin <[email protected]> | 2023-12-02 09:43:15 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2023-12-02 10:23:22 +0800 |
commit | c2fdf2a2f13462e5a694a9a74f5bb5739c6dde18 (patch) | |
tree | 3fb4dd7e506464d065467d8b5f401bc792ec0491 /.vim/after/plugin/vim9-stargate.vim | |
parent | accc9d48cb7a20070e36996ef23a73b41ecf0639 (diff) | |
download | dotfiles-c2fdf2a2f13462e5a694a9a74f5bb5739c6dde18.tar.gz dotfiles-c2fdf2a2f13462e5a694a9a74f5bb5739c6dde18.tar.bz2 dotfiles-c2fdf2a2f13462e5a694a9a74f5bb5739c6dde18.zip |
Update vim config
Diffstat (limited to '.vim/after/plugin/vim9-stargate.vim')
-rw-r--r-- | .vim/after/plugin/vim9-stargate.vim | 9 |
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> |