diff --git a/CHANGELOG.md b/CHANGELOG.md index c606bf2..b968372 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,10 +6,21 @@ CHANGELOG - More border options for `--preview-window` ```sh fzf --preview 'cat {}' --preview-window border-left + fzf --preview 'cat {}' --preview-window border-left --border horizontal fzf --preview 'cat {}' --preview-window top:border-bottom fzf --preview 'cat {}' --preview-window top:border-horizontal ``` -- Signed and notarized macOS binaries (thanks to [BACKERS.md](https://github.com/junegunn/junegunn/blob/main/BACKERS.md)) +- Automatically set `/dev/tty` as STDIN on execute action + ```sh + # Redirect /dev/tty to suppress "Vim: Warning: Input is not from a terminal" + # ls | fzf --bind "enter:execute(vim {} < /dev/tty)" + + # "< /dev/tty" part is no longer needed + ls | fzf --bind "enter:execute(vim {})" + ``` +- Bug fixes and improvements +- Signed and notarized macOS binaries + (Huge thanks to [BACKERS.md](https://github.com/junegunn/junegunn/blob/main/BACKERS.md)!) 0.26.0 ------ diff --git a/README.md b/README.md index 292d431..9dd4b28 100644 --- a/README.md +++ b/README.md @@ -615,7 +615,7 @@ You can customize the size, position, and border of the preview window using ```bash fzf --height 40% --layout reverse --info inline --border \ - --preview 'file {}' --preview-window down:1:noborder \ + --preview 'file {}' --preview-window up,1,border-horizontal \ --color 'fg:#bbccdd,fg+:#ddeeff,bg:#334455,preview-bg:#223344,border:#778899' ``` diff --git a/install b/install index b6fff77..025d00a 100755 --- a/install +++ b/install @@ -2,7 +2,7 @@ set -u -version=0.26.0 +version=0.27.0 auto_completion= key_bindings= update_config=2 @@ -168,8 +168,8 @@ archi=$(uname -sm) binary_available=1 binary_error="" case "$archi" in - Darwin\ arm64) download fzf-$version-darwin_arm64.tar.gz ;; - Darwin\ x86_64) download fzf-$version-darwin_amd64.tar.gz ;; + Darwin\ arm64) download fzf-$version-darwin_arm64.zip ;; + Darwin\ x86_64) download fzf-$version-darwin_amd64.zip ;; Linux\ armv5*) download fzf-$version-linux_armv5.tar.gz ;; Linux\ armv6*) download fzf-$version-linux_armv6.tar.gz ;; Linux\ armv7*) download fzf-$version-linux_armv7.tar.gz ;; diff --git a/install.ps1 b/install.ps1 index 10ce7aa..b53f0a3 100644 --- a/install.ps1 +++ b/install.ps1 @@ -1,4 +1,4 @@ -$version="0.26.0" +$version="0.27.0" $fzf_base=Split-Path -Parent $MyInvocation.MyCommand.Definition diff --git a/main.go b/main.go index f675fdb..da40284 100644 --- a/main.go +++ b/main.go @@ -5,7 +5,7 @@ import ( "github.com/junegunn/fzf/src/protector" ) -var version string = "0.26" +var version string = "0.27" var revision string = "devel" func main() { diff --git a/man/man1/fzf-tmux.1 b/man/man1/fzf-tmux.1 index 7aae95a..238cecb 100644 --- a/man/man1/fzf-tmux.1 +++ b/man/man1/fzf-tmux.1 @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. .. -.TH fzf-tmux 1 "Mar 2021" "fzf 0.26.0" "fzf-tmux - open fzf in tmux split pane" +.TH fzf-tmux 1 "Apr 2021" "fzf 0.27.0" "fzf-tmux - open fzf in tmux split pane" .SH NAME fzf-tmux - open fzf in tmux split pane diff --git a/man/man1/fzf.1 b/man/man1/fzf.1 index ae16a75..2baa075 100644 --- a/man/man1/fzf.1 +++ b/man/man1/fzf.1 @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. .. -.TH fzf 1 "Mar 2021" "fzf 0.26.0" "fzf - a command-line fuzzy finder" +.TH fzf 1 "Apr 2021" "fzf 0.27.0" "fzf - a command-line fuzzy finder" .SH NAME fzf - a command-line fuzzy finder