minor changes xx
This commit is contained in:
parent
673c758ecb
commit
a89525b90f
@ -143,6 +143,8 @@ cmd setbg "$1"
|
||||
cmd bulkrename $vidir
|
||||
|
||||
# Bindings
|
||||
map <esc> :quit
|
||||
|
||||
map <c-f> $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
|
||||
|
||||
@ -90,7 +90,6 @@ local m_mappings = {
|
||||
local mappings = {
|
||||
a = { "<cmd>Lspsaga code_action<cr>", "Action" },
|
||||
c = { "<cmd>Bdelete<cr>", "Close Buffer" },
|
||||
C = { "<cmd>w! | !compiler %<cr>", "Compile File" },
|
||||
H = { "<cmd>split<cr>", "split" },
|
||||
h = { "<cmd>lua vim.lsp.buf.hover()<CR>", "Hover" },
|
||||
n = { "<cmd>NvimTreeToggle<cr>", "Explorer" },
|
||||
@ -103,6 +102,13 @@ local mappings = {
|
||||
["/"] = { '<cmd>lua require("Comment.api").toggle.linewise.current()<CR>', "Comment" },
|
||||
["'"] = { "<cmd>close<CR>", "Close split" },
|
||||
|
||||
C = {
|
||||
name = "Compiler",
|
||||
c = { "<cmd>w! | !compiler %<cr>", "Compile File" },
|
||||
b = { "<cmd>w! | !pandoc % -t beamer -o presentation.pdf<cr>", "Beamer Presentation" },
|
||||
|
||||
},
|
||||
|
||||
b = {
|
||||
name = "Buffer",
|
||||
b = { "<cmd>Telescope buffers<cr>", "Telescope" },
|
||||
|
||||
Loading…
Reference in New Issue
Block a user