summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore3
-rw-r--r--init.el2
-rw-r--r--lisp/general.el26
-rw-r--r--lisp/org-custom.el4
4 files changed, 21 insertions, 14 deletions
diff --git a/.gitignore b/.gitignore
index fbf1e1c..6ad8cc0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,4 +21,5 @@ tramp
request
games
eln-cache
-.projectile \ No newline at end of file
+.projectile
+session.* \ No newline at end of file
diff --git a/init.el b/init.el
index 5472de7..a564159 100644
--- a/init.el
+++ b/init.el
@@ -70,7 +70,7 @@
'(custom-safe-themes
'("f149d9986497e8877e0bd1981d1bef8c8a6d35be7d82cba193ad7e46f0989f6a" "3c83b3676d796422704082049fc38b6966bcad960f896669dfc21a7a37a748fa" "a27c00821ccfd5a78b01e4f35dc056706dd9ede09a8b90c6955ae6a390eb1c1e" default))
'(package-selected-packages
- '(perfect-margin-mode org-download helm-rg htmlize mood-line org-super-agenda material-theme esup glsl-mode fast-scroll yasnippet-snippets jsdoc helm-slack slack smart-mode-line magit rust-mode xref-js2 web-mode vterm-toggle vscode-dark-plus-theme treemacs-projectile tree-sitter-langs tide tern smartparens rtags req-package rainbow-mode pythonic python-mode perfect-margin org-roam org-notify org-modern org-bullets org-alert minimap markdown-mode json-mode js2-refactor js2-highlight-vars js-doc ido-vertical-mode hl-todo highlight-thing highlight-indent-guides helm-projectile helm-posframe helm-ag good-scroll go-mode git-gutter-fringe git-commit flycheck-irony evil eslint-fix emojify eldoc-box eglot drag-stuff doom-themes dashboard css-eldoc counsel company-quickhelp company-irony cmake-mode cmake-ide auctex all-the-icons ac-js2))
+ '(centered-window perfect-margin-mode org-download helm-rg htmlize mood-line org-super-agenda material-theme esup glsl-mode fast-scroll yasnippet-snippets jsdoc helm-slack slack smart-mode-line magit rust-mode xref-js2 web-mode vterm-toggle vscode-dark-plus-theme treemacs-projectile tree-sitter-langs tide tern smartparens rtags req-package rainbow-mode pythonic python-mode perfect-margin org-roam org-notify org-modern org-bullets org-alert minimap markdown-mode json-mode js2-refactor js2-highlight-vars js-doc ido-vertical-mode hl-todo highlight-thing highlight-indent-guides helm-projectile helm-posframe helm-ag good-scroll go-mode git-gutter-fringe git-commit flycheck-irony evil eslint-fix emojify eldoc-box eglot drag-stuff doom-themes dashboard css-eldoc counsel company-quickhelp company-irony cmake-mode cmake-ide auctex all-the-icons ac-js2))
'(safe-local-variable-values '((js-indent-level . 4)))
'(warning-suppress-types '((comp))))
(custom-set-faces
diff --git a/lisp/general.el b/lisp/general.el
index 6d6973c..9ea8067 100644
--- a/lisp/general.el
+++ b/lisp/general.el
@@ -191,15 +191,15 @@
:ensure t)
;; Emojis
-;; (use-package emojify
-;; :ensure t
-;; :config
-;; (when (member "Segoe UI Emoji" (font-family-list))
-;; (set-fontset-font
-;; t 'symbol (font-spec :family "Segoe UI Emoji") nil 'prepend))
-;; (setq emojify-display-style 'unicode)
-;; (setq emojify-emoji-styles '(unicode))
-;; (bind-key* (kbd "C-c e") #'emojify-insert-emoji)) ; override binding in any mode
+(use-package emojify
+ :ensure t
+ :config
+ (when (member "Segoe UI Emoji" (font-family-list))
+ (set-fontset-font
+ t 'symbol (font-spec :family "Segoe UI Emoji") nil 'prepend))
+ (setq emojify-display-style 'unicode)
+ (setq emojify-emoji-styles '(unicode))
+ (bind-key* (kbd "C-c e") #'emojify-insert-emoji)) ; override binding in any mode
;; icons
(use-package all-the-icons
@@ -209,7 +209,7 @@
;; Global key binds
(bind-key* (kbd "M-.") 'xref-find-definitions)
(bind-key* (kbd "C-x k") 'kill-this-buffer)
-(bind-key* (kbd "C-C ;") 'treemacs)
+(bind-key* (kbd "C-;") 'treemacs)
(defun my-create-file (filename)
"Create a file and refresh neotree. FILENAME File to create."
@@ -363,5 +363,11 @@
(use-package yasnippet-snippets
:ensure t)
+(use-package centered-window
+ :ensure t
+ :config
+ (setq cwm-centered-window-width 180)
+ (centered-window-mode t))
+
(provide 'general)
;;; general.el ends here
diff --git a/lisp/org-custom.el b/lisp/org-custom.el
index 7d36bfb..32247e6 100644
--- a/lisp/org-custom.el
+++ b/lisp/org-custom.el
@@ -76,7 +76,7 @@
'(("d" "default" entry
"* %?"
:target (file+head "%<%Y-%m-%d>.org"
- "#+title: %<%Y-%m-%d>\n#+filetags: :dailies:\n\n* Timeline\n\n* Notes\n\n* Questions\n\n"))))
+ "#+title: %<%Y-%m-%d> 📰 \n#+filetags: :dailies:\n\n* Timeline\n\n* Notes\n\n* Questions\n\n"))))
(org-roam-setup)
)
@@ -84,7 +84,7 @@
'(("t" "Todo" entry (file+headline org-default-notes-file "Tasks")
"* TODO %?\n DEADLINE: %t")
("n" "Quick Notes" entry (file+headline org-default-notes-file "Quick Notes")
- "* %?Created on %U\n %i")))
+ "* %?\n Created on %U\n %i")))
(defun org-archive-done-tasks ()
"Archive all done tasks in an org subtree"