diff --git a/.config/lf/lfrc b/.config/lf/lfrc index 263d20d..e6eb764 100644 --- a/.config/lf/lfrc +++ b/.config/lf/lfrc @@ -143,6 +143,8 @@ cmd setbg "$1" cmd bulkrename $vidir # Bindings +map :quit + map $lf -remote "send $id select '$(fzf)'" map J $lf -remote "send $id cd $(sed -e 's/\s*#.*//' -e '/^$/d' -e 's/^\S*\s*//' ${XDG_CONFIG_HOME:-$HOME/.config}/shell/bm-dirs | fzf)" map gg top diff --git a/.config/nvim/lua/user/whichkey.lua b/.config/nvim/lua/user/whichkey.lua index 7eca21b..799e37c 100644 --- a/.config/nvim/lua/user/whichkey.lua +++ b/.config/nvim/lua/user/whichkey.lua @@ -90,7 +90,6 @@ local m_mappings = { local mappings = { a = { "Lspsaga code_action", "Action" }, c = { "Bdelete", "Close Buffer" }, - C = { "w! | !compiler %", "Compile File" }, H = { "split", "split" }, h = { "lua vim.lsp.buf.hover()", "Hover" }, n = { "NvimTreeToggle", "Explorer" }, @@ -103,6 +102,13 @@ local mappings = { ["/"] = { 'lua require("Comment.api").toggle.linewise.current()', "Comment" }, ["'"] = { "close", "Close split" }, + C = { + name = "Compiler", + c = { "w! | !compiler %", "Compile File" }, + b = { "w! | !pandoc % -t beamer -o presentation.pdf", "Beamer Presentation" }, + + }, + b = { name = "Buffer", b = { "Telescope buffers", "Telescope" },