From dbd3ac600cd4ed62e625f59f9d504d687381e455 Mon Sep 17 00:00:00 2001 From: lorenzhohermuth Date: Wed, 15 May 2024 11:34:24 +0200 Subject: [PATCH] cht.sh js added, .tmux.conf prefix + n opens new window in same location --- .tmux.conf | 6 ++++++ cht.sh | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.tmux.conf b/.tmux.conf index 8a5a546..32a99c0 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -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}" diff --git a/cht.sh b/cht.sh index f6e2582..0927f3f 100755 --- a/cht.sh +++ b/cht.sh @@ -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`