Skip to content

Commit

Permalink
updated code according to junegunn/fzf.vim#942
Browse files Browse the repository at this point in the history
  • Loading branch information
qhadron committed Mar 11, 2020
1 parent 75b9123 commit a03fa0a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 46 deletions.
40 changes: 0 additions & 40 deletions patches/0001-add-prefer-term-option-for-vim.patch

This file was deleted.

5 changes: 1 addition & 4 deletions plugin_configs.vim
Original file line number Diff line number Diff line change
Expand Up @@ -257,11 +257,8 @@ let $FZF_DEFAULT_COMMAND = s:ag_command . ' -g ""'
" [Buffers] Jump to the existing window if possible
let g:fzf_buffers_jump = 0

" prefer to open in terminal mode in order to use terminal mode mappings
let g:fzf_prefer_term = 1

" set fzf layout (and open fzf in terminal window for the mappings)
let g:fzf_layout = {'down': '30%'}
let g:fzf_layout = {'window': 'bot'.float2nr(&lines * 0.3).'new' }

function! s:configure_fzf_window()
" decrease delay to close fzf windows after pressing <Esc>
Expand Down
3 changes: 1 addition & 2 deletions plugins.vim
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ call plug#begin($VIM_PREFIX . '/plugged')
" binary
Plug 'junegunn/fzf', {
\ 'dir': '~/.fzf',
\ 'do': './install --all; '.
\ 'git apply \"'.$VIM_PREFIX.'/patches/0001-add-prefer-term-option-for-vim.patch\";'
\ 'do': './install --all;'
\ }
" vim configs (provides Ack functionality too)
Plug 'junegunn/fzf.vim', {
Expand Down

0 comments on commit a03fa0a

Please sign in to comment.