📝 Reinstalled CtrlP, better than fzf...
This commit is contained in:
parent
190dc0f0e2
commit
a508805dcc
2 changed files with 6 additions and 1 deletions
|
|
@ -47,6 +47,7 @@ return require("packer").startup(function(use)
|
||||||
})
|
})
|
||||||
-- use({ "iamcco/markdown-preview.nvim", run = "cd app && npm install", setup = function() vim.g.mkdp_filetypes = { "markdown" } end, ft = { "markdown" }, })
|
-- use({ "iamcco/markdown-preview.nvim", run = "cd app && npm install", setup = function() vim.g.mkdp_filetypes = { "markdown" } end, ft = { "markdown" }, })
|
||||||
use({ "junegunn/fzf.vim" })
|
use({ "junegunn/fzf.vim" })
|
||||||
|
use({ "kien/ctrlp.vim"})
|
||||||
use({ "rinx/nvim-ripgrep" })
|
use({ "rinx/nvim-ripgrep" })
|
||||||
use({ "mbbill/undotree" })
|
use({ "mbbill/undotree" })
|
||||||
use({
|
use({
|
||||||
|
|
|
||||||
|
|
@ -90,6 +90,10 @@ endfunction]])
|
||||||
|
|
||||||
vim.cmd([[command! -nargs=* FZFExplore call FzfExplore(shellescape(<q-args>))]])
|
vim.cmd([[command! -nargs=* FZFExplore call FzfExplore(shellescape(<q-args>))]])
|
||||||
|
|
||||||
|
-- CtrlP will ignore .git and node_modules directories
|
||||||
|
vim.cmd([[set wildignore+=*/node_modules/*,*/.git/*]])
|
||||||
|
vim.cmd([[let g:ctrlp_custom_ignore = '\v[\/]\.(git|node_modules)']])
|
||||||
|
|
||||||
-- fzf is on bottom of screen
|
-- fzf is on bottom of screen
|
||||||
-- vim.cmd([[let g:fzf_layout = { 'down': '~30%' }]])
|
-- vim.cmd([[let g:fzf_layout = { 'down': '~30%' }]])
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue