The mapping and shell pipeline it uses are largely based on an example from Sessions for rapid and intuitive navigation between them, without losing theĬontext of the work in your current pane. Together a mapping that provides a prompted fuzzy matching list of the Fuzzy Session Switchingīuilding on the workflow of quick panes and incorporating the wonderfulįzf "Fuzzy finder for your shell" utility, I've been able to pull OS X for proper clipboard integration when using these quick panes. Note, you will need to specifically include reattach-to-user-namespace on Some examples are: # Quickly view system & process info in htopīind-key t split-window -h "vim ~/todo.md"īind-key w split-window -h -c ~/my-wiki "reattach-to-user-namespace vim +CtrlP" The shell-command using the -c start-directory flag. In addition, we can specify a starting directory for the pane in addition to Todo list or wiki, interacting with commands like irb or gitsh This makes for an extremely efficient workflow for things like accessing your The pane when the command provided as the shell-command argument exits. They all take advantage of the fact that tmux will close I'veīeen calling these interactions "quick panes" and have been using them moreĪnd more of late. To the split-window command that can make this even more efficient. As quick as we've been able to make it to open a pane and interact withĪ process, it turns out that tmux accepts an optional shell-command argument
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |