summaryrefslogtreecommitdiffstats
path: root/.config/emacs
diff options
context:
space:
mode:
Diffstat (limited to '.config/emacs')
-rw-r--r--.config/emacs/init.el2
-rw-r--r--.config/emacs/org/config.org80
2 files changed, 42 insertions, 40 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
index c14f2e8..c57badf 100644
--- a/.config/emacs/init.el
+++ b/.config/emacs/init.el
@@ -41,7 +41,7 @@
'(jdee-db-spec-breakpoint-face-colors (cons "#1c1f2b" "#676E95"))
'(objed-cursor-color "#ff5370")
'(package-selected-packages
- '(gemini-mode org-evil glsl-mode vimrc-mode windresize evil evil-collection evil-leader evil-search-highlight-persist evil-mc evil-surround evil-ediff evil-visual-mark-mode evil-nerd-commenter evil-vimish-fold evil-numbers lsp-mode lsp-treemacs lsp-ui ccls yasnippet yasnippet-classic-snippets yasnippet-snippets auto-yasnippet el-autoyas helm helm-xref helm-lsp helm-etags-plus helm-fuzzy helm-themes helm-make helm-projectile projectile company company-box which-key dap-mode magit undo-tree shell-pop treemacs treemacs-projectile treemacs-magit treemacs-evil autopair paredit rainbow-delimiters color-identifiers-mode ibuffer-vc ibuffer-projectile eyebrowse diff-hl fzf font-utils restart-emacs string-utils dired-icon kaolin-themes gruvbox-theme doom-themes spacemacs-theme doom-modeline dashboard org-superstar toc-org pdf-tools dockerfile-mode web-mode ssh sudo-ext vimish-fold bind-key all-the-icons all-the-icons-dired all-the-icons-ibuffer))
+ '(helm-w3m w3m gemini-mode org-evil glsl-mode vimrc-mode windresize evil evil-collection evil-leader evil-search-highlight-persist evil-mc evil-surround evil-ediff evil-visual-mark-mode evil-nerd-commenter evil-vimish-fold evil-numbers yasnippet yasnippet-classic-snippets yasnippet-snippets auto-yasnippet el-autoyas helm helm-xref helm-etags-plus helm-fuzzy helm-themes helm-make helm-projectile projectile company company-box which-key magit undo-tree shell-pop treemacs treemacs-projectile treemacs-magit treemacs-evil autopair paredit rainbow-delimiters color-identifiers-mode ibuffer-vc ibuffer-projectile eyebrowse diff-hl fzf font-utils restart-emacs string-utils dired-icon kaolin-themes gruvbox-theme doom-themes spacemacs-theme doom-modeline dashboard org-superstar toc-org pdf-tools dockerfile-mode web-mode ssh sudo-ext vimish-fold bind-key all-the-icons all-the-icons-dired all-the-icons-ibuffer))
'(pdf-view-midnight-colors (cons "#EEFFFF" "#292D3E"))
'(pos-tip-background-color "#2E2A29")
'(pos-tip-foreground-color "#d4d4d6")
diff --git a/.config/emacs/org/config.org b/.config/emacs/org/config.org
index 457cb78..8c0bab7 100644
--- a/.config/emacs/org/config.org
+++ b/.config/emacs/org/config.org
@@ -63,44 +63,45 @@
(add-to-list 'load-path "~/.config/emacs/all-the-icons-dired/")
(setq package-selected-packages '(
- evil evil-collection evil-leader
- evil-search-highlight-persist evil-mc evil-surround evil-ediff
- evil-visual-mark-mode evil-nerd-commenter evil-vimish-fold
- evil-numbers
- lsp-mode lsp-treemacs lsp-ui
- ccls
- yasnippet yasnippet-classic-snippets yasnippet-snippets auto-yasnippet el-autoyas
- helm helm-xref helm-lsp helm-etags-plus helm-fuzzy helm-themes helm-make helm-projectile
- projectile
- company company-box
- which-key dap-mode
- magit
- undo-tree
- shell-pop
- treemacs treemacs-projectile treemacs-magit treemacs-evil
- autopair paredit
- rainbow-delimiters
- color-identifiers-mode
- ibuffer-vc ibuffer-projectile
- eyebrowse
- diff-hl
- fzf
- font-utils
- restart-emacs
- string-utils
- dired-icon
- kaolin-themes gruvbox-theme doom-themes spacemacs-theme
- doom-modeline
- dashboard
- org-superstar toc-org
- pdf-tools
- dockerfile-mode
- web-mode
- ssh sudo-ext
- vimish-fold
- bind-key
- all-the-icons all-the-icons-dired all-the-icons-ibuffer
- ))
+ evil evil-collection evil-leader
+ evil-search-highlight-persist evil-mc evil-surround evil-ediff
+ evil-visual-mark-mode evil-nerd-commenter evil-vimish-fold
+ evil-numbers
+ lsp-mode lsp-treemacs lsp-ui
+ ccls
+ yasnippet yasnippet-classic-snippets yasnippet-snippets auto-yasnippet el-autoyas
+ helm helm-xref helm-lsp helm-etags-plus helm-fuzzy helm-themes helm-make helm-projectile
+ projectile
+ company company-box
+ which-key dap-mode
+ magit
+ undo-tree
+ shell-pop
+ treemacs treemacs-projectile treemacs-magit treemacs-evil
+ autopair paredit
+ rainbow-delimiters
+ color-identifiers-mode
+ ibuffer-vc ibuffer-projectile
+ eyebrowse
+ diff-hl
+ fzf
+ font-utils
+ restart-emacs
+ string-utils
+ dired-icon
+ kaolin-themes gruvbox-theme doom-themes spacemacs-theme
+ doom-modeline
+ dashboard
+ org-superstar toc-org
+ pdf-tools
+ dockerfile-mode
+ web-mode
+ ssh sudo-ext
+ vimish-fold
+ bind-key
+ all-the-icons all-the-icons-dired all-the-icons-ibuffer
+ w3m helm-w3m
+ ))
(when (cl-find-if-not #'package-installed-p package-selected-packages)
(package-refresh-contents)
@@ -636,6 +637,7 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
(yas-global-mode)
(add-hook 'c-mode-hook 'lsp)
(add-hook 'c++-mode-hook 'lsp)
+ (add-hook 'lsp-mode-hook 'lsp-enable-which-key-integration)
(setq lsp-ui-doc-header nil
lsp-ui-doc-position 'top
@@ -668,7 +670,7 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
;; (setq company-transformers nil company-lsp-async t company-lsp-cache-candidates nil)
(add-hook 'company-mode-hook 'company-box-mode)
- (setq ccls-executable "/usr/local/bin/ccls")
+ (setq ccls-executable "ccls")
(defun ccls/callee () (interactive) (lsp-ui-peek-find-custom "$ccls/call" '(:callee t)))
(defun ccls/caller () (interactive) (lsp-ui-peek-find-custom "$ccls/call"))