-
ijkl 用于上下左右移动
-
h 代替了 i 的作用
-
J 跳到行首
-
L 跳到行尾
-
I 向上滚动半屏
-
K 向下滚动半屏
-
leader 键为空格
-
强制退出
-
w 保存
-
insert 模式下, 是向左边移动光标, 是向右边移动光标
-
补全选择
-
<C-k> | Tab 向下选择
如果 copilot 的建议存在, 那么 tab 会优先接受 copilot 的建议, 如果不存在, 那么 Tab 会向下选择
-
<C-p>向上选择
不使用<C-i>向上选择是因为<C-i>和 tab 的 keycode 是相同的, 映射到<C-i>会导致向上选择
Telescope里是<C-i>向上选择
-
<C-e>跳转到下一个 snippet 的位置或者跳到行尾
如果没有 snippet 那么就是跳到行尾
-
<C-o>或者<Cr>接受补全
<C-o>: 没有选择的时候默认选择第一个
<CR>: 没有选择的时候则为换行 -
<C-d>和<C-u> 补全有文档说明的时候, 用于文档窗口的上下翻页
-
<C-Space>切换copilot的补全建议或者切换choice snippet或者展开补全
-
<C-c>停止补全窗口
-
-
Notifications
You must be signed in to change notification settings - Fork 1
JuanZoran/myVimrc
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
recording my vimrc
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published