summaryrefslogtreecommitdiff
path: root/.config/emacs/Emacs.org
diff options
context:
space:
mode:
authorJackJ30 <jackqjamison@proton.me>2024-09-13 00:09:43 -0400
committerJackJ30 <jackqjamison@proton.me>2024-09-13 00:09:43 -0400
commit2b110ca6e83b322bd11ac2ff25228a7774db9ae4 (patch)
treeee877894041575e992ecbfba21d9cad667c0ebe8 /.config/emacs/Emacs.org
parent0ddd38e5fa62949d1161d06c7c70ee9ff135ebdb (diff)
emacs config
Diffstat (limited to '.config/emacs/Emacs.org')
-rw-r--r--.config/emacs/Emacs.org23
1 files changed, 13 insertions, 10 deletions
diff --git a/.config/emacs/Emacs.org b/.config/emacs/Emacs.org
index 04d1965..a98f70f 100644
--- a/.config/emacs/Emacs.org
+++ b/.config/emacs/Emacs.org
@@ -296,7 +296,7 @@
(defun org-babel-tangle-config ()
(when (string-equal (buffer-file-name) (expand-file-name "~/.dotfiles/.config/emacs/Emacs.org"))
- ;; Dynamic scoping to the rescue
+ ;; Dynamic scoping to the rescuennnn
(let ((org-confirm-babel-evaluate nil))
(org-babel-tangle))))
@@ -410,20 +410,23 @@ best git frontend ever
:ensure t
:commands lsp-treemacs-errors-list)
+ (use-package expand-region)
+ (global-set-key (kbd "C-=") 'er/expand-region)
+
;; company
(use-package company
:ensure t
:diminish
:config
(setq company-show-numbers t
- company-minimum-prefix-length 1
- company-idle-delay 0
- company-backends
- '((company-files ; files & directory
- company-keywords ; keywords
- company-capf ; what is this?
- company-yasnippet)
- (company-abbrev company-dabbrev)))
+ company-minimum-prefix-length 1
+ company-idle-delay 0
+ company-backends
+ '((company-files
+ company-keywords
+ company-capf
+ company-yasnippet)
+ (company-abbrev company-dabbrev)))
(global-company-mode +1))
(use-package clang-format)
@@ -457,7 +460,7 @@ best git frontend ever
(lambda () (require 'ccls) (lsp)))
(setq ccls-executable "/usr/local/bin/ccls")
(setq ccls-initialization-options
- '(:index (:comments 2) :completion (:detailedLabel t))))
+ '(:index (:comments 2) :completion (:detailedLabel t))))
(use-package srefactor
:ensure t