commit 2f858a78f6a1f8933130e5e2e9e70eaedc40f702 (patch)
parent 66205b3280e755c2a955b63698540b5320d2fc57
Author: Alexander Karle <akarle@umass.edu>
Date: Sat, 16 Dec 2017 16:05:51 -0500
Added fzf for fuzzy finding
Diffstat:
2 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/README.md b/README.md
@@ -6,3 +6,4 @@ My dotfiles.
2. Set up Vundle for packages [instructions here](https://github.com/VundleVim/Vundle.vim).
3. I am using the vim-one theme [here](https://github.com/rakr/vim-one), put this in your .vim/colors folder.
4. Run :PluginInstall, and you should be good to go!
+5. I am currently using [fzf](https://github.com/junegunn/fzf.vim) for fuzzy file searching.
diff --git a/vimrc b/vimrc
@@ -65,6 +65,10 @@ Plugin 'irrationalistic/vim-tasks'
" Simple latex tools
Plugin 'lervag/vimtex'
+" fzf -- fuzzy finder
+set rtp+=/usr/local/opt/fzf
+Plugin 'junegunn/fzf.vim'
+
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
@@ -118,6 +122,7 @@ let g:syntastic_check_on_open = 0
let g:syntastic_check_on_wq = 0
let g:syntastic_python_checkers = ['flake8']
+let g:syntastic_python_flake8_post_args='--ignore=E116'
" vimtex stuff
" Set pdf viewer to sim
@@ -135,5 +140,8 @@ nnoremap <C-k> <C-w>k
nnoremap <C-h> <C-w>h
nnoremap <C-l> <C-w>l
+"Map ctrl-p to fuzzy finder
+nnoremap <C-p> :GFiles<CR>
+
" Link clipboard to mac
set clipboard=unnamed