Skip to content

Commit

Permalink
allow setting custom condition (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
pinbraerts committed Jun 17, 2024
1 parent 3787752 commit da618e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tmux.nvim.tmux
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ get_tmux_option() {
fi
}

is_vim="ps -o state= -o comm= -t '#{pane_tty}' | grep -iqE '^[^TXZ ]+ +(\\S+\\/)?g?\.?(view|n?vim?x?)(-wrapped)?(diff)?$'"
is_vim=$(get_tmux_option "@tmux-nvim-condition" "ps -o state= -o comm= -t '#{pane_tty}' | grep -iqE '^[^TXZ ]+ +(\\S+\\/)?g?\.?(view|n?vim?x?)(-wrapped)?(diff)?$'")

# navigation
#
Expand Down

0 comments on commit da618e0

Please sign in to comment.