cht.sh js added, .tmux.conf prefix + n opens new window in same location
This commit is contained in:
parent
c82f56359d
commit
dbd3ac600c
|
@ -65,6 +65,12 @@ run '~/.tmux/plugins/tpm/tpm'
|
||||||
bind '"' split-window -v -c "#{pane_current_path}"
|
bind '"' split-window -v -c "#{pane_current_path}"
|
||||||
bind % split-window -h -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 i run-shell "tmux neww ~/dotfiles/cht.sh"
|
||||||
bind-key -r e run-shell "tmux neww nautilus --browser #{pane_current_path}"
|
bind-key -r e run-shell "tmux neww nautilus --browser #{pane_current_path}"
|
||||||
|
|
||||||
|
|
2
cht.sh
2
cht.sh
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/bash
|
#!/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'`
|
core_utils=`echo "docker docker-compose find mv sed awk" | tr ' ' '\n'`
|
||||||
|
|
||||||
selected=`printf "$languages\n$core_utils" | fzf`
|
selected=`printf "$languages\n$core_utils" | fzf`
|
||||||
|
|
Loading…
Reference in New Issue