remove perp-mode and projectile from config ; perp-mode will be replaced (was only used to filter buffer lists) and projectile was removed due to non use
This commit is contained in:
parent
4f1e9b2dd9
commit
0b54a5c96b
11
code/init.el
11
code/init.el
|
@ -76,17 +76,6 @@
|
|||
; activate helm after its fully configured (may be configured beyond global defaults in other profiles so we have to activate locally)
|
||||
(helm-mode 1)
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
; projectile
|
||||
(projectile-mode +1)
|
||||
(define-key projectile-mode-map (kbd "C-c j") 'projectile-command-map)
|
||||
(setq projectile-mode-line-function '(lambda () (format " [%s]" (projectile-project-name))))
|
||||
;(setq projectile-project-search-path '("~/../src/"))
|
||||
|
||||
(require 'helm-projectile)
|
||||
(helm-projectile-on)
|
||||
(diminish 'projectile-mode)
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
; programming
|
||||
; code folding
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) ; this goes in chemacs2 init -- DO NOT UNCOMMENT
|
||||
(package-initialize) ; this goes in chemacs2 init -- DO NOT UNCOMMENT
|
||||
(add-to-list 'package-selected-packages
|
||||
'(rainbow-mode rainbow-delimiters markdown-mode devdocs devdocs-browser focus zoom popwin dired-single diredfl xclip doominhibitinhibit-modeline magit helpful helm helm-org helm-ls-git projectile helm-projectile dired-rainbow dired-rainbow-listing dired-single dash s origami persp-mode persp-mode-projectile-bridge modus-themes transpose-frame use-package)
|
||||
'(rainbow-mode rainbow-delimiters markdown-mode devdocs devdocs-browser focus zoom popwin dired-single diredfl xclip doominhibitinhibit-modeline magit helpful helm helm-org helm-ls-git dired-rainbow dired-rainbow-listing dired-single dash s origami modus-themes use-package)
|
||||
)
|
||||
(require 'use-package)
|
||||
|
||||
|
@ -177,7 +177,6 @@ position between last non-whitespace and `end-of-line'."
|
|||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
; Setup global keys
|
||||
(require 'transpose-frame)
|
||||
(cua-mode 1)
|
||||
(windmove-default-keybindings 'meta)
|
||||
(global-set-key (kbd "<escape>") 'keyboard-escape-quit)
|
||||
|
@ -203,8 +202,6 @@ position between last non-whitespace and `end-of-line'."
|
|||
(global-set-key (kbd "M-k") 'delete-window)
|
||||
(global-set-key (kbd "M-\"") 'split-window-below)
|
||||
(global-set-key (kbd "M-#") 'split-window-right)
|
||||
(global-set-key (kbd "M-.") 'rotate-frame-clockwise)
|
||||
(global-set-key (kbd "M-,") 'rotate-frame-anticlockwise)
|
||||
|
||||
;; Lookup the current symbol at point. C-c C-d is a common keybinding
|
||||
;; for this in lisp modes.
|
||||
|
@ -388,15 +385,6 @@ position between last non-whitespace and `end-of-line'."
|
|||
; activate helm after its fully configured
|
||||
;(helm-mode 1)
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
; persp-mode
|
||||
(setq persp-auto-resume-time 0.25)
|
||||
(setq persp-add-buffer-on-find-file nil)
|
||||
(with-eval-after-load "persp-mode-autoloads"
|
||||
(setq wg-morph-on nil) ;; switch off animation
|
||||
(setq persp-autokill-buffer-on-remove 'kill-weak)
|
||||
(add-hook 'window-setup-hook #'(lambda () (persp-mode 1))))
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
; diminish config
|
||||
; https://melpa.org/#/manage-minor-mode
|
||||
|
|
12
org/init.el
12
org/init.el
|
@ -177,23 +177,11 @@
|
|||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
; ui tuning
|
||||
(diminish 'projectile-mode)
|
||||
(when (eq system-type 'windows-nt)
|
||||
(load "~/.emacs.d.profiles/org/config-org-desktop.el"))
|
||||
(when kmn/is-termux
|
||||
(load "~/.emacs.d.profiles/org/config-org-mobile.el"))
|
||||
|
||||
(with-eval-after-load "persp-mode-autoload"
|
||||
(with-eval-after-load "org"
|
||||
(persp-def-auto-persp "kmn"
|
||||
:mode-name ".*org-mode.*"
|
||||
:noauto
|
||||
:dyn-env '(after-switch-to-buffer-functions ;; prevent recursion
|
||||
(persp-add-buffer-on-find-file nil)
|
||||
persp-add-buffer-on-after-change-major-mode)
|
||||
:hooks '(after-switch-to-buffer-functions)
|
||||
:switch 'window)))
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
; origami + super agenda config
|
||||
(defvar ap/org-super-agenda-auto-hide-groups
|
||||
|
|
Reference in a new issue