Commit graph

14 commits

Author SHA1 Message Date
Björn Steinbrink 3eb55911be
fix: Fix non-functional vim plugin (#659)
Some checks failed
release-please / release-please (push) Has been cancelled
Build & Test / unittests (linux, ubuntu-latest, stable, x86_64-unknown-linux-musl) (push) Has been cancelled
Build & Test / unittests (macos, macos-latest, stable, x86_64-apple-darwin) (push) Has been cancelled
Build & Test / e2e (linux, ubuntu-latest, stable, x86_64-unknown-linux-musl) (push) Has been cancelled
Build & Test / e2e (macos, macos-latest, stable, x86_64-apple-darwin) (push) Has been cancelled
Build & Test / clippy (push) Has been cancelled
Build & Test / rustfmt (push) Has been cancelled
release-please / setup-release (push) Has been cancelled
release-please / publish-crate (push) Has been cancelled
release-please / Build release binaries (aarch64, apple-darwin) (push) Has been cancelled
release-please / Build release binaries (aarch64, unknown-linux-musl) (push) Has been cancelled
release-please / Build release binaries (arm, unknown-linux-musl) (push) Has been cancelled
release-please / Build release binaries (armv7, unknown-linux-musl) (push) Has been cancelled
release-please / Build release binaries (x86_64, apple-darwin) (push) Has been cancelled
release-please / Build release binaries (x86_64, unknown-linux-musl) (push) Has been cancelled
The vim plugin uses --expect and expects the key used to accept the
selection on the first line of output. Commit bcee1f4 "feat!: do not
check for expect before printing the argument of accept… (#625)" broke
that by not outputting anything if the selection was made using the
default "enter" key. We can workaround that by explicitly adding
"enter" to the --expect argument, so that it once again shows up in the
output.

Fixes skim-rs/skim.vim#25
2024-12-09 00:58:39 +01:00
Renée Gyllensvaan e0cd6483cf
Pass --cmd-history instead of --history for interactive commands in vim (#461) 2024-11-09 22:18:27 +01:00
Jinzhou Zhang d7d08c9aed [vim] sync with fzf's latest plugin(6c9adea) 2020-10-14 22:15:18 +08:00
Jinzhou Zhang cb4efc7acf [vim] support skim's command history 2020-02-26 10:02:40 +08:00
Jinzhou Zhang 7047600d75 update to latest fzf.vim (20190319) 2019-03-19 20:09:56 +08:00
David Freese 8eb48a28fb
Fix references to SKIM_DEFAULT_OPTS in vim plugin
There are references to SKIM_DEFAULT_OPTS within the vim plugin, but this is different from the SKIM_DEFAULT_OPTIONS that is suggested for use within the documentation, and used elsewhere throughout the program.  This changes the two uses of SKIM_DEFAULT_OPTS to SKIM_DEFAULT_OPTIONS within the vim plugin.
2019-01-02 09:11:33 -08:00
Jinzhou Zhang 64f6958190 add fd to default command 2018-09-02 23:00:25 +08:00
Jinzhou Zhang 3a24d1b8b4 set better default SKIM_DEFAULT_COMMAND for vim
As described in #3, I do think a better default for SKIM_DEFAULT_COMMAND
is good for both new and old users.
2017-10-05 18:58:13 +08:00
Jinzhou Zhang 74dbf62e7a [skim.vim] update to fzf's latest plugin (20170919) 2017-09-19 18:27:09 +08:00
Marin Usalj ec29b6944e
Fix file selection completion
As @justinmk pointed out, `on_exit` is a `system_handler`, that's
taking 3 parameters:
25427ae892/runtime/autoload/man.vim (L71-L90)

This fixes file selection crash (in my setup neovim + rg).
It should also keep backwards compatibility with older Neovim builds.
2017-01-24 15:20:07 -08:00
Tim Brooks 1ba6a5f0c9 Fix redraw clobbering return code
The `redraw!` command can sometimes clobber `v:shell_error`. Moving the
call later prevents this happening.
2017-01-16 22:33:43 +00:00
zhang_ji 6979b8f5f3 [vim] enable source "none" for interactive mode. 2016-08-01 11:46:09 +08:00
Mark Wallace 95b99e62cb [vim] ignore stderr from executing default command 2016-07-21 20:48:28 +08:00
zhang_ji b2b9ac227c Migrate fzf's utility to skim
1. sk-tmux -- invoke sk in tmux
2. skim.vim -- vim plugin
2016-07-19 14:36:01 +08:00