Skip to content

desyncr/tmux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 

Repository files navigation

.tmux.conf

My tmux configuration and settings.

Install

make install

Manual install

  • Clone this repo somewhere:

      git clone https://github.com/desyncr/tmux.git ~/.tmux
    
  • Install plugins: https://github.com/tmux-plugins/tpm

  • Use it:

      mv .tmux.conf .tmux.conf.$(date +%s) # back it up
      ln -s ~/.tmux/tmux.conf .tmux.conf
    
  • prefix + : + source-file ~/.tmux.conf

  • Install tpm: git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm

      * Install plugins: ``prefix + I``
    

Keybindings

  • Prefix

    • C-a
  • Help

  • Splitting windows

    • prefix + {|,\}: Vertical split
    • prefix + {-,_}: Horizontal split
  • Working with panes

    • prefix + [h,j,k,l]: Move to above, left, right, and below split
    • prefix + [{,}]: Rotate panes
    • prefix + ;: Move to previously active pane
    • prefix + [H,J,K,L]: Resize current pane
    • prefix + !: Break pane into a new window
    • prefix + z: Zoom current pane
    • :move-pane -t :3: Move current pane to window #3
  • Working with windows

    • prefix + c: Create a new window
    • prefix + ,: Rename window
    • prefix + [<,>]: Swap windows
    • prefix + [1-9]: Move to i window
    • prefix +[p,n]: Change to previous or next window
    • prefix + +: Interactive window menu
  • Working with sessions

    • prefix + [(,)]: Previous and next session
    • prefix + =: Interactive session menu
    • prefix + $: Rename session
    • prefix + C-s: Save current session (tmux-resurrect)
    • prefix + C-r: Restore session
    • prefix + C: New session
  • Misc

    • prefix + R: Reload tmux's configuration
    • prefix + E: Edit tmux's configuration
    • prefix + :: Tmux command
    • prefix + ?: Show keybindings

Also see: https://gist.github.com/desyncr/e767f96542ecad70a8e3d5fd006632e0 and: https://gist.github.com/Starefossen/5955406 and: https://gist.github.com/andreyvit/2921703

Feedback

If you'd like to contribute to the project or file a bug or feature request, please visit the project page.

License

The project is licensed under the GNU GPL v3 license.

About

My tmux configuration and settings

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages