update
This commit is contained in:
parent
e4fc8f57e8
commit
ccba1d63d6
2 changed files with 11 additions and 9 deletions
|
|
@ -198,9 +198,11 @@ map <leader>ns <action>(NewScratchFile)
|
|||
|
||||
" Git windows
|
||||
let g:WhichKeyDesc_git = "<leader>G Git/Go Operations"
|
||||
let g:WhichKeyDesc_git_lazygit = "<leader>Gg Lazygit"
|
||||
let g:WhichKeyDesc_git_commit = "<leader>Gc Open Git commit dialog"
|
||||
let g:WhichKeyDesc_git_branches = "<leader>Gb Open Git branches list"
|
||||
let g:WhichKeyDesc_git_pull = "<leader>Gp Open Git Pull"
|
||||
map <leader>Gg <Action>(TUILauncher.lazygit)
|
||||
map <leader>Gc <Action>(CheckinProject)
|
||||
map <leader>Gb <Action>(Git.Branches)
|
||||
map <leader>Gp <Action>(Git.Pull)
|
||||
|
|
|
|||
18
.zshrc
18
.zshrc
|
|
@ -18,16 +18,16 @@ done
|
|||
unset conf
|
||||
|
||||
if command -v tmux &> /dev/null && [[ "$TERMINAL_EMULATOR" == "JetBrains-JediTerm" ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ]; then
|
||||
cwd=$(pwd)
|
||||
session_name="zJediTerm-$(basename "$cwd" | tr -d '.')"
|
||||
#cwd=$(pwd)
|
||||
#session_name="zJediTerm-$(basename "$cwd" | tr -d '.')"
|
||||
|
||||
if tmux has-session -t $session_name; then
|
||||
tmux attach -t $session_name
|
||||
else
|
||||
tmux new-session -s $session_name -c $cwd -d
|
||||
tmux send-keys -t $session_name "tmux set-option status off;clear" Enter
|
||||
tmux attach -t $session_name
|
||||
fi
|
||||
#if tmux has-session -t $session_name; then
|
||||
# tmux attach -t $session_name
|
||||
#else
|
||||
# tmux new-session -s $session_name -c $cwd -d
|
||||
# tmux send-keys -t $session_name "tmux set-option status off;clear" Enter
|
||||
# tmux attach -t $session_name
|
||||
#fi
|
||||
fi
|
||||
|
||||
if command -v tmux &> /dev/null && [[ ! "$TERMINAL_EMULATOR" == "JetBrains-JediTerm" ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue