neovim - project plugin and telescope updates

This commit is contained in:
2023-04-18 19:14:25 -05:00
parent 9a302cb6c2
commit fa7904e131
2 changed files with 15 additions and 5 deletions

View File

@@ -1,5 +1,8 @@
(module dotfiles.plugin.telescope
{autoload {nvim aniseed.nvim util dotfiles.util telescope telescope}})
{autoload {nvim aniseed.nvim
util dotfiles.util
telescope telescope
project-nvim project_nvim}})
(def vimgrep_arguments [:ag
:--nocolor
@@ -11,23 +14,29 @@
:--hidden
; "--skip-vcs-ignores"
; "-g" "!.git/"
:--ignore
:.git
:--follow])
(telescope.load_extension :projects)
(telescope.setup {:defaults {: vimgrep_arguments}
:pickers {:buffers {:mappings {:n {:d :delete_buffer}}}}})
:pickers {:buffers {:mappings {:n {:d :delete_buffer}}}}
:extensions {:projects {:projects {}}}})
(util.lnnoremap :fc "Telescope commands")
(util.lnnoremap :fC "Telescope command_history")
(util.lnnoremap :ff "Telescope git_files hidden=true")
(util.lnnoremap :f- "Telescope find_files")
(util.lnnoremap :fg "Telescope live_grep")
(util.lnnoremap "*" "Telescope grep_string")
(util.lnnoremap :fb "Telescope buffers")
(util.lnnoremap :fd "Telescope diagnostics")
(util.lnnoremap :fH "Telescope help_tags")
(util.lnnoremap :fh "Telescope oldfiles")
(util.lnnoremap :fp "Telescope projects")
(util.lnnoremap :fm "Telescope keymaps")
(util.lnnoremap :fM "Telescope marks")
(util.lnnoremap :fh "Telescope oldfiles")
(util.lnnoremap :ft "Telescope filetypes")
(util.lnnoremap :fc "Telescope commands")
(util.lnnoremap :fC "Telescope command_history")
(util.lnnoremap :fq "Telescope quickfix")
(util.lnnoremap :fl "Telescope loclist")
(util.lnnoremap :fsi "Telescope lsp_implementations")

View File

@@ -21,6 +21,7 @@
(def- packages {:Olical/aniseed {}
:Olical/conjure {:mod :conjure}
:Olical/fennel.vim {}
:ahmedkhalf/project.nvim {}
:airblade/vim-gitgutter {}
:clojure-vim/vim-jack-in {}
:dhruvasagar/vim-table-mode {}