summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2023-08-21 18:11:13 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2023-08-21 18:11:13 -0600
commit7cdb0dad85c39cc522c0f4f374430ac83627c92e (patch)
tree67eb1f964cb60f14ee86a43acd527f2864af4685 /.config
parent6905665f7f08a144ff9f6334514ca57f430313e3 (diff)
customize colorscheme, fix terminal
Diffstat (limited to '.config')
-rw-r--r--.config/tmux-powerline/segments/mode_insert_copy.sh4
-rw-r--r--.config/tmux-powerline/segments/mode_normal_prefix.sh4
-rw-r--r--.config/tmux-powerline/themes/nord.sh5
-rw-r--r--.config/tmux/tmux.conf2
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