Junegunn Choi
a2604c0963
[nvim] Disable number in fzf buffer
...
https://github.com/junegunn/fzf.vim/issues/396#issuecomment-317214036
One can override the setting on FileType fzf autocmd.
7 years ago
Junegunn Choi
7727ad43af
[vim] Use fnameescape to escape command line arguments
...
Fix https://github.com/junegunn/fzf.vim/issues/404
Thanks to @janlazo.
7 years ago
Jan Edmund Lazo
940214a1a2
[neovim] Fix lcd when fzf job exits on Windows ( #970 )
...
Related: #960 (relative filepaths)
7 years ago
Jan Edmund Lazo
68bd410159
[vim] Don't pipe FZF_DEFAULT_COMMAND in Windows ( #969 )
...
Related #960 , #552
7 years ago
Junegunn Choi
5efdeccdbb
[vim] Expand 'dir' on Cygwin to handle Windows-style paths
...
See https://github.com/junegunn/fzf/pull/933#discussion_r120011934
Close https://github.com/junegunn/fzf.vim/pull/386
7 years ago
Jan Edmund Lazo
7e483b0c25
[vim] Add support for Cygwin ( #933 )
7 years ago
Junegunn Choi
773133c4ce
[vim] Allow running install --bin on Cygwin
7 years ago
Junegunn Choi
35d407021c
[vim] Replace invalid s:escape calls with fzf#shellescape
7 years ago
Junegunn Choi
076f49d447
[vim] Make sure to delete temporary batchfile on Windows
7 years ago
Junegunn Choi
0665fe0413
[vim] Remove unnecessary ternary expression
...
Related: https://github.com/junegunn/fzf.vim/issues/378
7 years ago
Jan Edmund Lazo
669a6fee40
[vim] Use utf-8 for cmd.exe ( #929 )
7 years ago
Jan Edmund Lazo
8aab0fc189
[vim] Replace s:fzf_shellescape and s:shellesc with fzf#shellescape ( #916 )
7 years ago
Junegunn Choi
3a5086796d
[vim] Prevent 'wildignore' from affecting expand() ( #917 )
7 years ago
Junegunn Choi
11300913a4
[vim] Do not expand s:fzf_go
...
expand() may return an empty string depending on the value of
&wildignore. Since expand('<sfile>') always returns an absolute path, we
can remove expand() call here. Close #917 .
7 years ago
Junegunn Choi
eba9e04e2e
Export FZF_PREVIEW_HEIGHT instead of FZF_HEIGHT
...
https://github.com/junegunn/fzf.vim/issues/361
8 years ago
Junegunn Choi
93b8f61551
[vim] Export $FZF_HEIGHT for previewer scripts
...
Preview script cannot properly determine the height of fzf finder if
`--height` option is used.
https://github.com/junegunn/fzf.vim/issues/361
8 years ago
Jan Edmund Lazo
7a11a06cbd
[vim] Use backslash for Windows filepaths ( #896 )
...
- Fix shellescaping issues for filepaths
- Supports both forward slashes or backslashes
- Paths with spaces
- Use jobstart for neovim in s:execute (Windows)
- https://github.com/neovim/neovim/pull/6497
- Make 2 s:fzf_shellescape functions
- (Windows) Substitute \" with \\" to escape the last backslash
- (Default) Regular shellescape
- Support list 'options'
- Add "@echo off" to the batchfile used to execute fzf
8 years ago
Daniel Hahler
d295d20dc4
fzf#run: improve "is already running" message ( #885 )
...
This displays the buffer(s) in this case, which is useful when FZF got
stuck, and you have to manually remove the buffer.
8 years ago
Junegunn Choi
a484811f78
[vim] Capitalize exception messages
8 years ago
Junegunn Choi
111d1934c4
[vim] Throw error if g:fzf_layout is incorrectly used
...
https://github.com/junegunn/fzf.vim/issues/327
https://github.com/junegunn/fzf.vim/issues/317
8 years ago
Junegunn Choi
cd59e5d07b
[neovim] Set 'dir' to the current direcotry
...
Close https://github.com/junegunn/fzf.vim/issues/308
8 years ago
Junegunn Choi
b29375c844
[vim] Minor refactoring
8 years ago
Junegunn Choi
76d3f6d248
[vim] Escape ! when using :! to execute command
...
- call fzf#run({'source': "echo '!'"})
- call fzf#run({'source': "echo '!'", 'down': '40%'})
Close https://github.com/junegunn/fzf.vim/issues/315
8 years ago
Junegunn Choi
c2db67c1c0
[vim] Prepend @echo off to $FZF_DEFAULT_COMMAND on Windows ( #847 )
8 years ago
Junegunn Choi
9526594905
[vim] Fix FZF_DEFAULT_COMMAND on Windows
...
Close #847 . Patch submitted by @wontoncc.
8 years ago
Junegunn Choi
fc274c2ba4
[vim] Do not escape % when using system() instead of !
...
Close https://github.com/junegunn/fzf.vim/issues/309
8 years ago
Prabir Shrestha
a847fe8754
Use "type" instead of "cat" on windows ( #836 )
8 years ago
Junegunn Choi
02ceae15a2
[vim] Download instruction for Windows
8 years ago
Junegunn Choi
72265298f9
[vim] Apply --no-height when running fzf in full screen mode
...
To override --height option in FZF_DEFAULT_OPTS
8 years ago
Kassio Borges
712b7b2188
[vim] Expose buffer variable with the current fzf setup ( #828 )
...
Exposing the `b:fzf` variable will be useful to get information about
which command is being executed on the current fzf window. With that,
now, it's possible to use the current command name on the statusline:
```viml
au User FzfStatusLine call <SID>fzf_statusline()
function! s:fzf_statusline()
let fzf_cmd_name = get(b:fzf, 'name', 'FZF')
let &l:statusline = '> '.fzf_cmd_name
endfunction
```
8 years ago
Junegunn Choi
a425e96fb2
[vim] g:fzf_prefer_tmux for choosing fzf-tmux over --height
...
https://github.com/junegunn/fzf.vim/issues/296
8 years ago
Junegunn Choi
cbb5134874
[vim] Use 24-bit colors if termguicolors is set
8 years ago
Junegunn Choi
2a669e9a17
Clear lines even when background color is not set
...
Also revert the workaround in Vim plugin introduced in fa7c897
.
Related: #814
8 years ago
Junegunn Choi
fa7c8977a8
[vim] tput el to clear the last line
...
Close #814
Not grouping commands to avoid errors on non-standard shells.
8 years ago
Junegunn Choi
05ed57a9f0
Merge pull request #794 from junegunn/devel
...
0.16.0
8 years ago
Junegunn Choi
2720816266
[vim] Use /dev/tty as STDIN when using --height w/o explicit source
8 years ago
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
8 years ago
Junegunn Choi
1a50f1eca1
[vim] Use --height instead of fzf-tmux
8 years ago
Junegunn Choi
1448d631a7
Add --height option
8 years ago
Jan Edmund Lazo
3670273719
[vim] Use cmd.exe directly on GVim (launcher='%s') ( #787 )
8 years ago
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