diff --git a/config.org b/config.org index 48a157f..0e24262 100644 --- a/config.org +++ b/config.org @@ -341,6 +341,15 @@ Midnight mode will automatically clear up configured buffers or buffers that hav #+END_SRC ** Custom +*** Eshell Terminal Bind +Bind the eshell terminal to Alt-Enter +Set keys: +#+BEGIN_SRC emacs-lisp + (global-set-key (kbd "") 'eshell) + (add-hook 'org-mode-hook + (lambda () + (local-unset-key (kbd "")))) +#+END_SRC *** Auto Popup frame Mode A mode that is similiar in functionality to pop-up-frame, however much more granular in control and toggleable as it is mode. Will stop duplicate windows from creating new frames etc. @@ -1289,16 +1298,16 @@ Install the package, enable it and ensure that it always is installed, and then ([?\s-i] . exwm-input-toggle-keyboard) ;; Switch one workspace to the left - ([?\s-h] . exwm-switch-workspace-left) + ([?\M-h] . exwm-switch-workspace-left) ;; Switch one workspace to the right - ([?\s-l] . exwm-switch-workspace-right) + ([?\M-l] . exwm-switch-workspace-right) ;; Swap current workspace with one workspace to the left - ([?\s-H] . exwm-swap-workspace-left) + ([?\M-H] . exwm-swap-workspace-left) ;; Swap current workspace with one workspace to the left - ([?\s-L] . exwm-swap-workspace-right) + ([?\M-L] . exwm-swap-workspace-right) ;; Bindings for Edwina @@ -1323,7 +1332,11 @@ Install the package, enable it and ensure that it always is installed, and then )) ;; Could not integrate these into the exwm global keys variable, for some reason they do not work in NIXOS - (exwm-input-set-key (kbd "s-SPC") 'counsel-linux-app) + (exwm-input-set-key (kbd "M-d") 'counsel-linux-app) + + (exwm-input-set-key (kbd "C-M-p") 'ivy-pass) + + (exwm-input-set-key (kbd "") 'eshell) ;; (exwm-input-set-key (kbd "s-i") 'exwm-input-toggle-keyboard)