Add telescope

This commit is contained in:
Devon Tingley 2022-07-06 08:00:03 -04:00
parent ea5bb76769
commit 95988b96a7
2 changed files with 13 additions and 1 deletions

View file

@ -1,6 +1,8 @@
# This file contains fish universal variable definitions.
# VERSION: 3.0
SETUVAR __fish_initialized:3400
SETUVAR _fisher_danhper_2F_fish_2D_ssh_2D_agent_files:/home/digyx/\x2econfig/fish/functions/__ssh_agent_is_started\x2efish\x1e/home/digyx/\x2econfig/fish/functions/__ssh_agent_start\x2efish\x1e/home/digyx/\x2econfig/fish/conf\x2ed/fish\x2dssh\x2dagent\x2efish
SETUVAR _fisher_plugins:danhper/fish\x2dssh\x2dagent
SETUVAR fish_color_autosuggestion:585858
SETUVAR fish_color_cancel:\x2dr
SETUVAR fish_color_command:a1b56c

View file

@ -7,6 +7,10 @@ call plug#begin('~/.local/share/nvim/plugged')
Plug 'mattn/emmet-vim'
Plug 'sheerun/vim-polyglot'
Plug 'preservim/nerdtree'
Plug 'nvim-lua/plenary.nvim'
Plug 'nvim-telescope/telescope.nvim'
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
Plug 'kyazdani42/nvim-web-devicons'
call plug#end()
"Theme
@ -19,7 +23,7 @@ set splitright splitbelow
set scrolloff=10
tnoremap <Esc> <C-\><C-n>
nmap <C-f> :NERDTreeToggle<CR>
nmap <C-f> :NERDTree<CR>
let NERDTreeQuitOnOpen=3
command TMK w | call system("latexmk -pdf " . expand("%")) | call system("latexmk -c")
@ -51,6 +55,12 @@ nmap gt <Plug>(coc-type-definition)
nmap gi <Plug>(coc-implementation)
nmap gr <Plug>(coc-references)
" Telescope
nnoremap <leader>ff <cmd>Telescope find_files<cr>
nnoremap <leader>fg <cmd>Telescope live_grep<cr>
nnoremap <leader>fb <cmd>Telescope buffers<cr>
nnoremap <leader>fh <cmd>Telescope help_tags<cr>
" Diagnostic navigation
nmap <silent> [d <Plug>(coc-diagnostic-prev)
nmap <silent> ]d <Plug>(coc-diagnostic-next)