FollieHiyuki-dotfiles/home/.config/fish/functions/n2.fish

6 lines
190 B
Fish
Raw Normal View History

2021-02-13 11:28:59 -05:00
function n2 -d "Start nnn in dual pane (tmux)"
tmux new-session -d -s nnn -n nnn "nnn -Hc"
tmux split-window -h "nnn -Hc"
TERM=screen-256color command tmux attach -t nnn:nnn
end