config/default: minor keybind refactor
This commit is contained in:
parent
59b45878e6
commit
46499ec70f
2 changed files with 4 additions and 5 deletions
|
@ -25,7 +25,7 @@
|
||||||
[remap find-tag] #'projectile-find-tag
|
[remap find-tag] #'projectile-find-tag
|
||||||
|
|
||||||
;; Smart tab
|
;; Smart tab
|
||||||
:i [tab] (general-predicate-dispatch nil
|
:i [tab] (general-predicate-dispatch nil ; fall back to nearest keymap
|
||||||
(and (featurep! :feature snippets)
|
(and (featurep! :feature snippets)
|
||||||
(yas-maybe-expand-abbrev-key-filter 'yas-expand))
|
(yas-maybe-expand-abbrev-key-filter 'yas-expand))
|
||||||
'yas-expand
|
'yas-expand
|
||||||
|
|
|
@ -135,16 +135,15 @@
|
||||||
;; Doom's keybinding scheme
|
;; Doom's keybinding scheme
|
||||||
|
|
||||||
(when (featurep! +bindings)
|
(when (featurep! +bindings)
|
||||||
;; Ensure Emacsien motions are available
|
|
||||||
(map! "C-b" #'backward-word
|
|
||||||
"C-f" #'forward-word)
|
|
||||||
|
|
||||||
;; Make M-x more accessible
|
;; Make M-x more accessible
|
||||||
(define-key! 'override
|
(define-key! 'override
|
||||||
"M-x" #'execute-extended-command
|
"M-x" #'execute-extended-command
|
||||||
"A-x" #'execute-extended-command)
|
"A-x" #'execute-extended-command)
|
||||||
|
|
||||||
(define-key!
|
(define-key!
|
||||||
|
;; Ensure Emacsien motions are available
|
||||||
|
"C-b" #'backward-word
|
||||||
|
"C-f" #'forward-word
|
||||||
;; Buffer-local font scaling
|
;; Buffer-local font scaling
|
||||||
"M-+" (λ! (text-scale-set 0))
|
"M-+" (λ! (text-scale-set 0))
|
||||||
"M-=" #'text-scale-increase
|
"M-=" #'text-scale-increase
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue