summaryrefslogtreecommitdiffstats
path: root/.config/emacs/org/config.org
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-12-23 17:15:53 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-12-23 17:15:53 +0100
commit2d9d2c1452dc84635566547e2c332b88b76bd797 (patch)
treea5ea64831ea73e8c4b9f5f91698222625dca19ee /.config/emacs/org/config.org
parentytdl (diff)
downloaddotfiles-bsd-2d9d2c1452dc84635566547e2c332b88b76bd797.tar.gz
dotfiles-bsd-2d9d2c1452dc84635566547e2c332b88b76bd797.tar.bz2
dotfiles-bsd-2d9d2c1452dc84635566547e2c332b88b76bd797.tar.xz
dotfiles-bsd-2d9d2c1452dc84635566547e2c332b88b76bd797.tar.zst
dotfiles-bsd-2d9d2c1452dc84635566547e2c332b88b76bd797.zip
ok
Diffstat (limited to '.config/emacs/org/config.org')
-rw-r--r--.config/emacs/org/config.org45
1 files changed, 28 insertions, 17 deletions
diff --git a/.config/emacs/org/config.org b/.config/emacs/org/config.org
index cc4de37..f40ede0 100644
--- a/.config/emacs/org/config.org
+++ b/.config/emacs/org/config.org
@@ -42,12 +42,14 @@
desktop-auto-save-timeout 60)
(desktop-save-mode 1)
#+END_SRC
+
** GC
#+BEGIN_SRC emacs-lisp
(add-hook 'focus-out-hook 'garbage-collect)
(add-hook 'minibuffer-setup-hook 'my/set-max-gc-cons-threshold) ;; defined in early-init.el
(add-hook 'minibuffer-exit-hook 'my/set-default-gc-cons-threshold)
#+END_SRC
+
** MELPA and non-MELPA
#+BEGIN_SRC emacs-lisp
(require 'package)
@@ -313,23 +315,31 @@
*** NeoTree
#+BEGIN_SRC emacs-lisp
- (require 'neotree)
- (setq neo-vc-integration '(face))
- (evil-define-key 'normal neotree-mode-map (kbd "TAB") 'neotree-enter)
- (evil-define-key 'normal neotree-mode-map (kbd "SPC") 'neotree-quick-look)
- (evil-define-key 'normal neotree-mode-map (kbd "q") 'neotree-hide)
- (evil-define-key 'normal neotree-mode-map (kbd "RET") 'neotree-enter)
- (evil-define-key 'normal neotree-mode-map (kbd "g") 'neotree-refresh)
- (evil-define-key 'normal neotree-mode-map (kbd "n") 'neotree-next-line)
- (evil-define-key 'normal neotree-mode-map (kbd "p") 'neotree-previous-line)
- (evil-define-key 'normal neotree-mode-map (kbd "A") 'neotree-stretch-toggle)
- (evil-define-key 'normal neotree-mode-map (kbd "H") 'neotree-hidden-file-toggle)
- (evil-define-key 'normal neotree-mode-map (kbd "|") 'neotree-enter-vertical-split)
- (evil-define-key 'normal neotree-mode-map (kbd "S") 'neotree-enter-vertical-split)
- (evil-define-key 'normal neotree-mode-map (kbd "/") 'neotree-enter-horizontal-split)
- (evil-define-key 'normal neotree-mode-map (kbd "s") 'neotree-enter-horizontal-split)
+ ;; (require 'neotree)
+ ;; (setq neo-vc-integration '(face))
+ ;; (evil-define-key 'normal neotree-mode-map (kbd "TAB") 'neotree-enter)
+ ;; (evil-define-key 'normal neotree-mode-map (kbd "SPC") 'neotree-quick-look)
+ ;; (evil-define-key 'normal neotree-mode-map (kbd "q") 'neotree-hide)
+ ;; (evil-define-key 'normal neotree-mode-map (kbd "RET") 'neotree-enter)
+ ;; (evil-define-key 'normal neotree-mode-map (kbd "g") 'neotree-refresh)
+ ;; (evil-define-key 'normal neotree-mode-map (kbd "n") 'neotree-next-line)
+ ;; (evil-define-key 'normal neotree-mode-map (kbd "p") 'neotree-previous-line)
+ ;; (evil-define-key 'normal neotree-mode-map (kbd "A") 'neotree-stretch-toggle)
+ ;; (evil-define-key 'normal neotree-mode-map (kbd "H") 'neotree-hidden-file-toggle)
+ ;; (evil-define-key 'normal neotree-mode-map (kbd "|") 'neotree-enter-vertical-split)
+ ;; (evil-define-key 'normal neotree-mode-map (kbd "S") 'neotree-enter-vertical-split)
+ ;; (evil-define-key 'normal neotree-mode-map (kbd "/") 'neotree-enter-horizontal-split)
+ ;; (evil-define-key 'normal neotree-mode-map (kbd "s") 'neotree-enter-horizontal-split)
#+END_SRC
+*** Treemacs
+ #+BEGIN_SRC emacs-lisp
+(require 'treemacs)
+(require 'treemacs-evil)
+(require 'treemacs-magit)
+(require 'treemacs-projectile)
+ #+END_SRC
+
*** Helm, projectile
#+BEGIN_SRC emacs-lisp
(require 'helm-config)
@@ -686,7 +696,7 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
(setq ccls-sem-highlight-method 'font-lock)
(setq lsp-enable-indentation nil)
(setq lsp-completion-enable t)
- ;; (ccls-use-default-rainbow-sem-highlight)
+ (setq lsp-headerline-breadcrumb-enable nil)
#+END_SRC
*** diff-hl
@@ -736,6 +746,7 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
(unless (eq ibuffer-sorting-mode 'alphabetic)
(ibuffer-do-sort-by-alphabetic))))
#+END_SRC
+
** Compilation
*** Close window after errorless compilation
#+BEGIN_SRC emacs-lisp
@@ -762,7 +773,7 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
#+BEGIN_SRC emacs-lisp
(defun my/nothing ())
(global-set-key [f1] 'shell-pop)
- (global-set-key [f2] 'neotree-toggle)
+ (global-set-key [f2] 'treemacs)
(global-set-key [f3] 'flymake-show-diagnostics-buffer)
(global-set-key [f4] 'helm-make-projectile)
(global-set-key [f5] 'undo-tree-visualize)