mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-19 09:03:43 -05:00
Updated Examples (markdown)
@@ -71,7 +71,7 @@ fe() {
|
|||||||
# - CTRL-E or Enter key to open with the $EDITOR
|
# - CTRL-E or Enter key to open with the $EDITOR
|
||||||
fo() {
|
fo() {
|
||||||
local out file key
|
local out file key
|
||||||
IFS=$'\n' out=($(fzf-tmux --query="$1" --exit-0 --expect=ctrl-o,ctrl-e))
|
IFS=$'\n' out=("$(fzf-tmux --query="$1" --exit-0 --expect=ctrl-o,ctrl-e)")
|
||||||
key=$(head -1 <<< "$out")
|
key=$(head -1 <<< "$out")
|
||||||
file=$(head -2 <<< "$out" | tail -1)
|
file=$(head -2 <<< "$out" | tail -1)
|
||||||
if [ -n "$file" ]; then
|
if [ -n "$file" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user