add fzf plugin for zsh and vim
This commit is contained in:
parent
365d23825e
commit
d11f617c07
2 changed files with 18 additions and 7 deletions
24
.vimrc
24
.vimrc
|
@ -14,9 +14,6 @@ Plugin 'gmarik/Vundle.vim'
|
|||
" tmux navigator
|
||||
Plugin 'christoomey/vim-tmux-navigator'
|
||||
|
||||
" vim gitgutter
|
||||
Plugin 'airblade/vim-gitgutter'
|
||||
|
||||
" syntax highlighting
|
||||
Plugin 'vim-syntastic/syntastic'
|
||||
|
||||
|
@ -26,18 +23,24 @@ Plugin 'davidhalter/jedi-vim'
|
|||
" winresizer
|
||||
Plugin 'simeji/winresizer'
|
||||
|
||||
" color schemes
|
||||
Plugin 'flazz/vim-colorschemes'
|
||||
|
||||
" nert-tree
|
||||
Plugin 'scrooloose/nerdtree'
|
||||
|
||||
" fzf plugin
|
||||
Plugin 'junegunn/fzf.vim'
|
||||
|
||||
" git
|
||||
Plugin 'tpope/vim-fugitive'
|
||||
|
||||
" vim gitgutter
|
||||
Plugin 'airblade/vim-gitgutter'
|
||||
|
||||
" latex
|
||||
Plugin 'lervag/vimtex'
|
||||
|
||||
" color schemes
|
||||
Plugin 'flazz/vim-colorschemes'
|
||||
|
||||
" powerline
|
||||
Plugin 'vim-airline/vim-airline'
|
||||
Plugin 'vim-airline/vim-airline-themes'
|
||||
|
@ -108,7 +111,7 @@ set foldmethod=indent
|
|||
set foldlevel=99
|
||||
|
||||
" remap code folding
|
||||
nnoremap <leader>f za
|
||||
nnoremap <leader>g za
|
||||
|
||||
" html css js indents
|
||||
au BufNewFile,BufRead *.js, *.html, *.css
|
||||
|
@ -136,3 +139,10 @@ augroup VimDiff
|
|||
autocmd!
|
||||
autocmd VimEnter,FilterWritePre * if &diff | GitGutterDisable | endif
|
||||
augroup END
|
||||
|
||||
" fzf setup
|
||||
nmap <C-z> :Buffers<CR>
|
||||
nmap <Leader>f :Files<CR>
|
||||
nmap <Leader>r :Tags<CR>
|
||||
let g:fzf_buffers_jump = 1
|
||||
|
||||
|
|
1
.zshrc
1
.zshrc
|
@ -61,6 +61,7 @@ plugins=(
|
|||
git
|
||||
pip
|
||||
screen
|
||||
fzf
|
||||
)
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
|
Loading…
Add table
Reference in a new issue