Skip to content

Keymaps

Charles Chiu edited this page Dec 17, 2022 · 6 revisions

In the following keybings, <leader> key is set to ,(comma) character, define in init.lua.

The following keymaps are define in mapping.lua

Plugin-related keymaps are define in keymap/init.lua

Shortcut Mode Description
<Ctrl>s Normal/Insert Save file
<Ctrl>o Normal Source/Reload current file
<Ctrl> + {h,j,k,l} Normal Move to splits windows
<Ctrl> + {H,J,K,L} Normal Move splits windows
ps Normal :PackerSync
pc Normal :PackerCompile
pt Normal :PackerStatus
<leader>f Normal :lua vim.lsp.buf.format({ async = true }
<leader>cb Normal Cursor indication
J Visual Move selected lines Down with auto-indent
K Visual Move selected lines Up with auto-indent
Clone this wiki locally