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
|
if [[ $dir == *'dotnet'* ]]; then
|
||||||
/home/user/.local/share/JetBrains/Toolbox/apps/rider/bin/rider $dir &
|
/home/user/.local/share/JetBrains/Toolbox/apps/rider/bin/rider $dir &
|
||||||
elif [[ $dir == *'go'* ]]; then
|
return
|
||||||
/home/user/.local/share/JetBrains/Toolbox/scripts/goland $dir &
|
|
||||||
elif [[ $dir == *'devops'* ]]; then
|
|
||||||
/home/user/.local/share/JetBrains/Toolbox/scripts/goland $dir &
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
/home/user/.local/share/JetBrains/Toolbox/scripts/goland $dir &
|
||||||
#sleep 1 && /home/user/.local/share/JetBrains/Toolbox/apps/goland/bin/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() {
|
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 = "<leader>t Tools"
|
||||||
let g:WhichKeyDesc_Tools_Copilot = "<leader>tc Continue"
|
let g:WhichKeyDesc_Tools_Copilot = "<leader>tc Continue"
|
||||||
let g:WhichKeyDesc_Tools_Debug = "<leader>td Debug"
|
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_Terminal = "<leader>tt Terminal"
|
||||||
let g:WhichKeyDesc_tools_mergerequest = "<leader>tm Merge Request"
|
let g:WhichKeyDesc_tools_mergerequest = "<leader>tm Merge Request"
|
||||||
let g:WhichKeyDesc_tools_services = "<leader>ts Services"
|
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>tk <Action>(TUILauncher.k9s)
|
||||||
map <leader>ty <Action>(TUILauncher.yazi)
|
map <leader>ty <Action>(TUILauncher.yazi)
|
||||||
map <leader>tg <Action>(TUILauncher.lazygit)
|
map <leader>tg <Action>(TUILauncher.lazygit)
|
||||||
map <leader>tD <Action)(ActivateDatabaseToolWindow)
|
map <leader>tD <Action>(ActivateDatabaseToolWindow)
|
||||||
|
|
||||||
" Easy visual indentation
|
" Easy visual indentation
|
||||||
vnoremap < <gv
|
vnoremap < <gv
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,7 @@
|
||||||
dnsutils
|
dnsutils
|
||||||
golangci-lint
|
golangci-lint
|
||||||
caffeine-ng
|
caffeine-ng
|
||||||
|
fastfetch
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,9 @@ required_packages_apt:
|
||||||
- distrobox
|
- distrobox
|
||||||
- unattended-upgrades
|
- unattended-upgrades
|
||||||
- timeshift
|
- timeshift
|
||||||
|
- sqlite3
|
||||||
|
- btop
|
||||||
|
- libc++-dev
|
||||||
|
|
||||||
#apt_keys:
|
#apt_keys:
|
||||||
# - https://packages.microsoft.com/keys/microsoft.asc
|
# - https://packages.microsoft.com/keys/microsoft.asc
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue