new file browser for neovim telescope.
This commit is contained in:
parent
eb6428a51b
commit
51a5135297
|
@ -92,7 +92,7 @@ vim.cmd 'colorscheme moonfly'
|
||||||
--open nvim-tree with leader+t
|
--open nvim-tree with leader+t
|
||||||
map('n', '<leader>t', ':NvimTreeToggle<CR>', opts)
|
map('n', '<leader>t', ':NvimTreeToggle<CR>', opts)
|
||||||
--telescope stuff
|
--telescope stuff
|
||||||
map('n', '<leader>ff', ':Telescope file_browser<CR>', opts)
|
map('n', '<leader>ff', ':lua require "telescope".extensions.file_browser.file_browser()<CR>', opts)
|
||||||
map('n', '<leader>fg', ':Telescope live_grep<CR>', opts)
|
map('n', '<leader>fg', ':Telescope live_grep<CR>', opts)
|
||||||
map('n', '<leader>fb', ':Telescope buffers<CR>', opts)
|
map('n', '<leader>fb', ':Telescope buffers<CR>', opts)
|
||||||
map('n', '<leader>fm', ':Telescope marks<CR>', opts)
|
map('n', '<leader>fm', ':Telescope marks<CR>', opts)
|
||||||
|
|
|
@ -109,6 +109,7 @@ return require('packer').startup(function(use)
|
||||||
{'nvim-treesitter/nvim-treesitter'},
|
{'nvim-treesitter/nvim-treesitter'},
|
||||||
{'nvim-telescope/telescope-fzf-native.nvim', run = 'make' },
|
{'nvim-telescope/telescope-fzf-native.nvim', run = 'make' },
|
||||||
{'nvim-telescope/telescope-symbols.nvim'},
|
{'nvim-telescope/telescope-symbols.nvim'},
|
||||||
|
{'https://github.com/nvim-telescope/telescope-file-browser.nvim'},
|
||||||
},
|
},
|
||||||
config=function()
|
config=function()
|
||||||
require'telescope'.load_extension('fzf')
|
require'telescope'.load_extension('fzf')
|
||||||
|
|
Loading…
Reference in a new issue