Commit Graph

128 Commits (6c0fd7f9ca663f2057a114f1aa86bfe5f6a78c68)

Author SHA1 Message Date
Jan Edmund Lazo 6c0fd7f9ca
[vim] FZF command to handle Windows paths with spaces
- Use noshellslash for strict path expansion in fzf#run and s:cmd
  (shellescape depends on shellslash)
- Double-quote the fzf command for cmd.exe
- Add fzf#shellescape to encapsulate the logic
- Close #786
8 years ago
Jan Edmund Lazo 42a2371d26 [vim] Use cmd.exe in Windows (#785) 8 years ago
Daniel Hahler 847c512539 s:execute_term: switch_back: check that self.pbuf exists (#776)
With a `bufhidden=wipe` buffer (e.g. vim-startify) the buffer would not
exist anymore, resulting in an error.
8 years ago
Marco Hinz 8a502af4c1 Neovim: event handlers always expect three arguments (#768) 8 years ago
Junegunn Choi c60bfb2b0f
[neovim] Keep alternate file unchanged
Close https://github.com/junegunn/fzf.vim/issues/265
8 years ago
Junegunn Choi ab9ae4f643
[vim] Fix path display in FZF when cwd is ~ 8 years ago
Junegunn Choi d9a51030ea
[vim] Display relative path in prompt 8 years ago
Junegunn Choi 37f2d8f795
[vim] Respect g:fzf_colors
Close #711
8 years ago
Junegunn Choi 9b9ad39143
[vim] Set g:loaded_fzf 8 years ago
Junegunn Choi 053af9a1c8
[fzf-tmux/vim/nvim] Do not split small window
Close #699
8 years ago
Junegunn Choi 01b88539ba
[vim] Apply --multi and --prompt to :FZF command 8 years ago
Junegunn Choi d87390934e
[neovim] Do not resize if the size of the screen has changed
Related #642
8 years ago
Joshua Rubin f025602841
[vim] Reset window sizes on close
Fix #520
Fix junegunn/fzf.vim#42
8 years ago
Junegunn Choi f958c9daf5
[vim] Tilde prefix is not allowed for `left` or `right` layout 8 years ago
Junegunn Choi 3e88849386
[vim] Fix "E706: Variable type mismatch for: arg" 8 years ago
Junegunn Choi 62f6ff9d6c
[vim] Make arguments to fzf#wrap() optional
fzf#wrap([name string,] [opts dict,] [fullscreen boolean])
8 years ago
Junegunn Choi 7cef92fffe
[vim] Delete fzf buffer even when exit status is non-zero
Fix #183
8 years ago
Junegunn Choi 42e4992f06
[vim] Make sure to delete fzf buffer
Close junegunn/fzf.vim#173 and #630
8 years ago
Kassio Borges 27444d6b1e Remove `name` option from `termopen`.
`termopen` no longer accepts a `name` option, instead we should suffix the
command with `;#NAME`.
8 years ago
Junegunn Choi d6a99c0391
[vim] v:shell_error can change around redraw!
Patch suggested by Mariusz Atamańczuk
8 years ago
Junegunn Choi f787f7e651
[vim] Add fzf#wrap helper function
Close #627
8 years ago
Junegunn Choi a7c9c08371
[vim] Make :FZF command configurable with g:fzf_layout
To make it consistent with the other commands in fzf.vim
8 years ago
Junegunn Choi a1049328d6
[vim] Adjust split size when --header option is set
Close #622
8 years ago
Junegunn Choi 5c2b96bd00
[vim] Fix error with multi-line $FZF_DEFAULT_COMMAND
Close #620
8 years ago
Junegunn Choi 942ba749c7
[vim] Restore working directory even when new window is opened
Close #612
8 years ago
Edgar Hipp fe5db5aadc Add fzf_prefer_tmux option 8 years ago
Junegunn Choi 1c86aaf342
[vim/fzf-tmux] Handle fzf project directory with spaces
Close #583
8 years ago
Junegunn Choi 412c211655
[vim] Use lcd instead of chdir
https://github.com/junegunn/fzf.vim/issues/147
8 years ago
Junegunn Choi 0231617857 [neovim] Fix issues with `enew` and `tabnew` layouts
Related: #559
8 years ago
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