عجفت الغور

emacs

Tags: computers

Tramp bastion:

/ssh:bird@bastion|ssh:you@remotehost:/path

Tramp sudo:

/ssh:you@remote|sudo:remote:/path

Optimizations

Spacemacs export

Load all layers and call a function defined in dotspacemacs/user-config:

  • (run-hooks 'emacs-startup-hook) actually loads dotspacemacs/user-config
emacs --batch -l ~/.emacs.d/init.el  --eval "(run-hooks 'emacs-startup-hook)" --eval "(configuration-layer//load)"  --eval '(org-roam-db-autosync-mode)' --eval '(org-roam-export-all)' > ~/emacs-export.log 2>&1