Skip to content

devanlooches/tmux-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My configuration for Neovim and Tmux

My configurations for Tmux and Neovim.

Contents:

Tmux Status Bar image

Requirements:

  • MacOSX
  • Mail - Mail application
  • Apple Music - Apple Music Application
  • Battery - Tmux Plugin Manager
  • Shows battery status:
    • background color changes depending on the battery percentage
    • Shows battery percentage
    • Shows '🔋' when on battery power, '⚡' when charging, or '👍' when charged
    • shows different stages of shaded '🌕's for different percentages
      • Like this: '🌕', '🌖', '🌖', '🌗', '🌗', '🌘', '🌘', '🌑'
    • shows time remaining in battery

Tmux Status Bar with drained battery power

  • Shows Apple Music song currently playing:
    • Shows track name and artist name
  • Shows number of unread mails you have
  • All Mail and Apple music sections disappear when those applications are not in use: Tmux Status Bar with no sections
  • Date and time (24-hour format)
  • Computer name

Other Goodies

  • I recommend installing Tmuxinator as it is a great tool.

By default the prefix key Ctrl + b

  • Switch panes with arrow keys
  • <prefix> and then Ctrl + c to create a new session
  • <prefix> and then Ctrl + f to find a session
  • <prefix> and then > to swap current pane with the next one
  • <prefix> and then < to swap current pane with the previous one
  • <prefix> and then Ctrl + h to go to the previous window
  • <prefix> and then Ctrl + l to go to the next window
  • <prefix> and then tab to go to the last active window
  • <prefix> and then enter to enter copy mode
  • <prefix> and then U (uppercase) to show url view
  • <prefix> and then r to source the .tmux.conf
  • <prefix> and then l, h, k, or j to move to the next pane to the right, left, up, or down, respectively.
  • <prefix> and then L, H, K, or J (uppercase) to resize a pane to the right, left, up, or down, respectively
  1. Make sure you have all of the Requirements.
  2. Download the .tmux.conf file and put it in you home directory.
  3. Download the segments directory and put it in in ~/.tmux/.

I am a 15-year-old budding programmer. This is my first public Github repo. Any feedback would be much appreciated! Please post your comments under the Discussions tab.