From c2fdf2a2f13462e5a694a9a74f5bb5739c6dde18 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Sat, 2 Dec 2023 09:43:15 +0800 Subject: Update vim config --- .vim/after/plugin/vim9-stargate.vim | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .vim/after/plugin/vim9-stargate.vim (limited to '.vim/after/plugin/vim9-stargate.vim') 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 f call stargate#OKvim(1) +" For 2 consecutive characters to search +noremap s call stargate#OKvim(2) + +" for the start of a word +noremap w call stargate#OKvim('\<') +" for the end of a word +noremap e call stargate#OKvim('\S\>') -- cgit v1.2.3