{ vim.keybindings = { leader = " "; which-key-nvim = true; # Documented keybindings accessible via SPC keybindings."" = { ### LaTeX commands l = { # name = "LaTeX"; l = { command = "VimtexCompile"; label = "Compile"; }; c = { command = "VimtexCountWords"; label = "Count Words"; }; e = { command = "VimtexErrors"; label = "Open Errors"; }; v = { command = "VimtexView"; label = "View"; }; p = { command = "lua require'mdpreview'.open_preview()"; label = "Pandoc View"; }; }; ### Git commands v = { # name = "git"; v = { command = "Telescope git_bcommits"; label = "Buffer Commits"; }; h = { command = "Telescope git_commits"; label = "Commits"; }; b = { command = "Telescope git_branches"; label = "Branches"; }; s = { command = "Telescope git_status"; label = "Status"; }; }; ### Documentation commands d = { # name = "docs"; v = { command = "Telescope help_tags"; label = "Vim"; }; m = { command = "Telescope man_pages"; label = "Man"; }; }; ### Miscellaneous ";" = { mode = ""; command = "NERDCommenterToggle"; label = "Toggle Comment"; }; }; # Quick and dirty general keybindings keybindings-shortened = { k = {command = "gk";}; j = {command = "gj";}; "0" = {command = "g0";}; "$" = {command = "g$";}; }; }; }