Switch to telescope

This commit is contained in:
Daniel Lynn 2021-08-06 12:49:41 -05:00
parent 4ecb1a5f66
commit 71886e9815
Signed by: daniel
GPG Key ID: 28496A140E180A9D
2 changed files with 23 additions and 15 deletions

View File

@ -1,16 +1,14 @@
" Assorted plugins " Assorted plugins
Plug 'cespare/vim-toml' Plug 'cespare/vim-toml', { 'for': 'toml' }
Plug 'ctrlpvim/ctrlp.vim'
Plug 'honza/vim-snippets' Plug 'honza/vim-snippets'
Plug 'jiangmiao/auto-pairs' Plug 'jiangmiao/auto-pairs'
Plug 'leafgarland/typescript-vim' Plug 'leafgarland/typescript-vim', { 'for': 'typescript' }
Plug 'mileszs/ack.vim' Plug 'posva/vim-vue', { 'for': 'vue' }
Plug 'posva/vim-vue' Plug 'ron-rs/ron.vim', { 'for': 'ron' }
Plug 'ron-rs/ron.vim'
Plug 'tommcdo/vim-exchange' Plug 'tommcdo/vim-exchange'
Plug 'tpope/vim-fugitive' Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-projectionist' Plug 'tpope/vim-projectionist'
Plug 'tpope/vim-rails' Plug 'tpope/vim-rails', { 'for': 'ruby' }
Plug 'tpope/vim-repeat' Plug 'tpope/vim-repeat'
Plug 'tpope/vim-surround' Plug 'tpope/vim-surround'
Plug 'vim-test/vim-test' Plug 'vim-test/vim-test'
@ -29,14 +27,19 @@ Plug 'itchyny/lightline.vim' |
" \ Plug 'edkolev/tmuxline.vim' " \ Plug 'edkolev/tmuxline.vim'
" NerdTree " NerdTree
Plug 'preservim/nerdtree' | Plug 'preservim/nerdtree', { 'on': 'NERDTreeToggle' } |
\ Plug 'Xuyuanp/nerdtree-git-plugin' | \ Plug 'Xuyuanp/nerdtree-git-plugin', { 'on': 'NERDTreeToggle' } |
\ Plug 'ryanoasis/vim-devicons' | \ Plug 'ryanoasis/vim-devicons' |
\ Plug 'tiagofumo/vim-nerdtree-syntax-highlight' \ Plug 'tiagofumo/vim-nerdtree-syntax-highlight', { 'on': 'NERDTreeToggle' }
" Vim-Markdown " Vim-Markdown
Plug 'godlygeek/tabular' | Plug 'godlygeek/tabular' |
\ Plug 'plasticboy/vim-markdown' \ Plug 'plasticboy/vim-markdown', { 'for': 'markdown' }
" Telescope
Plug 'nvim-lua/popup.nvim'
Plug 'nvim-lua/plenary.nvim'
Plug 'nvim-telescope/telescope.nvim'
" sonokai colorscheme + supporting plugins " sonokai colorscheme + supporting plugins
Plug 'sainnhe/sonokai' | Plug 'sainnhe/sonokai' |

13
vimrc
View File

@ -54,6 +54,11 @@ let &t_SI = "\<Esc>[6 q"
let &t_SR = "\<Esc>[4 q" let &t_SR = "\<Esc>[4 q"
let &t_EI = "\<Esc>[0 q" let &t_EI = "\<Esc>[0 q"
if executable('rg')
" Use rg over grep
set grepprg=rg\ --color\ never
endif
" Plugins " Plugins
call plug#begin('~/.vim/plugged') call plug#begin('~/.vim/plugged')
if filereadable(expand("~/.config/nvim/plugins.vimrc")) if filereadable(expand("~/.config/nvim/plugins.vimrc"))
@ -91,9 +96,9 @@ if filereadable(expand("~/.config/nvim/nerdtree.vimrc"))
source ~/.config/nvim/nerdtree.vimrc source ~/.config/nvim/nerdtree.vimrc
endif endif
" Ack setup " Telescope setup
if filereadable(expand("~/.config/nvim/ack.vimrc")) if filereadable(expand("~/.config/nvim/telescope.vimrc"))
source ~/.config/nvim/ack.vimrc source ~/.config/nvim/telescope.vimrc
endif endif
" Test setup " Test setup
@ -101,7 +106,7 @@ if filereadable(expand("~/.config/nvim/test.vimrc"))
source ~/.config/nvim/test.vimrc source ~/.config/nvim/test.vimrc
endif endif
" Goyo setup " Markdown setup
if filereadable(expand("~/.config/nvim/markdown.vimrc")) if filereadable(expand("~/.config/nvim/markdown.vimrc"))
source ~/.config/nvim/markdown.vimrc source ~/.config/nvim/markdown.vimrc
endif endif