config has been improved :D

This commit is contained in:
LinlyBoi
2023-11-19 18:08:23 +02:00
parent 2ea792d7fd
commit 6532e3108c

View File

@@ -21,7 +21,7 @@
;; See 'C-h v doom-font' for documentation and more examples of what they
;; accept. For example:
;;
(setq doom-font (font-spec :family "Junicode" :size 12.5))
(setq doom-font (font-spec :family "FiraCode" :size 12.5))
;;(font-spec :family "Fira Code" :size 12.5 :weight 'semi-light)
;; doom-variable-pitch-font (font-spec :family "Fira Sans" :size 13))
;;
@@ -117,11 +117,11 @@
(if (equal (match-string 1) "100%")
;; all done - do the state change
(org-todo 'done)
(org-todo 'todo))
)
(if (and (> (match-end 2) (match-beginning 2))
(equal (match-string 2) (match-string 3)))
(org-todo 'done)
(org-todo 'todo)))))))
))))))
;; ctrl+a and ctrl+x is awesome
(evil-define-key '(normal visual) 'global (kbd "C-a") 'evil-numbers/inc-at-pt)
@@ -248,3 +248,7 @@
(setq org-modern-label-border 0.1)
(global-org-modern-mode)
(add-hook 'python-mode-hook #'flymake-ruff-load)
;; Jetbrains comment keybind )
(evil-define-key '(normal insert) 'global (kbd "C-/") 'comment-line)
(evil-define-key '(visual) 'global (kbd "C-/") 'comment-dwim)
(evil-define-key '(normal visual) 'global (kbd "C-b") 'comment-box)