Change keybindings
This commit is contained in:
parent
3870149fa1
commit
f1aecca44e
23
config.org
23
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 "<M-RET>") 'eshell)
|
||||
(add-hook 'org-mode-hook
|
||||
(lambda ()
|
||||
(local-unset-key (kbd "<M-RET>"))))
|
||||
#+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 "<M-RET>") 'eshell)
|
||||
|
||||
;; (exwm-input-set-key (kbd "s-i") 'exwm-input-toggle-keyboard)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue