diff options
Diffstat (limited to '.emacs.d/lisp/keys.el')
-rw-r--r-- | .emacs.d/lisp/keys.el | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/.emacs.d/lisp/keys.el b/.emacs.d/lisp/keys.el index 83ba948..c3ab4d4 100644 --- a/.emacs.d/lisp/keys.el +++ b/.emacs.d/lisp/keys.el @@ -6,24 +6,28 @@ (require 'pdf-tools) ;; my general's leader key! -(defconst general-key "C-;") +(defconst general-key "C-c g") + (define-prefix-command 'window-control-map) (global-set-key (kbd "C-w") 'window-control-map) + (general-create-definer general-does - :prefix general-key) + :prefix general-key) ;; Basic functions (general-define-key "C-d" 'kill-region "C-k" 'copy-region-as-kill) - +;; ; My general does the following: (general-does "t" 'counsel-load-theme "l" 'display-line-numbers-mode "v" 'multi-vterm-next - "e" 'eshell) + "e" 'eshell + "i" 'circe + "c" 'apollo/center-buffer) ;;pdf-tools (general-define-key |