This commit is contained in:
zendesk-acicchetti 2022-03-24 08:57:16 -04:00
parent 51a8497c59
commit 665ea59a02
3 changed files with 10 additions and 3 deletions

View file

@ -139,7 +139,7 @@
;;idris ; a language you can depend on ;;idris ; a language you can depend on
(json +lsp) ; At least it ain't XML (json +lsp) ; At least it ain't XML
;;(java +meghanada) ; the poster child for carpal tunnel syndrome ;;(java +meghanada) ; the poster child for carpal tunnel syndrome
;;javascript ; all(hope(abandon(ye(who(enter(here)))))) (javascript +lsp) ; all(hope(abandon(ye(who(enter(here))))))
;;julia ; a better, faster MATLAB ;;julia ; a better, faster MATLAB
;;kotlin ; a better, slicker Java(Script) ;;kotlin ; a better, slicker Java(Script)
;;latex ; writing papers in Emacs has never been so fun ;;latex ; writing papers in Emacs has never been so fun

View file

@ -7,13 +7,16 @@ spoon.SpoonInstall.use_syncinstall = true
spoon.SpoonInstall:andUse("WindowScreenLeftAndRight") spoon.SpoonInstall:andUse("WindowScreenLeftAndRight")
spoon.SpoonInstall:andUse("WindowHalfsAndThirds") spoon.SpoonInstall:andUse("WindowHalfsAndThirds")
spoon.SpoonInstall:andUse("Commander") spoon.SpoonInstall:andUse("Commander")
spoon.SpoonInstall:andUse("ReloadConfiguration")
TERMINAL_NAME = "WezTerm" TERMINAL_NAME = "iTerm"
spoon.WindowScreenLeftAndRight:bindHotkeys(spoon.WindowScreenLeftAndRight.defaultHotkeys) spoon.WindowScreenLeftAndRight:bindHotkeys(spoon.WindowScreenLeftAndRight.defaultHotkeys)
spoon.WindowHalfsAndThirds:bindHotkeys(spoon.WindowHalfsAndThirds.defaultHotkeys) spoon.WindowHalfsAndThirds:bindHotkeys(spoon.WindowHalfsAndThirds.defaultHotkeys)
spoon.ReloadConfiguration:start()
hs.hotkey.bind({"cmd", "alt", "ctrl"}, "SPACE", function () hs.hotkey.bind({"cmd", "alt", "ctrl"}, "SPACE", function ()
spoon.Commander.show() spoon.Commander.show()
end) end)

View file

@ -109,7 +109,11 @@ function dt() {
local session_name local session_name
session_name=${1:-DefaultSession} session_name=${1:-DefaultSession}
zellij attach -c $session_name if [[ "${SESSION_MANAGER}" == "tmux" ]]; then
tmux -u -2 new-session -A -s $session_name
else
zellij attach -c $session_name
fi
} }
function send-to-pane() { function send-to-pane() {