Commentary on keybindings
This commit is contained in:
parent
b794d252be
commit
857b7ebfbf
@ -15,14 +15,17 @@
|
|||||||
"q" (general-key-dispatch 'self-insert-command
|
"q" (general-key-dispatch 'self-insert-command
|
||||||
:timeout 0.25
|
:timeout 0.25
|
||||||
"q" 'toggle-input-method))
|
"q" 'toggle-input-method))
|
||||||
|
;; Zoom, for bad resolutions (windows)
|
||||||
(general-define-key
|
(general-define-key
|
||||||
"<escape>" 'keyboard-escape-quit
|
"<escape>" 'keyboard-escape-quit
|
||||||
"C--" 'text-scale-decrease
|
"C--" 'text-scale-decrease
|
||||||
"C-=" 'text-scale-increase)
|
"C-=" 'text-scale-increase)
|
||||||
|
;; evil visual line mode, not sure why re-implemented
|
||||||
(general-define-key
|
(general-define-key
|
||||||
:states 'motion
|
:states 'motion
|
||||||
"j" 'evil-next-visual-line
|
"j" 'evil-next-visual-line
|
||||||
"k" 'evil-previous-visual-line)
|
"k" 'evil-previous-visual-line)
|
||||||
|
;; we are not spacemacs, but we might be
|
||||||
(general-define-key
|
(general-define-key
|
||||||
:states '(normal visual)
|
:states '(normal visual)
|
||||||
:prefix "SPC"
|
:prefix "SPC"
|
||||||
@ -32,6 +35,7 @@
|
|||||||
"b" 'ibuffer
|
"b" 'ibuffer
|
||||||
"g" 'magit
|
"g" 'magit
|
||||||
"SPC" 'evil-buffer)
|
"SPC" 'evil-buffer)
|
||||||
|
;; SPC shortcuts for lisp. Works with anything that uses the default emacs binds
|
||||||
(general-define-key
|
(general-define-key
|
||||||
:states '(normal visual)
|
:states '(normal visual)
|
||||||
:prefix-command 'eval-map-prefix
|
:prefix-command 'eval-map-prefix
|
||||||
|
Loading…
Reference in New Issue
Block a user