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)
|
; activate helm after its fully configured (may be configured beyond global defaults in other profiles so we have to activate locally)
|
||||||
(helm-mode 1)
|
(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
|
; programming
|
||||||
; code folding
|
; 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
|
(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
|
(package-initialize) ; this goes in chemacs2 init -- DO NOT UNCOMMENT
|
||||||
(add-to-list 'package-selected-packages
|
(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)
|
(require 'use-package)
|
||||||
|
|
||||||
|
@ -177,7 +177,6 @@ position between last non-whitespace and `end-of-line'."
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
; Setup global keys
|
; Setup global keys
|
||||||
(require 'transpose-frame)
|
|
||||||
(cua-mode 1)
|
(cua-mode 1)
|
||||||
(windmove-default-keybindings 'meta)
|
(windmove-default-keybindings 'meta)
|
||||||
(global-set-key (kbd "<escape>") 'keyboard-escape-quit)
|
(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-k") 'delete-window)
|
||||||
(global-set-key (kbd "M-\"") 'split-window-below)
|
(global-set-key (kbd "M-\"") 'split-window-below)
|
||||||
(global-set-key (kbd "M-#") 'split-window-right)
|
(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
|
;; Lookup the current symbol at point. C-c C-d is a common keybinding
|
||||||
;; for this in lisp modes.
|
;; for this in lisp modes.
|
||||||
|
@ -388,15 +385,6 @@ position between last non-whitespace and `end-of-line'."
|
||||||
; activate helm after its fully configured
|
; activate helm after its fully configured
|
||||||
;(helm-mode 1)
|
;(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
|
; diminish config
|
||||||
; https://melpa.org/#/manage-minor-mode
|
; https://melpa.org/#/manage-minor-mode
|
||||||
|
|
12
org/init.el
12
org/init.el
|
@ -177,23 +177,11 @@
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
; ui tuning
|
; ui tuning
|
||||||
(diminish 'projectile-mode)
|
|
||||||
(when (eq system-type 'windows-nt)
|
(when (eq system-type 'windows-nt)
|
||||||
(load "~/.emacs.d.profiles/org/config-org-desktop.el"))
|
(load "~/.emacs.d.profiles/org/config-org-desktop.el"))
|
||||||
(when kmn/is-termux
|
(when kmn/is-termux
|
||||||
(load "~/.emacs.d.profiles/org/config-org-mobile.el"))
|
(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
|
; origami + super agenda config
|
||||||
(defvar ap/org-super-agenda-auto-hide-groups
|
(defvar ap/org-super-agenda-auto-hide-groups
|
||||||
|
|
Reference in a new issue