Skip to content

Instantly share code, notes, and snippets.

@boweiliu
Last active September 26, 2022 04:29
Show Gist options
  • Save boweiliu/84269543c3e3afb5481c4a2eb19fa396 to your computer and use it in GitHub Desktop.
Save boweiliu/84269543c3e3afb5481c4a2eb19fa396 to your computer and use it in GitHub Desktop.
tmux tips
see also: https://gist.github.com/andreyvit/2921703
https://bezhermoso.github.io/til/move-a-tmux-pane-from-one-window-to-another/
ctrl-b ! ; ctrl-b :join-pane -t 2.0
https://unix.stackexchange.com/questions/268386/how-to-change-default-new-window-directory-from-within-the-tmux
ctrl-b :attach -c /path
https://vim.fandom.com/wiki/File_explorer
:e ..
:Sex - explore dir in a new tab
:Explore
https://stackoverflow.com/questions/10760310/how-to-open-a-new-file-in-vim-in-a-new-window
:TExplore
https://stackoverflow.com/questions/53664/how-to-effectively-work-with-multiple-files-in-vim
https://stackoverflow.com/questions/19971023/how-to-go-back-to-previous-opened-file-in-vim
https://www.cae.tntech.edu/local/oreilly/vi/ch05_05.htm
https://linuxhint.com/opening_switching_multiple_files_vim/
ctrl-N == ALE autocomplete
ctrl-W x2 == switch windows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment