mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-25 21:52:23 +00:00
fix some vim keybinds and add showcase for ewwbar
This commit is contained in:
parent
03599fa7d7
commit
58db107777
2 changed files with 8 additions and 6 deletions
BIN
eww-bar/.config/eww-bar/showcase.png
Normal file
BIN
eww-bar/.config/eww-bar/showcase.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 198 KiB |
|
@ -39,7 +39,7 @@
|
||||||
"h" (cmd "bprevious" "previous buffer")
|
"h" (cmd "bprevious" "previous buffer")
|
||||||
"l" (cmd "bnext" "next buffer")
|
"l" (cmd "bnext" "next buffer")
|
||||||
"o" (cmd "Telescope live_grep" "Grep files")
|
"o" (cmd "Telescope live_grep" "Grep files")
|
||||||
"P" (cmd "Telescope frecency frecency default_text=:CWD:" "Open file-browser")
|
"P" (cmd "Telescope frecency frecency default_text=:CWD:" "Frecency magic")
|
||||||
"p" (cmd "Telescope find_files" "Open file-browser")
|
"p" (cmd "Telescope find_files" "Open file-browser")
|
||||||
":" (cmd "Telescope commands" "Search command with fzf")
|
":" (cmd "Telescope commands" "Search command with fzf")
|
||||||
"s" (cmd "w" "Save file")
|
"s" (cmd "w" "Save file")
|
||||||
|
@ -58,22 +58,24 @@
|
||||||
"i" [#(req dap.step_into) "into"]}}
|
"i" [#(req dap.step_into) "into"]}}
|
||||||
|
|
||||||
"m" {:name "+Code actions"
|
"m" {:name "+Code actions"
|
||||||
"d" (cmd "Lspsaga hover_doc" "Show documentation")
|
"d" [vim.lsp.buf.hover "Show documentation"]
|
||||||
"b" (cmd "Lspsaga lsp_finder" "Find stuff")
|
|
||||||
"x" (cmd "Lspsaga preview_definition" "Preview definition")
|
"x" (cmd "Lspsaga preview_definition" "Preview definition")
|
||||||
"o" (cmd "SymbolsOutline" "Outline")
|
"o" (cmd "SymbolsOutline" "Outline")
|
||||||
"S" (cmd "Telescope lsp_document_symbols" "Symbols in document")
|
"S" (cmd "Telescope lsp_document_symbols" "Symbols in document")
|
||||||
"s" (cmd "Telescope lsp_dynamic_workspace_symbols" "Symbols in workspace")
|
"s" (cmd "Telescope lsp_dynamic_workspace_symbols" "Symbols in workspace")
|
||||||
"T" (cmd "Lspsaga signature_help" "Show signature help")
|
"T" [vim.lsp.buf.signature_help "Show signature help"]
|
||||||
|
;"T" (cmd "Lspsaga signature_help" "Show signature help") ; lspsaga broken
|
||||||
"n" (cmd "Lspsaga rename" "Rename")
|
"n" (cmd "Lspsaga rename" "Rename")
|
||||||
"v" (cmd "Lspsaga code_action" "Apply codeaction")
|
"v" (cmd "Lspsaga code_action" "Apply codeaction")
|
||||||
"A" (cmd "Lspsaga show_cursor_diagnostics" "Cursor diagnostics")
|
"A" (cmd "Lspsaga show_cursor_diagnostics" "Cursor diagnostics")
|
||||||
"a" (cmd "Lspsaga show_line_diagnostics" "Line diagnostics")
|
"a" (cmd "Lspsaga show_line_diagnostics" "Line diagnostics")
|
||||||
"h" (cmd "RustToggleInlayHints" "Toggle inlay hints")
|
"h" (cmd "RustToggleInlayHints" "Toggle inlay hints")
|
||||||
"r" (cmd "Trouble lsp_references" "Show references")
|
"r" [vim.lsp.buf.references "Show references"] ; trouble broken?
|
||||||
|
;"r" (cmd "Trouble lsp_references" "Show references")
|
||||||
"E" (cmd "Trouble lsp_document_diagnostics" "List diagnostics")
|
"E" (cmd "Trouble lsp_document_diagnostics" "List diagnostics")
|
||||||
"e" (cmd "Trouble lsp_workspace_diagnostics" "Show diagnostics")
|
"e" (cmd "Trouble lsp_workspace_diagnostics" "Show diagnostics")
|
||||||
"t" [vim.lsp.buf.declaration "Go to declaration"]
|
"t" [vim.lsp.buf.type_definition "Go to type-definition"]
|
||||||
|
;"t" [vim.lsp.buf.declaration "Go to declaration"]
|
||||||
"g" [vim.lsp.buf.definition "Go to definition"]
|
"g" [vim.lsp.buf.definition "Go to definition"]
|
||||||
"i" (cmd "Trouble lsp_implementations" "Show implementation")
|
"i" (cmd "Trouble lsp_implementations" "Show implementation")
|
||||||
"f" [format "format file"]
|
"f" [format "format file"]
|
||||||
|
|
Loading…
Reference in a new issue