refs
This commit is contained in:
parent
3955ec6e58
commit
05e37ca221
@ -12,6 +12,9 @@ return {
|
|||||||
build = "make"
|
build = "make"
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
cmd = {
|
||||||
|
"Telescope"
|
||||||
|
},
|
||||||
keys = {
|
keys = {
|
||||||
{ '<Leader>fb', '<cmd>Telescope buffers<CR>' },
|
{ '<Leader>fb', '<cmd>Telescope buffers<CR>' },
|
||||||
{ '<Leader>ff', '<cmd>Telescope find_files<CR>' },
|
{ '<Leader>ff', '<cmd>Telescope find_files<CR>' },
|
||||||
|
|||||||
@ -10,9 +10,9 @@ WORKING_PROJECT="$HOME/dotfiles"
|
|||||||
if ! tmux has-session -t "$SESSION"; then
|
if ! tmux has-session -t "$SESSION"; then
|
||||||
tmux new-session -s "$SESSION" -d -n "$MAINW" -c "$WORKING_PROJECT"
|
tmux new-session -s "$SESSION" -d -n "$MAINW" -c "$WORKING_PROJECT"
|
||||||
tmux splitw -t "$SESSION:$MAINW" -d -b -h -l "$_tmux_new_pane_size" -c '#{pane_current_path}'
|
tmux splitw -t "$SESSION:$MAINW" -d -b -h -l "$_tmux_new_pane_size" -c '#{pane_current_path}'
|
||||||
tmux send-keys -t "$SESSION:$MAINW.2" '$EDITOR' Enter
|
|
||||||
tmux send-keys -t "$SESSION:$MAINW.2" , f f
|
|
||||||
tmux send-keys -t "$SESSION:$MAINW.1" "git pull" Enter
|
tmux send-keys -t "$SESSION:$MAINW.1" "git pull" Enter
|
||||||
|
tmux send-keys -t "$SESSION:$MAINW.2" '$EDITOR' Enter
|
||||||
|
tmux send-keys -t "$SESSION:$MAINW.2" ':Telescope find_files' Enter
|
||||||
fi
|
fi
|
||||||
|
|
||||||
tmux switch-client -t "$SESSION"
|
tmux switch-client -t "$SESSION"
|
||||||
Loading…
x
Reference in New Issue
Block a user