diff options
| author | Crony Akatsuki <crony@cronyakatsuki.xyz> | 2025-10-20 18:20:17 +0200 |
|---|---|---|
| committer | Crony Akatsuki <crony@cronyakatsuki.xyz> | 2025-10-20 18:20:17 +0200 |
| commit | 3b5eceb42f0d4d166652a7428bd5b363e2f720ed (patch) | |
| tree | 8453d73a8c12e5d9f72ec4d8617fd51b17493d8b /lua/config/keybindings.lua | |
| parent | e4f3ceaa8640012a3b56841d10bc1574f65957a1 (diff) | |
| download | nvim-3b5eceb42f0d4d166652a7428bd5b363e2f720ed.zip nvim-3b5eceb42f0d4d166652a7428bd5b363e2f720ed.tar.gz | |
feat: add keybindings.
Diffstat (limited to 'lua/config/keybindings.lua')
| -rw-r--r-- | lua/config/keybindings.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lua/config/keybindings.lua b/lua/config/keybindings.lua new file mode 100644 index 0000000..7ed1daf --- /dev/null +++ b/lua/config/keybindings.lua @@ -0,0 +1,6 @@ +-- setup leader and local leader +vim.g.mapleader = " " +vim.g.maplocalleader = ";" + +-- source current file +vim.keymap.set("n", "<Leader> ", ":update<CR> :source<CR>") |
