Junegunn Choi
7cef92fffe
[vim] Delete fzf buffer even when exit status is non-zero
...
Fix #183
2016-08-02 03:30:17 +09:00
Junegunn Choi
42e4992f06
[vim] Make sure to delete fzf buffer
...
Close junegunn/fzf.vim#173 and #630
2016-08-02 02:25:02 +09:00
Kassio Borges
27444d6b1e
Remove name
option from termopen
.
...
`termopen` no longer accepts a `name` option, instead we should suffix the
command with `;#NAME`.
2016-07-29 11:10:46 +01:00
Junegunn Choi
d6a99c0391
[vim] v:shell_error can change around redraw!
...
Patch suggested by Mariusz Atamańczuk
2016-07-28 01:41:11 +09:00
Junegunn Choi
f787f7e651
[vim] Add fzf#wrap helper function
...
Close #627
2016-07-26 02:37:12 +09:00
Junegunn Choi
a7c9c08371
[vim] Make :FZF command configurable with g:fzf_layout
...
To make it consistent with the other commands in fzf.vim
2016-07-21 01:47:08 +09:00
Junegunn Choi
a1049328d6
[vim] Adjust split size when --header option is set
...
Close #622
2016-07-14 13:35:18 +09:00
Junegunn Choi
5c2b96bd00
[vim] Fix error with multi-line $FZF_DEFAULT_COMMAND
...
Close #620
2016-07-13 13:15:14 +09:00
Junegunn Choi
942ba749c7
[vim] Restore working directory even when new window is opened
...
Close #612
2016-07-06 13:31:04 +09:00
Edgar Hipp
fe5db5aadc
Add fzf_prefer_tmux option
2016-06-10 09:05:05 +02:00
Junegunn Choi
1c86aaf342
[vim/fzf-tmux] Handle fzf project directory with spaces
...
Close #583
2016-06-03 12:09:31 +09:00
Junegunn Choi
412c211655
[vim] Use lcd instead of chdir
...
https://github.com/junegunn/fzf.vim/issues/147
2016-06-02 22:24:47 +09:00
Junegunn Choi
0231617857
[neovim] Fix issues with enew
and tabnew
layouts
...
Related: #559
2016-04-28 01:25:24 +09:00
Junegunn Choi
095f31b316
[vim] Explicitly set source to FZF_DEFAULT_COMMAND
...
Helps when your `$SHELL` is slow.
Close #552 .
2016-04-24 18:02:01 +09:00
Junegunn Choi
654a7df9b0
[neovim] Set bufhidden and nobuflisted after opening terminal
2016-04-23 17:53:54 +09:00
Junegunn Choi
e867355b2a
[neovim] Restore winfixwidth and winfixheight
...
Fix https://github.com/junegunn/fzf.vim/issues/128
2016-04-21 00:33:30 +09:00
Junegunn Choi
e5ac2ebd7c
[vim] Escape $
...
https://github.com/junegunn/fzf.vim/issues/114
2016-04-09 21:44:07 +09:00
Junegunn Choi
f704b94603
[neovim] Open tab before current tab
...
Related: https://github.com/junegunn/gv.vim/issues/19
2016-03-06 13:56:29 +09:00
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"' }
2016-03-04 15:23:07 +09:00
Justin M. Keyes
a7bc9d5351
s:callback: Always return list.
...
Fixes "E706: Variable type mismatch for: ret" when an exception is
caught.
2016-02-23 00:36:36 -05:00
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
2016-02-12 12:33:47 +09:00
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
2016-01-12 01:15:36 +09:00
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.
2016-01-11 18:17:13 +09:00
Junegunn Choi
6e08fe337c
[nvim] setlocal nospell on terminal buffer
...
Close #469 . `setlocal nospell` should appear before `setf fzf` to allow
customization of the option.
2016-01-09 12:08:25 +09:00
Junegunn Choi
b5850ebd4c
[vim] Open selected file in the current window if it's empty
...
Close #451
2015-12-18 12:19:29 +09:00
Pokey Rule
d513a210c6
Support fzf-tmux when zoomed
2015-12-07 17:45:22 -08:00
Junegunn Choi
5769d3867d
[nvim] setf fzf
2015-10-31 00:18:23 +09:00
Jacob Niehus
ed893c5f47
Trigger netrw autocommand when opening directory
2015-10-08 20:28:07 -07:00
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.
2015-09-30 02:48:12 -04:00
Junegunn Choi
862da2c0b1
[vim] Consistent exit status handling
2015-09-27 16:26:40 +09:00
James Baumgarten
59220c63a6
[vim] handle exit status 1 properly ( #359 )
2015-09-26 16:56:52 -07:00
Junegunn Choi
86306dd45a
[vim] Display proper error message when GVim launcher failed
...
Related: https://github.com/junegunn/fzf.vim/issues/16
2015-09-26 21:04:44 +09:00
Junegunn Choi
aec48f159b
[neovim] Remove redraw! hack that is no longer needed
2015-09-22 16:36:48 +09:00
Junegunn Choi
5a60aa5050
[vim] Display proper error message when command failed
2015-09-20 14:10:43 +09:00
Junegunn Choi
ca19762e58
Exit status 130 when fzf is terminated by the user
...
Related: #345
2015-09-18 10:25:07 +09:00
Junegunn Choi
8764be07e2
[vim] Ignore exit status of 2 ( #345 )
2015-09-18 09:59:40 +09:00
Junegunn Choi
ac160f98a8
[gvim] Fix #342 - Should not escape launcher part of the command
2015-09-05 21:39:12 +09:00
Junegunn Choi
62e01a2a62
[vim] Escape newline character when running fzf with :!
...
Fixes Helptags! command from fzf.vim
2015-09-01 01:13:35 +09:00
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%' }
2015-08-28 18:38:47 +09:00
Junegunn Choi
8fb31e1b4d
[vim] Escape % and # when running source command with :!
2015-08-24 01:52:16 +09:00
Junegunn Choi
55d566b72f
Revert "[vim] Open silently"
...
This reverts commit c601fc6437
.
2015-08-18 12:03:08 +09:00
Junegunn Choi
7ae877bd3a
[vim] Handle single/double quote characters in 'dir' option
2015-08-16 00:04:45 +09:00
Junegunn Choi
c601fc6437
[vim] Open silently
2015-08-15 23:53:27 +09:00
Junegunn Choi
e5fec408c4
[vim] tab split instead of tabedit
2015-08-15 23:53:11 +09:00
Junegunn Choi
0b4542fcdf
[vim] Temporarily disable &autochdir when opening files ( #306 )
2015-07-29 17:55:58 +09:00
Junegunn Choi
fcae99f09b
No need to "tmux list-panes" when obviously not on tmux ( #303 )
2015-07-28 00:56:03 +09:00
Junegunn Choi
fb1b026d3d
Always check if the pane is zoomed
...
Close #303
2015-07-28 00:30:17 +09:00
Junegunn Choi
9f953fc944
Do not use tmux pane if the current pane is zoomed
...
Close #303
2015-07-28 00:22:04 +09:00
Junegunn Choi
11db046fc7
[neovim] Fix #281 - Properly close window with winnr 1
2015-06-27 14:23:51 +09:00
Junegunn Choi
355d004895
[neovim] Fix error with {'window': 'enew'} ( #274 )
2015-06-21 21:45:10 +09:00