From 9682dda16597d15d8c26ffe8213b6de4fe648c68 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 eea6469..7f1163f 100644 --- a/init.lua +++ b/init.lua @@ -646,6 +646,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{}