config/default: minor keybind refactor

This commit is contained in:
Henrik Lissner 2018-12-31 15:54:55 -05:00
parent 59b45878e6
commit 46499ec70f
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 4 additions and 5 deletions

View file

@ -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

View file

@ -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