aboutsummaryrefslogtreecommitdiff
path: root/bard-emacs-modules
diff options
context:
space:
mode:
authorbard <[email protected]>2023-10-29 18:38:30 -0400
committerbard <[email protected]>2023-10-29 18:38:30 -0400
commita6d4776de9530881a35dac0f2ff783c39efbbc03 (patch)
tree7855c77d3a8625e8a31513020eb9e46d55e8e6cb /bard-emacs-modules
parentb07a10e4cc1961aa4cb1dd3b91072c8bc47ce348 (diff)
removed vertico and marginalia and added org-mode key mapping
Diffstat (limited to 'bard-emacs-modules')
-rw-r--r--bard-emacs-modules/bard-emacs-org.el9
-rw-r--r--bard-emacs-modules/bard-emacs-package.el20
2 files changed, 17 insertions, 12 deletions
diff --git a/bard-emacs-modules/bard-emacs-org.el b/bard-emacs-modules/bard-emacs-org.el
index fac098a..df5f9cb 100644
--- a/bard-emacs-modules/bard-emacs-org.el
+++ b/bard-emacs-modules/bard-emacs-org.el
@@ -23,8 +23,13 @@
("DONE" . (:weight bold :weight bold :foreground "#AFD8AF"))
("KILLED" . (:weight bold :weight bold :foreground "#656555"))))
-;; Org Cliplink
-(global-set-key (kbd "C-x p i") 'org-cliplink)
+;; Org Mode Key map
+(defun bard/org-mode-keybindings ()
+ (define-key org-mode-map (kbd "C-c a") 'org-table-align)
+ (define-key org-mode-map (kbd "C-x p i") 'org-cliplink))
+
+(add-hook 'org-mode-hook 'bard/org-mode-keybindings)
+(add-hook 'org-mode-hook 'fly-spell-mode)
;; Org Agenda Faces
(custom-set-faces '(org-agenda-structure ((t (:inherit bold :foreground "#70a89f" :height 1.5 :family "Iosevka Comfy Motion Duo")))))
diff --git a/bard-emacs-modules/bard-emacs-package.el b/bard-emacs-modules/bard-emacs-package.el
index 4c26f57..e174330 100644
--- a/bard-emacs-modules/bard-emacs-package.el
+++ b/bard-emacs-modules/bard-emacs-package.el
@@ -71,17 +71,17 @@
(use-package magit
:ensure t)
-;; Vertico completion
-(use-package vertico
- :ensure t
- :init
- (vertico-mode 1))
+;; ;; Vertico completion
+;; (use-package vertico
+;; :ensure t
+;; :init
+;; (vertico-mode 1))
-;; Marginalia - works with vertico
-(use-package marginalia
- :ensure t
- :init
- (marginalia-mode))
+;; ;; Marginalia - works with vertico
+;; (use-package marginalia
+;; :ensure t
+;; :init
+;; (marginalia-mode))
(use-package company
:ensure t