diff options
| author | Crony Akatsuki <crony@cronyakatsuki.xyz> | 2025-11-03 23:25:40 +0100 |
|---|---|---|
| committer | Crony Akatsuki <crony@cronyakatsuki.xyz> | 2025-11-03 23:25:40 +0100 |
| commit | d8f42809ea51ff14a6c6a714df2da2023a788626 (patch) | |
| tree | 18eb637ee5829bbc18b028e74fdb8f1cc960170c /lua/config/keybindings.lua | |
| parent | 14dbe77db406d36b4e422f7247ccdd803b96d46b (diff) | |
| download | nvim-d8f42809ea51ff14a6c6a714df2da2023a788626.zip nvim-d8f42809ea51ff14a6c6a714df2da2023a788626.tar.gz | |
feat: disable lsp format command.
Diffstat (limited to 'lua/config/keybindings.lua')
| -rw-r--r-- | lua/config/keybindings.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/config/keybindings.lua b/lua/config/keybindings.lua index 69cf573..fffaa86 100644 --- a/lua/config/keybindings.lua +++ b/lua/config/keybindings.lua @@ -5,8 +5,8 @@ vim.g.maplocalleader = ";" -- source current file vim.keymap.set("n", "<Leader> ", ":update<CR> :source<CR>", { desc = "Source current lua file" }) --- format -vim.keymap.set("n", "<Leader>lf", vim.lsp.buf.format, { desc = "Format buffer with available lsp" }) +-- -- format +-- vim.keymap.set("n", "<Leader>lf", vim.lsp.buf.format, { desc = "Format buffer with available lsp" }) -- easy copy/cut/paste from system clipboard vim.keymap.set({ "n", "v", "x" }, "<Leader>y", '"+y', { desc = "Yank to system clipboard" }) |
