From b51f1ae28924a752258e7607fbc3210f9b18eaac Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Thu, 22 Jul 2021 00:08:36 +0200 Subject: Updates based on Chris's lunarvim --- .config/nvim/lua/cfg/barbar/init.lua | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 .config/nvim/lua/cfg/barbar/init.lua (limited to '.config/nvim/lua/cfg/barbar') diff --git a/.config/nvim/lua/cfg/barbar/init.lua b/.config/nvim/lua/cfg/barbar/init.lua deleted file mode 100644 index 5257de5..0000000 --- a/.config/nvim/lua/cfg/barbar/init.lua +++ /dev/null @@ -1,27 +0,0 @@ -vim.api.nvim_set_keymap("n", "", ":BufferNext", { noremap = true, silent = true }) -vim.api.nvim_set_keymap("n", "", ":BufferPrevious", { noremap = true, silent = true }) -vim.api.nvim_set_keymap("n", "", ":BufferClose", { noremap = true, silent = true }) - -O.user_which_key["b"] = { - name = "Buffers", - j = { "BufferPick", "jump to buffer" }, - f = { "Telescope buffers", "Find buffer" }, - w = { "BufferWipeout", "wipeout buffer" }, - e = { - "BufferCloseAllButCurrent", - "close all but current buffer", - }, - h = { "BufferCloseBuffersLeft", "close all buffers to the left" }, - l = { - "BufferCloseBuffersRight", - "close all BufferLines to the right", - }, - D = { - "BufferOrderByDirectory", - "sort BufferLines automatically by directory", - }, - L = { - "BufferOrderByLanguage", - "sort BufferLines automatically by language", - }, -} -- cgit v1.2.3-70-g09d2