unbound ctrl+[h,j,k,l] in .bashrc to use for navigation in tmux

added ctrl+[h,j,k,l] to tmux.conf for navigating panes
Please enter the commit message for your changes. Lines starting
This commit is contained in:
quak
2024-10-06 23:55:56 +02:00
parent e9d3755248
commit 9272481b3c
2 changed files with 15 additions and 4 deletions

View File

@@ -5,9 +5,15 @@
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
# unbind shortcuts with ctrl+vim-bindings for navigation in tmux
bind -r "\C-h"
bind -r "\C-j"
bind -r "\C-k"
bind -r "\C-l"
# define aliases
alias ls='ls -hal --color=auto'
alias list='eza -lao --no-permissions --group-directories-first -s=ext --color=always --time-style long-iso'
# alias list='lsd -lA'
alias grep='grep --color=auto'
alias rg='rg --no-ignore -i -n -A 1 -B 1 --color=auto -e'
@@ -35,4 +41,4 @@ source ~/collection/commands/colors.sh
source ~/collection/commands/dunst.sh
# source alias file
source ~/.bash_alias
source ~/.bash_alias