aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-12-17 16:39:32 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-12-17 16:39:32 +0300
commit3147c38f5227448cb749b8039d9f7835516b9874 (patch)
tree44395d16ca1f005a613ded5a847c90d543ae84e8
parenttmux: fix nested prefix binding (diff)
downloadlinux-home-3147c38f5227448cb749b8039d9f7835516b9874.tar.gz
linux-home-3147c38f5227448cb749b8039d9f7835516b9874.zip
.tmux.conf: make shorter
-rw-r--r--%HOME%/.tmux.conf26
1 files changed, 10 insertions, 16 deletions
diff --git a/%HOME%/.tmux.conf b/%HOME%/.tmux.conf
index e7c0fc0..74f3c32 100644
--- a/%HOME%/.tmux.conf
+++ b/%HOME%/.tmux.conf
@@ -1,3 +1,10 @@
+# [1]: https://wiki.archlinux.org/index.php/tmux
+# [2]: https://gist.github.com/Lartza/6a7a62466a8a3e436234412d9b1c5066
+# [3]: http://mutelight.org/practical-tmux
+# [4]: https://github.com/tmux-plugins/tmux-sensible
+# [5]: https://github.com/tmux-plugins/tmux-yank
+# [6]: https://github.com/greymd/dotfiles/blob/333c46dab103d4316a83744dec28605dc2cbc4ab/.tmux.conf
+
# C-b is hella uncomfortable to press.
unbind C-b
set -g prefix C-j
@@ -26,7 +33,7 @@ set -g display-time 4000
set -g status-interval 5
# The following settings I don't totally understand/need, but they looked
-# sensible enough, and they were recommended somewhere.
+# sensible enough, and they were recommended at least somewhere.
set-window-option -g monitor-activity on
set -g visual-activity on
@@ -35,9 +42,8 @@ set -g focus-events on
set-window-option -g aggressive-resize on
-# ============
# Key bindings
-# ============
+# ------------
# R to reload this file.
bind R source-file ~/.tmux.conf \; display "Reloaded!"
@@ -122,23 +128,11 @@ if-shell 'uname | grep -q -F Linux && which xsel' {
bind-key p run 'xsel -o | tmux load-buffer - && tmux paste-buffer'
}
-# ==========
# Appearance
-# ==========
+# ----------
# Highlight active window panes/windows, might not work so well depending on
# your color scheme.
set-window-option -g window-status-current-style bg=red
set-window-option -g window-style bg=#000000
set-window-option -g window-active-style bg=#181818
-
-# ==========
-# References
-# ==========
-
-# [1]: https://wiki.archlinux.org/index.php/tmux
-# [2]: https://gist.github.com/Lartza/6a7a62466a8a3e436234412d9b1c5066
-# [3]: http://mutelight.org/practical-tmux
-# [4]: https://github.com/tmux-plugins/tmux-sensible
-# [5]: https://github.com/tmux-plugins/tmux-yank
-# [6]: https://github.com/greymd/dotfiles/blob/333c46dab103d4316a83744dec28605dc2cbc4ab/.tmux.conf