summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanosApollo <[email protected]>2022-10-22 20:27:15 +0300
committerThanosApollo <[email protected]>2022-10-22 20:27:15 +0300
commitace68a0868b91fe22585ddd303b0e259da6a4b25 (patch)
treee029703543212d6eeae0239a7a488a3abbe4bf71
parent4a13b39bce22046994a700f81e2e2ebe44f6a3d9 (diff)
Update keys
-rw-r--r--.config/doom/config.el21
1 files changed, 12 insertions, 9 deletions
diff --git a/.config/doom/config.el b/.config/doom/config.el
index cc13f2c..b16e29e 100644
--- a/.config/doom/config.el
+++ b/.config/doom/config.el
@@ -122,21 +122,24 @@
(map! :leader
(:prefix-map ("E" . "EWW")
:desc "search" "o" #'eww))
-(define-key (current-global-map) (kbd "s-1") '+workspace/switch-to-0)
-(define-key (current-global-map) (kbd "s-2") '+workspace/switch-to-1)
-(define-key (current-global-map) (kbd "s-3") '+workspace/switch-to-2)
-(define-key (current-global-map) (kbd "s-4") '+workspace/switch-to-3)
-(define-key (current-global-map) (kbd "C-c C-b") 'ibuffer)
+
(define-key (current-global-map) (kbd "s-v") 'evil-window-vsplit)
(define-key (current-global-map) (kbd "s-h") 'evil-window-left)
(define-key (current-global-map) (kbd "s-l") 'evil-window-right)
(define-key (current-global-map) (kbd "s-j") 'evil-window-down)
(define-key (current-global-map) (kbd "s-k") 'evil-window-up)
(define-key (current-global-map) (kbd "s-q") 'evil-window-delete)
-(define-key (current-global-map) (kbd "s-<XF86AudioRaiseVolume>") 'volume-raise-10)
-(define-key (current-global-map) (kbd "s-<XF86AudioLowerVolume>") 'volume-lower-10)
-(define-key (current-global-map) (kbd "C-c C-n") 'neotree)
-(define-key (current-global-map) (kbd "C-c C-u") 'neotree-hide)
+
+(map! :desc "Open iBuffer"
+ :n "C-c C-b" #'ibuffer)
+(map! :desc "Open neotree"
+ :n "C-c C-n" #'neotree)
+(map! :desc "Hide neotree"
+ :n "C-c C-u")
+(map! :desc "Anki sync"
+ :n "C-a C-s" #'org-anki-sync-all)
+(map! :desc "Anki cloze"
+ :n "C-a C-c" #'org-anki-cloze-dwim)
;; Dired
(load! "diredConfig")