cht.sh js added, .tmux.conf prefix + n opens new window in same location

This commit is contained in:
Lorenz Hohermuth 2024-05-15 11:34:24 +02:00
parent c82f56359d
commit dbd3ac600c
2 changed files with 7 additions and 1 deletions

View File

@ -65,6 +65,12 @@ run '~/.tmux/plugins/tpm/tpm'
bind '"' split-window -v -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
unbind C-n
unbind n
unbind C-p
unbind p
bind-key -r n new-window -c "#{pane_current_path}"
bind-key -r i run-shell "tmux neww ~/dotfiles/cht.sh"
bind-key -r e run-shell "tmux neww nautilus --browser #{pane_current_path}"

2
cht.sh
View File

@ -1,6 +1,6 @@
#!/usr/bin/bash
languages=`echo "golang lua java bash" | tr ' ' '\n'`
languages=`echo "golang lua java bash js" | tr ' ' '\n'`
core_utils=`echo "docker docker-compose find mv sed awk" | tr ' ' '\n'`
selected=`printf "$languages\n$core_utils" | fzf`