From b2986af869a01e9146f00a6430cda4ad334cb8f0 Mon Sep 17 00:00:00 2001 From: Solomon Laing Date: Mon, 9 Jan 2023 21:58:18 +1030 Subject: [PATCH] minor updates --- .config/nvim/lua/chris/whichkey.lua | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.config/nvim/lua/chris/whichkey.lua b/.config/nvim/lua/chris/whichkey.lua index 0a20036..cba2dfd 100644 --- a/.config/nvim/lua/chris/whichkey.lua +++ b/.config/nvim/lua/chris/whichkey.lua @@ -86,17 +86,17 @@ local m_mappings = { s = { "Telescope harpoon marks", "Search Files" }, u = { 'lua require("harpoon.ui").toggle_quick_menu()', "Harpoon UI" }, - ['1'] = { ' lua require("harpoon.ui").nav_file(1)', 'Goto 1' }, - ['2'] = { ' lua require("harpoon.ui").nav_file(2)', 'Goto 2' }, - ['3'] = { ' lua require("harpoon.ui").nav_file(3)', 'Goto 3' }, - ['4'] = { ' lua require("harpoon.ui").nav_file(4)', 'Goto 4' }, + ["1"] = { ' lua require("harpoon.ui").nav_file(1)', "Goto 1" }, + ["2"] = { ' lua require("harpoon.ui").nav_file(2)', "Goto 2" }, + ["3"] = { ' lua require("harpoon.ui").nav_file(3)', "Goto 3" }, + ["4"] = { ' lua require("harpoon.ui").nav_file(4)', "Goto 4" }, } local mappings = { a = { "Lspsaga code_action", "Action" }, c = { "Bdelete", "Close Buffer" }, H = { "split", "split" }, - h = { "lua vim.lsp.buf.hover()", "Hover" }, + h = { "lua vim.lsp.buf.hover()", "Hover" }, n = { "NvimTreeToggle", "Explorer" }, O = { "setlocal spell! spelllang=en_us", "Toggle Spelling" }, P = { "!opout %", "Preview Document" }, @@ -106,14 +106,13 @@ local mappings = { z = { "ZenMode", "Zen" }, ["/"] = { 'lua require("Comment.api").toggle.linewise.current()', "Comment" }, ["'"] = { "close", "Close split" }, - u = { 'UndoTreeToggle', 'Undo Tree' }, + u = { "UndoTreeToggle", "Undo Tree" }, C = { - name = "Compiler", - c = { "w! | !compiler %", "Compile File" }, - b = { "w! | !pandoc % -t beamer -o presentation.pdf", "Beamer Presentation" }, - - }, + name = "Compiler", + c = { "w! | !compiler %", "Compile File" }, + b = { "w! | !pandoc % -t beamer -o presentation.pdf", "Beamer Presentation" }, + }, b = { name = "Buffer",