Skip to content

Commit

Permalink
Add tmux-suspend plugin (#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
topher200 authored Feb 12, 2024
1 parent 73a4299 commit 2861e2e
Showing 1 changed file with 21 additions and 5 deletions.
26 changes: 21 additions & 5 deletions files/.tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -132,28 +132,44 @@ set -g @plugin 'tmux-plugins/tmux-logging'
set -g @plugin 'tmux-plugins/tmux-yank'
# stay in copy-mode on 'y'
set -g @yank_action 'copy-pipe'
# https://github.com/schasse/tmux-jump; ace-jump in copy-mode
# 'f': jump to char
set -g @plugin 'schasse/tmux-jump'
set -g @jump-key 'f'

# http://go/gh/tmux-plugins/tmux-open
# 'o': open thing under highlight
# 'Ctrl-o': open highlight with $EDITOR
# 'Shift-s': search with Google
set -g @plugin 'tmux-plugins/tmux-open'

# http://go/gh/tmux-plugins/tmux-continuum
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'

# https://github.com/roosta/tmux-fuzzback
# '?' to fzf search backwards in the scrollback buffer
set -g @plugin 'roosta/tmux-fuzzback'

# https://github.com/laktak/extrakto
# 'tab' to extract text
set -g @extrakto_split_direction "v"
set -g @plugin 'laktak/extrakto'

# Fingers is a way to copy text using shortcuts.
# prefix + f to copy
# https://github.com/Morantron/tmux-fingers
set -g @plugin 'Morantron/tmux-fingers'

set -g @fingers-key f

# Plugin that displays prompt indicating currently active Tmux mode.
# https://github.com/MunifTanjim/tmux-mode-indicator
set -g @plugin 'MunifTanjim/tmux-mode-indicator'
set -g status-right '%Y-%m-%d %H:%M #{tmux_mode_indicator}'

# Suspend to help with tmux-in-tmux. F12 to suspend
# https://github.com/MunifTanjim/tmux-suspend
set -g @plugin 'MunifTanjim/tmux-suspend'
set -g @suspend_suspended_options " \
@mode_indicator_custom_prompt:: SUSPENDED , \
@mode_indicator_custom_mode_style::bg=black\\,fg=red, \
"

# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'

0 comments on commit 2861e2e

Please sign in to comment.