summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/doom/config.el64
1 files changed, 28 insertions, 36 deletions
diff --git a/.config/doom/config.el b/.config/doom/config.el
index 807360e..ee3479f 100644
--- a/.config/doom/config.el
+++ b/.config/doom/config.el
@@ -36,7 +36,7 @@
;; There are two ways to load a theme. Both assume the theme is installed and
;; available. You can either set `doom-theme' or manually load a theme with the
;; `load-theme' function. This is the default:
-(setq doom-theme 'doom-vibrant)
+(setq doom-theme 'doom-ir-black)
(setq modus-themes-mode-line '(accented boarderless))
(setq modus-themes-region '(bg-only))
@@ -102,21 +102,6 @@
)
-;; Dired
-(load! "diredConfig")
-;;Telega
-(load! "telegaConfig")
-;; EXWM
-;;(load! "myExwm")
-;;Elfeed
-(load! "elfeedConfig")
-;; Org
-(load! "orgConfig")
-(load! "orgThemes")
-
-
-
-
(defvar my-linum-current-line-number)
(setq linum-format 'my-linum-relative-line-numbers)
@@ -132,31 +117,38 @@
ad-do-it))
(ad-activate 'linum-update)
-;;Playerctl
-(require 'playerctl)
-(map! :leader
- (:prefix-map ("m" . "Music")
- :desc "Play/Pause" "p" #'playerctl-play-pause-song
- :desc "Next" "n" #'playerctl-next-song
- :desc "Back" "b" #'playerctl-previous-song
- ))
-
;; EWW
(require 'eww)
(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)
+
+;; Dired
+(load! "diredConfig")
+;;Telega
+(load! "telegaConfig")
+;;Elfeed
+(load! "elfeedConfig")
+;; Org
+(load! "orgConfig")
+(load! "orgThemes")
-;; Emmet
-(require 'emmet-mode)
-(add-hook 'sgml-mode-hook 'emmet-mode) ;; Auto-start on any markup modes
-(add-hook 'css-mode-hook 'emmet-mode) ;; enable Emmet's css abbreviation.
-(add-hook 'emmet-mode-hook (lambda () (setq emmet-indent-after-insert nil)))
-(add-hook 'emmet-mode-hook (lambda () (setq emmet-indentation 2))) ;; indent 2 spaces.
-(setq emmet-move-cursor-between-quotes t) ;; default nil
-(setq emmet-move-cursor-after-expanding nil) ;; default t
-(setq emmet-self-closing-tag-style " /") ;; default "/"
-;; only " /", "/" and "" are valid.
-;; eg. <meta />, <meta/>, <meta>
+;; EXWM
+;;(load! "myExwm")
(apollo/org-colors-primary)