telescope image preview
This commit is contained in:
parent
f5ebf24fca
commit
601be3a2ff
@ -20,5 +20,5 @@ Plug 'ryanoasis/vim-devicons'
|
|||||||
Plug 'tpope/vim-surround'
|
Plug 'tpope/vim-surround'
|
||||||
Plug 'nvim-lua/popup.nvim'
|
Plug 'nvim-lua/popup.nvim'
|
||||||
Plug 'nvim-telescope/telescope.nvim'
|
Plug 'nvim-telescope/telescope.nvim'
|
||||||
"Plug 'nvim-telescope/telescope-media-files.nvim'
|
Plug 'nvim-telescope/telescope-media-files.nvim'
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
@ -52,7 +52,7 @@ require('telescope').setup{
|
|||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
--[[
|
|
||||||
|
|
||||||
extensions = {
|
extensions = {
|
||||||
media_files = {
|
media_files = {
|
||||||
@ -61,17 +61,16 @@ require('telescope').setup{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
-- ]]
|
|
||||||
}
|
}
|
||||||
|
|
||||||
-- require('telescope').load_extension('media_files')
|
require('telescope').load_extension('media_files')
|
||||||
-- require('telescope').extensions.media_files.media_files()
|
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
" telescope mappings
|
" telescope mappings
|
||||||
nnoremap <leader>ff <cmd>lua require('telescope.builtin').find_files()<cr>
|
nnoremap <leader>ff <cmd>lua require('telescope.builtin').find_files()<cr>
|
||||||
nnoremap <leader>fg <cmd>lua require('telescope.builtin').live_grep()<cr>
|
"nnoremap <leader>fg <cmd>lua require('telescope.builtin').live_grep()<cr>
|
||||||
|
nnoremap <leader>fg <cmd>lua require('telescope').extensions.media_files.media_files()<cr>
|
||||||
nnoremap <leader>fb <cmd>lua require('telescope.builtin').buffers()<cr>
|
nnoremap <leader>fb <cmd>lua require('telescope.builtin').buffers()<cr>
|
||||||
nnoremap <leader>fh <cmd>lua require('telescope.builtin').help_tags()<cr>
|
nnoremap <leader>fh <cmd>lua require('telescope.builtin').help_tags()<cr>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user