From b175e98bde0bd4dda6f5016c13701ef7691e0f19 Mon Sep 17 00:00:00 2001 From: Julian Raufelder Date: Sat, 2 Sep 2023 21:08:05 +0200 Subject: [PATCH] Add some further keybindinds --- init.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/init.lua b/init.lua index 0307949..f13173c 100644 --- a/init.lua +++ b/init.lua @@ -621,6 +621,10 @@ cmp.setup { vim.keymap.set('i', 'jj', '', { desc = 'Closes insert mode' }) vim.keymap.set('n', 'ec', ':', { desc = 'Execute command' }) +-- map capital b and e to end/start line, should be default? +vim.keymap.set('n', 'B', '_', { desc = 'Jump to line [B]eginning' }) +vim.keymap.set('n', 'E', '$', { desc = 'Jump to line [E]nding' }) + -- bufferline vim.opt.termguicolors = true require("bufferline").setup{}