分屏

上下分屏:s + v
左右分屏:s + h
关闭当前:s + c
关闭其他:s + o
切换窗口:alt/option + h/j/k/l
调整窗口左右:s + ,/.
调整窗口上下:s + j/k

滚动

上下滚动5行浏览:ctrl/control + j/k
上下滚动半屏浏览:ctrl/control + u/d

搜索

搜索:/:query
上一个:N
下一个:n

搜索文件

打开界面 :ctrl/control + p
切换文件:ctrl/control + j/k

搜索代码

打开界面 :ctrl/control + f
切换文件:ctrl/control + j/k

编辑

选中行:enter
上下移动选中:J/K

侧边栏

打开侧边栏:alt/option + m
搜索文件:alt/option + f
{ key = {"<CR>", "o", "<2-LeftMouse>"}, action = "edit" }, -- 分屏打开文件 { key = "v", action = "vsplit" }, { key = "h", action = "split" }, -- 显示隐藏文件 { key = "i", action = "toggle_custom" }, -- 对应 filters 中的 custom (node_modules) { key = ".", action = "toggle_dotfiles" }, -- Hide (dotfiles) -- 文件操作 { key = "<F5>", action = "refresh" }, { key = "a", action = "create" }, { key = "d", action = "remove" }, { key = "r", action = "rename" }, { key = "x", action = "cut" }, { key = "c", action = "copy" }, { key = "p", action = "paste" }, { key = "s", action = "system_open" }

标签页

切换标签页:ctrl/control + h/l
关闭标签页:ctrl/control + h/l
badge