From 56e16603121f94b6ea4b7125c596a09540569841 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Thu, 8 Jul 2021 15:28:34 +0200 Subject: Latest updates from LunarVim, new handrolled colorscheme --- .config/nvim/lua/cfg/which-key/init.lua | 47 +-------------------------------- 1 file changed, 1 insertion(+), 46 deletions(-) (limited to '.config/nvim/lua/cfg/which-key') diff --git a/.config/nvim/lua/cfg/which-key/init.lua b/.config/nvim/lua/cfg/which-key/init.lua index 2a22c9c..993018c 100644 --- a/.config/nvim/lua/cfg/which-key/init.lua +++ b/.config/nvim/lua/cfg/which-key/init.lua @@ -99,7 +99,7 @@ vim.api.nvim_set_keymap( local mappings = { - ["."] = "LunarConfig", + ["."] = "Config", ["k"] = "Comment", ["c"] = "Close Buffer", ["e"] = "Explorer", @@ -108,29 +108,6 @@ local mappings = { [";"] = "Dashboard", ["v"] = "Vertical Split", ["h"] = "Horizontal Split", - 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", - }, - }, p = { name = "Packer", c = { "PackerCompile", "Compile" }, @@ -198,11 +175,6 @@ local mappings = { R = { "Telescope registers", "Registers" }, t = { "Telescope live_grep", "Text" }, }, - S = { - name = "Session", - s = { "SessionSave", "Save Session" }, - l = { "SessionLoad", "Load Session" }, - }, T = { name = "Treesitter", i = { ":TSConfigInfo", "Info" }, @@ -235,18 +207,6 @@ if O.plugin.telescope_project.active then mappings["P"] = "Projects" end -if O.lang.latex.active then - mappings["L"] = { - name = "+Latex", - c = { "VimtexCompile", "Toggle Compilation Mode" }, - f = { "call vimtex#fzf#run()", "Fzf Find" }, - i = { "VimtexInfo", "Project Information" }, - s = { "VimtexStop", "Stop Project Compilation" }, - t = { "VimtexTocToggle", "Toggle Table Of Content" }, - v = { "VimtexView", "View PDF" }, - } -end - if O.lushmode then mappings["L"] = { name = "+Lush", @@ -257,13 +217,8 @@ if O.lushmode then } end --- for _, v in pairs(O.user_which_key) do --- end for k, v in pairs(O.user_which_key) do mappings[k] = v - -- table.insert(mappings, O.user_which_key[1]) - -- print(k) - -- print(v) end local wk = require "which-key" -- cgit v1.2.3-70-g09d2