From 000bb2fd5e5382f399bb475be50a47f2bfbd4fe4 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Fri, 28 Jul 2023 09:02:15 +0100 Subject: [PATCH] revert(nvim): add mappings for cnext and cprev Removing these keymaps as they conflict with C-j and C-k which navigates between horizontal splits in tmux. I also already have `]q`, `[q`, `]l` and `[l` that do the same `cnext` and `lnext` navigation. This reverts commit a02e2765f44c8de5c7743d64f892645e98e1c71a. --- config/neovim/lua/opdavies/lsp/init.lua | 5 ----- 1 file changed, 5 deletions(-) diff --git a/config/neovim/lua/opdavies/lsp/init.lua b/config/neovim/lua/opdavies/lsp/init.lua index 2b75f1b..ca34699 100644 --- a/config/neovim/lua/opdavies/lsp/init.lua +++ b/config/neovim/lua/opdavies/lsp/init.lua @@ -13,11 +13,6 @@ local on_attach = function(client, bufnr) vim.keymap.set("n", "ca", function() vim.lsp.buf.code_action() end, opts) vim.keymap.set("n", "f", function() vim.lsp.buf.format({ async = true }) end, opts) vim.keymap.set("n", "rn", function() vim.lsp.buf.rename() end, opts) - - vim.keymap.set("n", "", "cnextzz") - vim.keymap.set("n", "", "cprevzz") - vim.keymap.set("n", "j", "lprevzz") - vim.keymap.set("n", "k", "lnextzz") end lsp.on_attach(on_attach)