summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2021-10-08 16:42:45 -0700
committerNicholas Noll <nbnoll@eml.cc>2021-10-08 16:42:45 -0700
commit6341b09c80890340e886b7f3c5ead6eb904222e0 (patch)
treee9a37346117f6ea4c06d641622f4969120daea2c
parent088b8bd375c1ab5ef9dd445e941f6e0000bd1e52 (diff)
feat(tmux): allow for mouse
-rw-r--r--.config/fish/config.fish13
-rw-r--r--.config/fish/fish_variables5
-rw-r--r--.config/tmux/config3
3 files changed, 11 insertions, 10 deletions
diff --git a/.config/fish/config.fish b/.config/fish/config.fish
index 02d715e..0341dc1 100644
--- a/.config/fish/config.fish
+++ b/.config/fish/config.fish
@@ -11,7 +11,7 @@ set -g -x PATH $PATH "$HOME/code/bio/pangraph/bin"
set -g -x MAILCAPS /home/nolln/.config/mutt/mailcap
set -g -x TEXINPUTS .:/home/nolln/docs//:/usr/share/texmf-dist/tex//
set -g -x QT_QPA_PLATFORM xcb
-set -g -x LS_COLORS 'ow=36:di=34:fi=0:ex=32:ln=35:'
+set -g -x LS_COLORS 'di=34:ln=35:so=32:pi=33:ex=32:bd=34;46:cd=34:su=0:sg=0:tw=0:ow=0:*.gz=01;31:*.tgz=01;31:*.zip=01;31:*.xz=01;31'
set -g -x JULIA_NUM_THREADS 4
@@ -25,11 +25,7 @@ set PAGER less -r
# Set to Vim modal editing
fish_vi_key_bindings
-# Remove greeting
-set -U fish_greeting
-
# Useful aliases
-# set -xU LS_COLORS "di=34:ln=35:so=32:pi=33:ex=32:bd=34;46:cd=34:su=0:sg=0:tw=0:ow=0:*.gz=01;31:*.tgz=01;31:*.zip=01;31"
alias ls='ls -hlS --color=auto'
alias ll='ls -alF'
alias la='ls -A'
@@ -65,10 +61,11 @@ alias umnt-cluster='umount $HOME/mnt/cluster'
# Prompt configuration.
set PURE_REVERSE_PROMPT_SYMBOL_IN_VIMODE false
-# Colored man pages
-set -xU LESS_TERMCAP_md (printf "\e[01;31m")
+#Colored man pages
+set -xU LESS_TERMCAP_mb (printf "\e[01;34m")
+set -xU LESS_TERMCAP_md (printf "\e[01;34m")
set -xU LESS_TERMCAP_me (printf "\e[0m")
set -xU LESS_TERMCAP_se (printf "\e[0m")
set -xU LESS_TERMCAP_so (printf "\e[01;44;33m")
set -xU LESS_TERMCAP_ue (printf "\e[0m")
-set -xU LESS_TERMCAP_us (printf "\e[01;32m")
+set -xU LESS_TERMCAP_us (printf "\e[01;4;32m")
diff --git a/.config/fish/fish_variables b/.config/fish/fish_variables
index afb28e2..95aa534 100644
--- a/.config/fish/fish_variables
+++ b/.config/fish/fish_variables
@@ -5,12 +5,13 @@ SETUVAR FZF_LEGACY_KEYBINDINGS:0
SETUVAR FZF_PREVIEW_DIR_CMD:ls
SETUVAR FZF_PREVIEW_FILE_CMD:head\x20\x2dn\x2010
SETUVAR FZF_TMUX_HEIGHT:40\x25
-SETUVAR --export LESS_TERMCAP_md:\x1b\x5b01\x3b31m
+SETUVAR --export LESS_TERMCAP_mb:\x1b\x5b01\x3b34m
+SETUVAR --export LESS_TERMCAP_md:\x1b\x5b01\x3b34m
SETUVAR --export LESS_TERMCAP_me:\x1b\x5b0m
SETUVAR --export LESS_TERMCAP_se:\x1b\x5b0m
SETUVAR --export LESS_TERMCAP_so:\x1b\x5b01\x3b44\x3b33m
SETUVAR --export LESS_TERMCAP_ue:\x1b\x5b0m
-SETUVAR --export LESS_TERMCAP_us:\x1b\x5b01\x3b32m
+SETUVAR --export LESS_TERMCAP_us:\x1b\x5b01\x3b4\x3b32m
SETUVAR __fish_init_2_39_8:\x1d
SETUVAR __fish_init_2_3_0:\x1d
SETUVAR __fish_init_3_x:\x1d
diff --git a/.config/tmux/config b/.config/tmux/config
index a8e9d49..0c13432 100644
--- a/.config/tmux/config
+++ b/.config/tmux/config
@@ -10,6 +10,9 @@ bind-key ` send-prefix
# Stay in the vi world
setw -g mode-keys vi
+# Use mouse
+set -g mouse on
+
# Change split creation tools
bind | split-window -h
bind _ split-window -v