From f60304a239eaa75c5a87a8ed4ec146931f1d1b3c Mon Sep 17 00:00:00 2001 From: vx-clutch Date: Thu, 25 Jul 2024 11:56:10 -0400 Subject: [PATCH] save --- scripts/.scripts/tmux-cht-command | 12 ++++++++++++ scripts/.scripts/tmux-cht-lang | 8 ++++++++ scripts/{cht => .scripts}/tmux-cht.sh | 2 +- scripts/cht/tmux-cht-command | 0 scripts/cht/tmux-cht-lang | 0 tmux/{.tmux.conf => tmux.conf} | 1 + 6 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 scripts/.scripts/tmux-cht-command create mode 100644 scripts/.scripts/tmux-cht-lang rename scripts/{cht => .scripts}/tmux-cht.sh (83%) delete mode 100644 scripts/cht/tmux-cht-command delete mode 100644 scripts/cht/tmux-cht-lang rename tmux/{.tmux.conf => tmux.conf} (52%) diff --git a/scripts/.scripts/tmux-cht-command b/scripts/.scripts/tmux-cht-command new file mode 100644 index 0000000..6fe1f4d --- /dev/null +++ b/scripts/.scripts/tmux-cht-command @@ -0,0 +1,12 @@ +man +ls +grep +cp +mv +rm +ssh +git +stow +docker +docker-compose +make diff --git a/scripts/.scripts/tmux-cht-lang b/scripts/.scripts/tmux-cht-lang new file mode 100644 index 0000000..af04b93 --- /dev/null +++ b/scripts/.scripts/tmux-cht-lang @@ -0,0 +1,8 @@ +golang +c +cpp +lua +python +tmux +bash +zsh diff --git a/scripts/cht/tmux-cht.sh b/scripts/.scripts/tmux-cht.sh similarity index 83% rename from scripts/cht/tmux-cht.sh rename to scripts/.scripts/tmux-cht.sh index 386c695..08ef7c8 100755 --- a/scripts/cht/tmux-cht.sh +++ b/scripts/.scripts/tmux-cht.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -selected=`cat ~/scripts/tmux-cht-languages ~/scripts/tmux-cht-command | fzf` +selected=`cat ~/.scripts/tmux-cht-lang ~/.scripts/tmux-cht-command | fzf` if [[ -z $selected ]]; then exit 0 fi diff --git a/scripts/cht/tmux-cht-command b/scripts/cht/tmux-cht-command deleted file mode 100644 index e69de29..0000000 diff --git a/scripts/cht/tmux-cht-lang b/scripts/cht/tmux-cht-lang deleted file mode 100644 index e69de29..0000000 diff --git a/tmux/.tmux.conf b/tmux/tmux.conf similarity index 52% rename from tmux/.tmux.conf rename to tmux/tmux.conf index 7446096..33d0c37 100644 --- a/tmux/.tmux.conf +++ b/tmux/tmux.conf @@ -1,3 +1,4 @@ unbind C-b set-option -g prefix C-s bind-key C-s send-prefix +bind-key i run-shell "tmux neww ~/.scripts/tmux-cht.sh"