updated tmux shortcuts via aliases
This commit is contained in:
parent
ca8adc914a
commit
e2326bc341
1 changed files with 7 additions and 1 deletions
|
|
@ -2,7 +2,10 @@
|
||||||
# ~/.bashrc
|
# ~/.bashrc
|
||||||
#
|
#
|
||||||
neofetch
|
neofetch
|
||||||
# enable vi keybindings in terminal and terminal applications
|
|
||||||
|
# create custom env variables:
|
||||||
|
export CPROJ="/home/brian/Documents/Code/python/python_crash_course/projects/alien_invasion"
|
||||||
|
#enable vi keybindings in terminal and terminal applications
|
||||||
set -o vi
|
set -o vi
|
||||||
|
|
||||||
# but keep ctrl l as the clear screen command
|
# but keep ctrl l as the clear screen command
|
||||||
|
|
@ -189,6 +192,9 @@ alias tree="tree -ad -L 3 --prune -C"
|
||||||
alias {nv,nvi}="nvim"
|
alias {nv,nvi}="nvim"
|
||||||
alias {mymux,memux,mmux}="tmux new-session \; send-keys 'nvim' C-m\; split-window -v -p 5\; send-keys 'clear' C-m\; select-pane -t 0\;"
|
alias {mymux,memux,mmux}="tmux new-session \; send-keys 'nvim' C-m\; split-window -v -p 5\; send-keys 'clear' C-m\; select-pane -t 0\;"
|
||||||
alias cproj="cd '$CPROJ' && mmux"
|
alias cproj="cd '$CPROJ' && mmux"
|
||||||
|
alias tls="tmux ls"
|
||||||
|
alias ta="tmux a"
|
||||||
|
alias tkill="tmux kill-ses -t"
|
||||||
alias {mi,mic}="micro"
|
alias {mi,mic}="micro"
|
||||||
alias {mysql,maria,mdb}="mariadb"
|
alias {mysql,maria,mdb}="mariadb"
|
||||||
alias {ss,wi,ssid}="doas iw wlan0 scan | grep SSID"
|
alias {ss,wi,ssid}="doas iw wlan0 scan | grep SSID"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue