Junegunn Choi
cbb5134874
[vim] Use 24-bit colors if termguicolors is set
2017-01-22 14:40:30 +09:00
Junegunn Choi
2a669e9a17
Clear lines even when background color is not set
...
Also revert the workaround in Vim plugin introduced in fa7c897
.
Related: #814
2017-01-22 03:19:50 +09:00
Junegunn Choi
fa7c8977a8
[vim] tput el to clear the last line
...
Close #814
Not grouping commands to avoid errors on non-standard shells.
2017-01-22 03:03:26 +09:00
Junegunn Choi
05ed57a9f0
Merge pull request #794 from junegunn/devel
...
0.16.0
2017-01-16 02:43:56 +09:00
Junegunn Choi
2720816266
[vim] Use /dev/tty as STDIN when using --height w/o explicit source
2017-01-15 04:33:03 +09:00
Justin M. Keyes
1896aa1748
s:common_sink(): Avoid duplicate BufEnter. ( #803 )
...
Later versions of Vim/Nvim handle `:edit <dir>` inside try-catch.
e13b9afe12
https://github.com/vim/vim/pull/1375
2017-01-14 20:55:30 +09:00
Junegunn Choi
1a50f1eca1
[vim] Use --height instead of fzf-tmux
2017-01-08 02:09:56 +09:00
Junegunn Choi
1448d631a7
Add --height option
2017-01-08 02:09:56 +09:00
Jan Edmund Lazo
3670273719
[vim] Use cmd.exe directly on GVim (launcher='%s') ( #787 )
2017-01-04 14:07:01 +09:00
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
2017-01-02 02:16:25 +09:00
Jan Edmund Lazo
42a2371d26
[vim] Use cmd.exe in Windows ( #785 )
2017-01-01 11:48:15 +09:00
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.
2016-12-19 02:51:19 +09:00
Marco Hinz
8a502af4c1
Neovim: event handlers always expect three arguments ( #768 )
2016-12-14 01:56:53 +09:00
Junegunn Choi
c60bfb2b0f
[neovim] Keep alternate file unchanged
...
Close https://github.com/junegunn/fzf.vim/issues/265
2016-12-11 22:32:59 +09:00
Junegunn Choi
ab9ae4f643
[vim] Fix path display in FZF when cwd is ~
2016-12-03 01:13:56 +09:00
Junegunn Choi
d9a51030ea
[vim] Display relative path in prompt
2016-12-02 21:07:23 +09:00
Junegunn Choi
37f2d8f795
[vim] Respect g:fzf_colors
...
Close #711
2016-10-22 01:14:16 +09:00
Junegunn Choi
9b9ad39143
[vim] Set g:loaded_fzf
2016-10-18 15:00:47 +09:00
Junegunn Choi
053af9a1c8
[fzf-tmux/vim/nvim] Do not split small window
...
Close #699
2016-10-12 23:10:21 +09:00
Junegunn Choi
01b88539ba
[vim] Apply --multi and --prompt to :FZF command
2016-10-04 00:30:04 +09:00
Junegunn Choi
d87390934e
[neovim] Do not resize if the size of the screen has changed
...
Related #642
2016-08-28 19:27:18 +09:00
Joshua Rubin
f025602841
[vim] Reset window sizes on close
...
Fix #520
Fix junegunn/fzf.vim#42
2016-08-28 19:17:24 +09:00
Junegunn Choi
f958c9daf5
[vim] Tilde prefix is not allowed for left
or right
layout
2016-08-24 01:15:35 +09:00
Junegunn Choi
3e88849386
[vim] Fix "E706: Variable type mismatch for: arg"
2016-08-19 18:02:32 +09:00
Junegunn Choi
62f6ff9d6c
[vim] Make arguments to fzf#wrap() optional
...
fzf#wrap([name string,] [opts dict,] [fullscreen boolean])
2016-08-19 03:05:22 +09:00
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