mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-25 21:52:23 +00:00
more telescope stuff
This commit is contained in:
parent
c786d0a3a7
commit
9ca125a81c
4 changed files with 12 additions and 5 deletions
|
@ -38,8 +38,8 @@
|
||||||
"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" "Open file-browser")
|
"P" (cmd "Telescope frecency frecency default_text=:CWD:" "Open file-browser")
|
||||||
;"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")
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@
|
||||||
"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" (cmd "Lspsaga signature_help" "Show signature help")
|
||||||
"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")
|
||||||
|
@ -59,6 +59,7 @@
|
||||||
"r" (cmd "Trouble lsp_references" "Show references")
|
"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"]
|
||||||
"g" [vim.lsp.buf.definition "Go to definition"]
|
"g" [vim.lsp.buf.definition "Go to definition"]
|
||||||
"i" [vim.lsp.buf.implementation "Show implementation"]
|
"i" [vim.lsp.buf.implementation "Show implementation"]
|
||||||
"f" [format "format file"]
|
"f" [format "format file"]
|
||||||
|
|
|
@ -114,6 +114,7 @@
|
||||||
|
|
||||||
:sbdchd/neoformat {}
|
:sbdchd/neoformat {}
|
||||||
|
|
||||||
|
|
||||||
;; --------------------
|
;; --------------------
|
||||||
|
|
||||||
:AndrewRadev/splitjoin.vim {}
|
:AndrewRadev/splitjoin.vim {}
|
||||||
|
@ -166,7 +167,9 @@
|
||||||
:vmchale/ats-vim {:ft ["ats" "dats" "sats"]}
|
:vmchale/ats-vim {:ft ["ats" "dats" "sats"]}
|
||||||
:google/vim-jsonnet {}
|
:google/vim-jsonnet {}
|
||||||
|
|
||||||
:bakpakin/fennel.vim {})
|
:bakpakin/fennel.vim {}
|
||||||
|
|
||||||
|
:evanleck/vim-svelte {})
|
||||||
|
|
||||||
|
|
||||||
; >>>
|
; >>>
|
||||||
|
|
|
@ -65,6 +65,7 @@
|
||||||
(init-lsp :erlangls)
|
(init-lsp :erlangls)
|
||||||
(init-lsp :yamlls)
|
(init-lsp :yamlls)
|
||||||
(init-lsp :html)
|
(init-lsp :html)
|
||||||
|
(init-lsp :svelte)
|
||||||
;(init-lsp :clangd)
|
;(init-lsp :clangd)
|
||||||
;(init-lsp :ccls)
|
;(init-lsp :ccls)
|
||||||
(init-lsp :cssls {:filestypes ["css" "scss" "less" "stylus"]
|
(init-lsp :cssls {:filestypes ["css" "scss" "less" "stylus"]
|
||||||
|
|
|
@ -4,7 +4,9 @@
|
||||||
actions telescope.actions}})
|
actions telescope.actions}})
|
||||||
|
|
||||||
(telescope.setup
|
(telescope.setup
|
||||||
{:defaults {:mappings {:i {:<esc> actions.close}}}})
|
{:defaults {:mappings {:i {:<esc> actions.close}}
|
||||||
|
:file_ignore_patterns ["Cargo.lock" ".*.snap" "docs/theme/.*"]}
|
||||||
|
:extensions {:frecency {:persistent_filter false}}})
|
||||||
|
|
||||||
(telescope.load_extension "frecency")
|
(telescope.load_extension "frecency")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue