Add back telescope
This commit is contained in:
parent
cf3195bf23
commit
578f785262
@ -5,6 +5,7 @@ Plug 'jiangmiao/auto-pairs'
|
||||
Plug 'leafgarland/typescript-vim', { 'for': 'typescript' }
|
||||
Plug 'leafoftree/vim-svelte-plugin', { 'for': 'svelte' }
|
||||
Plug 'lukas-reineke/indent-blankline.nvim'
|
||||
Plug 'nvim-lua/plenary.nvim'
|
||||
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
|
||||
Plug 'posva/vim-vue', { 'for': 'vue' }
|
||||
Plug 'ron-rs/ron.vim', { 'for': 'ron' }
|
||||
@ -27,8 +28,10 @@ Plug 'neovim/nvim-lspconfig' |
|
||||
\ Plug 'rafamadriz/friendly-snippets'
|
||||
|
||||
" Gitsigns
|
||||
Plug 'nvim-lua/plenary.nvim' |
|
||||
\ Plug 'lewis6991/gitsigns.nvim'
|
||||
Plug 'lewis6991/gitsigns.nvim'
|
||||
|
||||
" Telescope
|
||||
Plug 'nvim-telescope/telescope.nvim'
|
||||
|
||||
" Lightline
|
||||
Plug 'itchyny/lightline.vim' |
|
||||
|
4
nvim/telescope.vimrc
Normal file
4
nvim/telescope.vimrc
Normal file
@ -0,0 +1,4 @@
|
||||
nnoremap <leader>ff <cmd>lua require('telescope.builtin').find_files()<cr>
|
||||
nnoremap <leader>fg <cmd>lua require('telescope.builtin').live_grep()<cr>
|
||||
nnoremap <leader>fb <cmd>lua require('telescope.builtin').buffers()<cr>
|
||||
nnoremap <leader>fh <cmd>lua require('telescope.builtin').help_tags()<cr>
|
5
vimrc
5
vimrc
@ -88,6 +88,11 @@ if filereadable(expand("~/.config/nvim/gitsigns.vimrc"))
|
||||
source ~/.config/nvim/gitsigns.vimrc
|
||||
endif
|
||||
|
||||
" Telescope setup
|
||||
if filereadable(expand("~/.config/nvim/telescope.vimrc"))
|
||||
source ~/.config/nvim/telescope.vimrc
|
||||
endif
|
||||
|
||||
" Lightline setup
|
||||
if filereadable(expand("~/.config/nvim/lightline.vimrc"))
|
||||
source ~/.config/nvim/lightline.vimrc
|
||||
|
Loading…
x
Reference in New Issue
Block a user