From 88fe23f8783e5d00d4eaa8a8267b35f621b4a7d7 Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Mon, 30 Jan 2023 19:43:18 +0100 Subject: [PATCH] Revert "nvim: keymap to move to begin/end of line in command line mode" This reverts commit eedb9b8e2eb0561cb93b76d8faf94dac10e208ed. I hadn't noticed that works by default already in command mode and moves the cursor to the beginning of the line. I'll use the default key bindings. --- config/nvim/lua/user/keymaps.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/config/nvim/lua/user/keymaps.lua b/config/nvim/lua/user/keymaps.lua index ce42e51..76c6209 100644 --- a/config/nvim/lua/user/keymaps.lua +++ b/config/nvim/lua/user/keymaps.lua @@ -48,11 +48,9 @@ map('v', '', [[:move '<-2gv=gv]], { silent = true }) map('i', '', [[:move .+1==gi]], { silent = true }) map('i', '', [[:move .-2==gi]], { silent = true }) --- move to begin/end of line in insert & command line mode +-- move to begin/end of line in insert mode map('i', '', '^') map('i', '', '$') -map('c', '', '') -map('c', '', '') -- navigate items in quickfix list map('n', 'j', 'cnext',{ silent = true })