save
This commit is contained in:
12
scripts/.scripts/tmux-cht-command
Normal file
12
scripts/.scripts/tmux-cht-command
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
man
|
||||||
|
ls
|
||||||
|
grep
|
||||||
|
cp
|
||||||
|
mv
|
||||||
|
rm
|
||||||
|
ssh
|
||||||
|
git
|
||||||
|
stow
|
||||||
|
docker
|
||||||
|
docker-compose
|
||||||
|
make
|
||||||
8
scripts/.scripts/tmux-cht-lang
Normal file
8
scripts/.scripts/tmux-cht-lang
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
golang
|
||||||
|
c
|
||||||
|
cpp
|
||||||
|
lua
|
||||||
|
python
|
||||||
|
tmux
|
||||||
|
bash
|
||||||
|
zsh
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/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
|
if [[ -z $selected ]]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
@@ -1,3 +1,4 @@
|
|||||||
unbind C-b
|
unbind C-b
|
||||||
set-option -g prefix C-s
|
set-option -g prefix C-s
|
||||||
bind-key C-s send-prefix
|
bind-key C-s send-prefix
|
||||||
|
bind-key i run-shell "tmux neww ~/.scripts/tmux-cht.sh"
|
||||||
Reference in New Issue
Block a user