This commit is contained in:
thek4n 2024-05-23 23:56:11 +03:00
parent 3955ec6e58
commit 05e37ca221
2 changed files with 5 additions and 2 deletions

View File

@ -12,6 +12,9 @@ return {
build = "make"
},
},
cmd = {
"Telescope"
},
keys = {
{ '<Leader>fb', '<cmd>Telescope buffers<CR>' },
{ '<Leader>ff', '<cmd>Telescope find_files<CR>' },

View File

@ -10,9 +10,9 @@ WORKING_PROJECT="$HOME/dotfiles"
if ! tmux has-session -t "$SESSION"; then
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 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.2" '$EDITOR' Enter
tmux send-keys -t "$SESSION:$MAINW.2" ':Telescope find_files' Enter
fi
tmux switch-client -t "$SESSION"