summaryrefslogtreecommitdiff
path: root/.emacs.d/lisp/keys.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2022-12-15 08:42:02 +0200
committerThanos Apollo <[email protected]>2022-12-15 08:42:02 +0200
commit394716cfc096696dc61cc7e9c54bfb32a48083c7 (patch)
tree7bae40fae894d182b4b452a3b8ea7e60687c37d0 /.emacs.d/lisp/keys.el
parented401f6109b60b3405a3a5fcaf0fa7d62dffec78 (diff)
general:Change prefix key, add apollo/center-buffer
Diffstat (limited to '.emacs.d/lisp/keys.el')
-rw-r--r--.emacs.d/lisp/keys.el12
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