mirror of
https://github.com/stevenproctor/dotfiles.git
synced 2026-01-28 09:59:54 -06:00
neovim - project plugin and telescope updates
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
(module dotfiles.plugin.telescope
|
(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
|
(def vimgrep_arguments [:ag
|
||||||
:--nocolor
|
:--nocolor
|
||||||
@@ -11,23 +14,29 @@
|
|||||||
:--hidden
|
:--hidden
|
||||||
; "--skip-vcs-ignores"
|
; "--skip-vcs-ignores"
|
||||||
; "-g" "!.git/"
|
; "-g" "!.git/"
|
||||||
|
:--ignore
|
||||||
|
:.git
|
||||||
:--follow])
|
:--follow])
|
||||||
|
|
||||||
|
(telescope.load_extension :projects)
|
||||||
(telescope.setup {:defaults {: vimgrep_arguments}
|
(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 :ff "Telescope git_files hidden=true")
|
||||||
(util.lnnoremap :f- "Telescope find_files")
|
(util.lnnoremap :f- "Telescope find_files")
|
||||||
(util.lnnoremap :fg "Telescope live_grep")
|
(util.lnnoremap :fg "Telescope live_grep")
|
||||||
(util.lnnoremap "*" "Telescope grep_string")
|
(util.lnnoremap "*" "Telescope grep_string")
|
||||||
(util.lnnoremap :fb "Telescope buffers")
|
(util.lnnoremap :fb "Telescope buffers")
|
||||||
|
(util.lnnoremap :fd "Telescope diagnostics")
|
||||||
(util.lnnoremap :fH "Telescope help_tags")
|
(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 keymaps")
|
||||||
(util.lnnoremap :fM "Telescope marks")
|
(util.lnnoremap :fM "Telescope marks")
|
||||||
(util.lnnoremap :fh "Telescope oldfiles")
|
|
||||||
(util.lnnoremap :ft "Telescope filetypes")
|
(util.lnnoremap :ft "Telescope filetypes")
|
||||||
(util.lnnoremap :fc "Telescope commands")
|
|
||||||
(util.lnnoremap :fC "Telescope command_history")
|
|
||||||
(util.lnnoremap :fq "Telescope quickfix")
|
(util.lnnoremap :fq "Telescope quickfix")
|
||||||
(util.lnnoremap :fl "Telescope loclist")
|
(util.lnnoremap :fl "Telescope loclist")
|
||||||
(util.lnnoremap :fsi "Telescope lsp_implementations")
|
(util.lnnoremap :fsi "Telescope lsp_implementations")
|
||||||
|
|||||||
@@ -21,6 +21,7 @@
|
|||||||
(def- packages {:Olical/aniseed {}
|
(def- packages {:Olical/aniseed {}
|
||||||
:Olical/conjure {:mod :conjure}
|
:Olical/conjure {:mod :conjure}
|
||||||
:Olical/fennel.vim {}
|
:Olical/fennel.vim {}
|
||||||
|
:ahmedkhalf/project.nvim {}
|
||||||
:airblade/vim-gitgutter {}
|
:airblade/vim-gitgutter {}
|
||||||
:clojure-vim/vim-jack-in {}
|
:clojure-vim/vim-jack-in {}
|
||||||
:dhruvasagar/vim-table-mode {}
|
:dhruvasagar/vim-table-mode {}
|
||||||
|
|||||||
Reference in New Issue
Block a user