Commit Graph

99 Commits (7f64fba80fd4a888adb9b279672ede7291525d5a)

Author SHA1 Message Date
Junegunn Choi 095f31b316 [vim] Explicitly set source to FZF_DEFAULT_COMMAND
Helps when your `$SHELL` is slow.

Close #552.
8 years ago
Junegunn Choi 654a7df9b0 [neovim] Set bufhidden and nobuflisted after opening terminal 8 years ago
Junegunn Choi e867355b2a [neovim] Restore winfixwidth and winfixheight
Fix https://github.com/junegunn/fzf.vim/issues/128
8 years ago
Junegunn Choi e5ac2ebd7c [vim] Escape $
https://github.com/junegunn/fzf.vim/issues/114
8 years ago
Junegunn Choi f704b94603 [neovim] Open tab before current tab
Related: https://github.com/junegunn/gv.vim/issues/19
8 years ago
Junegunn Choi 3073ca3e5a [neovim] Take total number of tab pages into account (#520)
This fixes the problem where a new tab page is not closed when the
following configuration is used:

  let g:fzf_layout = { 'window': 'execute (tabpagenr()-1)."tabnew"' }
8 years ago
Justin M. Keyes a7bc9d5351 s:callback: Always return list.
Fixes "E706: Variable type mismatch for: ret" when an exception is
caught.
8 years ago
Junegunn Choi 2b3e740569 [neovim] Fix error in finally block when callback failed
e.g. Opening another buffer when `set nohidden`

https://github.com/junegunn/fzf.vim/issues/77
8 years ago
Junegunn Choi 0f281ef894 [vim] Try to make 'dir' option compatible with &autochdir
When 'dir' option is passed to fzf#run(), the current working directory
is temporarily changed to the given directory, and restored at the end.
However, this behavior is not compatible with &autochdir. This commit
introduces a heuristic to determine whether or not to restore the
previous working directory.

Related: https://github.com/junegunn/fzf.vim/issues/70
9 years ago
Junegunn Choi b18db4733c [vim] Do not restore working directory on unexpected cwd
We should not restore the previous working directory if the current
directory has changed somehow. This can happen when &autochdir is set.
9 years ago
Junegunn Choi 6e08fe337c [nvim] setlocal nospell on terminal buffer
Close #469. `setlocal nospell` should appear before `setf fzf` to allow
customization of the option.
9 years ago
Junegunn Choi b5850ebd4c [vim] Open selected file in the current window if it's empty
Close #451
9 years ago
Pokey Rule d513a210c6 Support fzf-tmux when zoomed 9 years ago
Junegunn Choi 5769d3867d [nvim] setf fzf 9 years ago
Jacob Niehus ed893c5f47 Trigger netrw autocommand when opening directory 9 years ago
Justin M. Keyes c4e5ee63bb [vim] handle SwapExists
The SwapExists dialog prevents multiple files from being opening if the
dialog occurs before all files are opened. Opening the files is more
important than showing the dialog, so choose "readonly" automatically
and continue opening files.
9 years ago
Junegunn Choi 862da2c0b1 [vim] Consistent exit status handling 9 years ago
James Baumgarten 59220c63a6 [vim] handle exit status 1 properly (#359) 9 years ago
Junegunn Choi 86306dd45a [vim] Display proper error message when GVim launcher failed
Related: https://github.com/junegunn/fzf.vim/issues/16
9 years ago
Junegunn Choi aec48f159b [neovim] Remove redraw! hack that is no longer needed 9 years ago
Junegunn Choi 5a60aa5050 [vim] Display proper error message when command failed 9 years ago
Junegunn Choi ca19762e58 Exit status 130 when fzf is terminated by the user
Related: #345
9 years ago
Junegunn Choi 8764be07e2 [vim] Ignore exit status of 2 (#345) 9 years ago
Junegunn Choi ac160f98a8 [gvim] Fix #342 - Should not escape launcher part of the command 9 years ago
Junegunn Choi 62e01a2a62 [vim] Escape newline character when running fzf with :!
Fixes Helptags! command from fzf.vim
9 years ago
Junegunn Choi 698e8008df [vim] Dynamic height specification for 'up' and 'down' options
Values for 'up' and 'down' can be written with ~ prefix. Only applies
when the source is a Vim list.

    e.g. { 'source': range(10), 'down': '~40%' }
9 years ago
Junegunn Choi 8fb31e1b4d [vim] Escape % and # when running source command with :! 9 years ago
Junegunn Choi 55d566b72f Revert "[vim] Open silently"
This reverts commit c601fc6437.
9 years ago
Junegunn Choi 7ae877bd3a [vim] Handle single/double quote characters in 'dir' option 9 years ago
Junegunn Choi c601fc6437 [vim] Open silently 9 years ago
Junegunn Choi e5fec408c4 [vim] tab split instead of tabedit 9 years ago
Junegunn Choi 0b4542fcdf [vim] Temporarily disable &autochdir when opening files (#306) 9 years ago
Junegunn Choi fcae99f09b No need to "tmux list-panes" when obviously not on tmux (#303) 9 years ago
Junegunn Choi fb1b026d3d Always check if the pane is zoomed
Close #303
9 years ago
Junegunn Choi 9f953fc944 Do not use tmux pane if the current pane is zoomed
Close #303
9 years ago
Junegunn Choi 11db046fc7 [neovim] Fix #281 - Properly close window with winnr 1 9 years ago
Junegunn Choi 355d004895 [neovim] Fix error with {'window': 'enew'} (#274) 9 years ago
Kassio Borges 9f33068ab3 Avoid conflict with other neoterm plugins.
To avoid conflict with other neoterm plugins that manage terminals,
prefer named terminals.
9 years ago
Junegunn Choi 34e5e2dd82 [vim] Use close+bufhidden=wipe instead of bd 9 years ago
Junegunn Choi 2b7c3df66b [neovim] Check tabpagenr() as well 9 years ago
Junegunn Choi f766531e74 [neovim] Make sure that fzf buffer is closed (#225)
- bd! leaves the window open when there's no other listed buffer
- redraw! seems to help avoid Neovim issues.
9 years ago
Junegunn Choi 7f59b42b05 [vim] Escape % # \ 9 years ago
Junegunn Choi f41de932d6 [vim] Refocus MacVim window 9 years ago
Junegunn Choi 0937bd6c16 [vim] Improve binary detection
/cc @alerque

- Ask for user confirmation before running `install --bin`
- Removed `s:fzf_rb` since `install --bin` will create a wrapper
  executable that just runs Ruby version on the platforms where prebuilt
  binaries are not available.
9 years ago
Junegunn Choi 3d26b5336c [vim] Fix #220 - Prevent error after update 9 years ago
Junegunn Choi 09d0ac0347 [vim] Update default launcher for GVim (#212)
Code submitted by @lydell
9 years ago
Junegunn Choi 857619995e [vim] Ignore E325 (#213) 9 years ago
Junegunn Choi 9310ae28ab [vim] Redraw screen after running fzf on tmux pane (#213) 9 years ago
Junegunn Choi 27e26bd1ea [vim] Add g:Fzf_launcher for funcrefs (#212) 9 years ago
Junegunn Choi 917b1759b0 [fzf-tmux/vim] Fixes for fish (#204) 9 years ago