update
This commit is contained in:
parent
e59fa1b32f
commit
266b888ba9
4 changed files with 21 additions and 6 deletions
|
|
@ -82,12 +82,23 @@ goland-new() {
|
|||
|
||||
if [[ $dir == *'dotnet'* ]]; then
|
||||
/home/user/.local/share/JetBrains/Toolbox/apps/rider/bin/rider $dir &
|
||||
elif [[ $dir == *'go'* ]]; then
|
||||
/home/user/.local/share/JetBrains/Toolbox/scripts/goland $dir &
|
||||
elif [[ $dir == *'devops'* ]]; then
|
||||
/home/user/.local/share/JetBrains/Toolbox/scripts/goland $dir &
|
||||
return
|
||||
fi
|
||||
|
||||
/home/user/.local/share/JetBrains/Toolbox/scripts/goland $dir &
|
||||
#sleep 1 && /home/user/.local/share/JetBrains/Toolbox/apps/goland/bin/goland $dir &
|
||||
#
|
||||
name=$(basename "$dir")
|
||||
if [[ $name == .* ]]; then
|
||||
name=${name#.}
|
||||
fi
|
||||
|
||||
tmux has-session -t ${name} 2>/dev/null && {
|
||||
tmux switch-client -t ${name}
|
||||
return
|
||||
}
|
||||
|
||||
tmux new-session -d -s "$name" -c "$dir"
|
||||
}
|
||||
|
||||
switch() {
|
||||
|
|
|
|||
|
|
@ -218,7 +218,7 @@ map <leader>GP <Action>(TUILauncher.glab-ci-view-web)
|
|||
let g:WhichKeyDesc_Tools = "<leader>t Tools"
|
||||
let g:WhichKeyDesc_Tools_Copilot = "<leader>tc Continue"
|
||||
let g:WhichKeyDesc_Tools_Debug = "<leader>td Debug"
|
||||
let g:WhichKeyDesc_Tools_Database = "<leader>td Database"
|
||||
let g:WhichKeyDesc_Tools_Database = "<leader>tD Database"
|
||||
let g:WhichKeyDesc_Tools_Terminal = "<leader>tt Terminal"
|
||||
let g:WhichKeyDesc_tools_mergerequest = "<leader>tm Merge Request"
|
||||
let g:WhichKeyDesc_tools_services = "<leader>ts Services"
|
||||
|
|
@ -235,7 +235,7 @@ map <leader>ts <Action>(ActivateServicesToolWindow)
|
|||
map <leader>tk <Action>(TUILauncher.k9s)
|
||||
map <leader>ty <Action>(TUILauncher.yazi)
|
||||
map <leader>tg <Action>(TUILauncher.lazygit)
|
||||
map <leader>tD <Action)(ActivateDatabaseToolWindow)
|
||||
map <leader>tD <Action>(ActivateDatabaseToolWindow)
|
||||
|
||||
" Easy visual indentation
|
||||
vnoremap < <gv
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@
|
|||
dnsutils
|
||||
golangci-lint
|
||||
caffeine-ng
|
||||
fastfetch
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -27,6 +27,9 @@ required_packages_apt:
|
|||
- distrobox
|
||||
- unattended-upgrades
|
||||
- timeshift
|
||||
- sqlite3
|
||||
- btop
|
||||
- libc++-dev
|
||||
|
||||
#apt_keys:
|
||||
# - https://packages.microsoft.com/keys/microsoft.asc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue