当我在 tmux 中创建多个会话时,后续会话中每个新窗口的当前目录都设置为第一个的当前目录。
例如:
-> cd /home/one && tmux new-session -n one\; new-window -n two
# /home/one is the current directory for each window
-> cd /home/two && tmux new-session -n three\; new-window -n four #\; etc.
# "/home/two" is the current directory for the window "three"
# but for the window "four" and other created windows it is "/home/one"
Run Code Online (Sandbox Code Playgroud)
如何强制 tmux 将后续会话中每个新窗口的当前目录设置为创建会话的目录?
多路复用器 1.6
zsh 4.3
有没有办法在 Vim 中恢复未列出的缓冲区并将其发送回缓冲区列表?
例如:
:ls! 1#“一个.txt” 2% “两个.txt” 3u "三.txt"
我可以将第三个缓冲区发送回列表吗?
:ls 1#“一个.txt” 2% “两个.txt” 3 《三.txt》