Junegunn Choi
9310ae28ab
[vim] Redraw screen after running fzf on tmux pane ( #213 )
10 years ago
Junegunn Choi
27e26bd1ea
[vim] Add g:Fzf_launcher for funcrefs ( #212 )
10 years ago
Junegunn Choi
917b1759b0
[fzf-tmux/vim] Fixes for fish ( #204 )
10 years ago
Junegunn Choi
537d07c1e5
[vim] Use "system" fzf when available
...
1. Go binary: ../bin/fzf
2. System fzf: $(which fzf)
3. Download fzf from GitHub or create wrapper script to Ruby version (../fzf)
when the binary for the platform is not available
4. If install script is not found or for some reason failed, try to use Ruby
version in its expected location (../fzf)
5. If fzf is found to be a shell function, use it (type fzf)
10 years ago
Junegunn Choi
a30908c66a
[vim] Automatically download Go binary when not found
10 years ago
Junegunn Choi
853012ceef
[vim] Add g:fzf_action for customizing key bindings
...
Close #189
10 years ago
Junegunn Choi
2add45fe2f
[vim] Rename g:fzf_tmux_height to g:fzf_height
...
Because tmux panes are not used on Neovim.
10 years ago
Junegunn Choi
319d6ced80
[vim] Simplify :FZF
...
Ruby version can also accept `--expect` option although it's ignored.
10 years ago
Junegunn Choi
51a19a2804
[vim] Remove unnecessary pushd/popd in :FZF
...
It is already handled by its caller.
10 years ago
Bryan Head
82bea6758a
Move active check to fzf#run.
10 years ago
Junegunn Choi
8385a55bda
[vim] s:pushd after s:split
...
It is possible that the user has an autocmd that changes the current
directory.
10 years ago
Junegunn Choi
8406cedf2d
[vim] Improved compatibility with sidebar plugins (e.g. NERDtree)
10 years ago
Junegunn Choi
1481304d3b
Suppress message from :file
...
Suggested by @noahfrederick
10 years ago
Marco Hinz
c1adf0cd3d
Check if :FZF is already executing
...
Prior to this change, you'd get a longer error message if you did:
:FZF
<esc>
:FZF
The main problem being that `:file [FZF]` can be used only once.
10 years ago
Junegunn Choi
622e69ff54
[vim] Neovim compatibility ( #137 )
...
Use terminal emulator of Neovim to open fzf
10 years ago
Junegunn Choi
68503d32df
[vim] Code cleanup
10 years ago
Junegunn Choi
57319f8c58
[vim] Fix #177 - :FZF with relative paths
10 years ago
Junegunn Choi
8a4db3c004
[vim] Fix #167 - :FZF with directory
10 years ago
Junegunn Choi
e865144ace
[vim] Implement ctrlp-compatible key bindings ( #139 , #96 , #61 )
10 years ago
Junegunn Choi
bc2e82efc1
[vim] Suppress error message when clear command is N/A
10 years ago
Junegunn Choi
49c752b1f7
[vim] up/down/left/right options to take boolean values
...
When 1 is given, 50% of the screen width or height will be used as the
default size of the pane.
10 years ago
Junegunn Choi
daa79a6df2
[vim] fzf#run with tmux panes can now return values to the caller
...
As they're made synchronous with the use of fzf-tmux script
10 years ago
Junegunn Choi
12d81e212f
[vim] Use fzf-tmux script for tmux integration
10 years ago
Junegunn Choi
06ab399497
Improve how vim plugin finds fzf executable
...
This avoids the problem in which :FZF command silently fails when fzf
executable cannot be found in $PATH of the hosting tmux server.
10 years ago
Junegunn Choi
8a0ab20a70
Update vim plugin to use Go binary
10 years ago
Junegunn Choi
6fd6fff3a6
[vim] Ignore 'dir' option if empty
...
This makes it easier to override FZF command like follows:
autocmd VimEnter * command! -nargs=? -bang -complete=dir FZF call fzf#run({
\ 'sink': 'tabe',
\ 'dir': <q-args>,
\ 'options': '-m',
\ 'tmux_height': empty('<bang>') ? '40%' : '' })
10 years ago
Junegunn Choi
1e07b3b1c2
[vim] Apply FZF_DEFAULT_{OPTS,COMMAND} when using tmux splits ( #87 )
...
Fixed escaping bug of the previous commit
10 years ago
Junegunn Choi
4313c1c25c
Revert "[vim] Apply FZF_DEFAULT_{OPTS,COMMAND} when using tmux splits ( #87 )"
...
This reverts commit cc9938d4c9
.
10 years ago
Junegunn Choi
cc9938d4c9
[vim] Apply FZF_DEFAULT_{OPTS,COMMAND} when using tmux splits ( #87 )
10 years ago
Junegunn Choi
89298a8d23
[vim] Do not print error message on exit status 1
10 years ago
Junegunn Choi
3e91c189ae
[vim] Defer `type fzf` to reduce startup time
10 years ago
Junegunn Choi
4a3a5ee70d
[vim] External terminal emulator for GVim
10 years ago
Junegunn Choi
65c1b53275
[vim] Options to xterm command
10 years ago
Junegunn Choi
0b43f988c7
[vim] Enable fzf in GVim using xterm
10 years ago
Junegunn Choi
16031b0d54
[Vim] Allow vertical split of tmux window
11 years ago
Junegunn Choi
af677e7e35
Vim plugin: do not enable tmux-integration if version < 1.7
11 years ago
Junegunn Choi
af616457e3
Use -p option of split-window instead of manual calculation
11 years ago
Junegunn Choi
1a100a2919
No need for screenrow()
11 years ago
Junegunn Choi
a85bb93b69
Fix use of screenrow when tmux height is given in %
11 years ago
Junegunn Choi
cf8dbf8047
Allow setting tmux split height in %
11 years ago
Junegunn Choi
2b346659a0
Vim plugin: tmux integration
11 years ago
Junegunn Choi
49081711a9
Execute clear before fzf
11 years ago
Junegunn Choi
e7439ce193
Major update to Vim plugin
11 years ago
Junegunn Choi
b8e438b6be
Prefer pre-existing function/alias in Vim plugin
11 years ago
Junegunn Choi
2540c9062f
The last argument doesn't have to be a path
11 years ago
Junegunn Choi
f28274109f
Update Vim plugin to take path argument
11 years ago
Junegunn Choi
90adda73b0
Update Vim plugin
...
Changes:
- Rename g:fzf_command to g:fzf_source
- Support multi-select mode
- Add fzf#run(vim_command, fzf_args) function
Todo:
- Faster startup with --disable-gems option when available
11 years ago
Junegunn Choi
dc67420319
Make fzf.vim separately installable
11 years ago
Junegunn Choi
fd2472d11c
Ignore empty file path
11 years ago
Junegunn Choi
20ac8daeaa
Update Vim plugin accordingly
11 years ago
Junegunn Choi
abd07ffb9e
Implement --no-sort options with some fixes
11 years ago
Junegunn Choi
03b204ec40
Initial commit
11 years ago