summaryrefslogtreecommitdiff
path: root/.config/doom
diff options
context:
space:
mode:
Diffstat (limited to '.config/doom')
-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")