Update private bindings

This commit is contained in:
Henrik Lissner 2017-10-25 14:50:33 +02:00
parent 19ca683f86
commit 8b11a88aa2
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -20,13 +20,11 @@
(map! (map!
;; --- Global keybindings --------------------------- ;; --- Global keybindings ---------------------------
;; Make M-x available everywhere ;; Make M-x available everywhere
:nvime "M-x" #'execute-extended-command :gnvime "M-x" #'execute-extended-command
:nvime "A-x" #'execute-extended-command :gnvime "A-x" #'execute-extended-command
;; Emacs debug utilities ;; Emacs debug utilities
"M-;" #'eval-expression :gnvime "M-;" #'eval-expression
:nvime "M-;" #'eval-expression :gnvime "M-:" #'doom/open-scratch-buffer
"M-:" #'doom/open-scratch-buffer
:nvime "M-:" #'doom/open-scratch-buffer
;; Text-scaling ;; Text-scaling
"M-+" (λ! (text-scale-set 0)) "M-+" (λ! (text-scale-set 0))
"M-=" #'text-scale-increase "M-=" #'text-scale-increase
@ -51,27 +49,26 @@
"M-9" (λ! (+workspace/switch-to 8)) "M-9" (λ! (+workspace/switch-to 8))
"M-0" #'+workspace/switch-to-last "M-0" #'+workspace/switch-to-last
;; Other sensible, textmate-esque global bindings ;; Other sensible, textmate-esque global bindings
"M-r" #'+eval/buffer :ne "M-r" #'+eval/buffer
"M-R" #'+eval/region-and-replace :ne "M-R" #'+eval/region-and-replace
"M-b" #'+eval/build :ne "M-b" #'+eval/build
"M-a" #'mark-whole-buffer :ne "M-a" #'mark-whole-buffer
"M-c" #'evil-yank :ne "M-c" #'evil-yank
"M-q" (if (daemonp) #'delete-frame #'save-buffers-kill-emacs) :ne "M-q" (if (daemonp) #'delete-frame #'save-buffers-kill-emacs)
"M-s" #'save-buffer :ne "M-f" #'swiper
"M-v" #'clipboard-yank :ne "C-M-f" #'doom/toggle-fullscreen
"M-f" #'swiper :n "M-s" #'save-buffer
"C-M-f" #'doom/toggle-fullscreen
:m "A-j" #'+hlissner:multi-next-line :m "A-j" #'+hlissner:multi-next-line
:m "A-k" #'+hlissner:multi-previous-line :m "A-k" #'+hlissner:multi-previous-line
:nv "C-SPC" #'+evil:fold-toggle :nv "C-SPC" #'+evil:fold-toggle
:gnvimer "M-v" #'clipboard-yank
;; Easier window navigation ;; Easier window navigation
:en "C-h" #'evil-window-left :en "C-h" #'evil-window-left
:en "C-j" #'evil-window-down :en "C-j" #'evil-window-down
:en "C-k" #'evil-window-up :en "C-k" #'evil-window-up
:en "C-l" #'evil-window-right :en "C-l" #'evil-window-right
(:prefix "C-x" "C-x p" #'doom/other-popup
"p" #'doom/other-popup)
;; --- <leader> ------------------------------------- ;; --- <leader> -------------------------------------
@ -484,13 +481,12 @@
;; git-timemachine ;; git-timemachine
(:after git-timemachine (:after git-timemachine
(:map git-timemachine-mode-map (:map git-timemachine-mode-map
:nv "p" #'git-timemachine-show-previous-revision :n "C-p" #'git-timemachine-show-previous-revision
:nv "n" #'git-timemachine-show-next-revision :n "C-n" #'git-timemachine-show-next-revision
:nv "g" #'git-timemachine-show-nth-revision :n "[[" #'git-timemachine-show-previous-revision
:nv "q" #'git-timemachine-quit :n "]]" #'git-timemachine-show-next-revision
:nv "w" #'git-timemachine-kill-abbreviated-revision :n "q" #'git-timemachine-quit
:nv "W" #'git-timemachine-kill-revision :n "gb" #'git-timemachine-blame))
:nv "b" #'git-timemachine-blame))
;; gist ;; gist
(:after gist (:after gist