diff options
Diffstat (limited to '.config')
-rw-r--r-- | .config/tmux-powerline/segments/mode_insert_copy.sh | 4 | ||||
-rw-r--r-- | .config/tmux-powerline/segments/mode_normal_prefix.sh | 4 | ||||
-rw-r--r-- | .config/tmux-powerline/themes/nord.sh | 5 | ||||
-rw-r--r-- | .config/tmux/tmux.conf | 2 |
4 files changed, 14 insertions, 1 deletions
diff --git a/.config/tmux-powerline/segments/mode_insert_copy.sh b/.config/tmux-powerline/segments/mode_insert_copy.sh new file mode 100644 index 0000000..87c86b9 --- /dev/null +++ b/.config/tmux-powerline/segments/mode_insert_copy.sh @@ -0,0 +1,4 @@ +run_segment() { + echo "#{?pane_in_mode,#[fg=yellow bold]COPY,INSERT}" + return 0 +} diff --git a/.config/tmux-powerline/segments/mode_normal_prefix.sh b/.config/tmux-powerline/segments/mode_normal_prefix.sh new file mode 100644 index 0000000..28fc50e --- /dev/null +++ b/.config/tmux-powerline/segments/mode_normal_prefix.sh @@ -0,0 +1,4 @@ +run_segment() { + echo "#{?client_prefix,#[fg=red bold]PREFIX,NORMAL}" + return 0 +} diff --git a/.config/tmux-powerline/themes/nord.sh b/.config/tmux-powerline/themes/nord.sh index efdd8f7..6847dd0 100644 --- a/.config/tmux-powerline/themes/nord.sh +++ b/.config/tmux-powerline/themes/nord.sh @@ -77,8 +77,11 @@ fi if [ -z $TMUX_POWERLINE_LEFT_STATUS_SEGMENTS ]; then TMUX_POWERLINE_LEFT_STATUS_SEGMENTS=( + # "mode 0 0 | 0 0 both_disable separator_disable" \ + "mode_normal_prefix cyan black" \ + "mode_insert_copy magenta" \ "tmux_session_info green black" \ - "hostname blue white" \ + "hostname yellow black" \ "vcs_branch red white" \ #"vcs_compare 60 255" \ #"vcs_staged 64 255" \ diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 7c19022..e6d5e64 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -1,5 +1,7 @@ ### general set -g mouse on +# required so 0;10;1c doesn't appear when starting tmux +set -sg escape-time 50 ### tpm config from here onwards # general |