Browse Source

remove diminish setup as its no longer used ; tweak mobile home dirs to keep emacs within termux native storage ; disable projectile auto project path for now

main
KemoNine 4 weeks ago
parent
commit
273863631f
  1. 4
      code/init.el
  2. 16
      common/_global.el
  3. 4
      org/init.el

4
code/init.el

@ -29,8 +29,8 @@
;(load user-init-file)
; Fix resolution of ~ to match other client paths
(setenv "HOME" "/data/data/com.termux/files/home/storage/shared/")
(setq default-directory "/data/data/com.termux/files/home/storage/shared/")
(setenv "HOME" "/data/data/com.termux/files/home/")
(setq default-directory "/data/data/com.termux/files/home/")
; Better fonts
(setq org-src-fontify-natively t)

16
common/_global.el

@ -1,10 +1,10 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Packages related
(require 'package) ; this goes in chemacs2 init -- DO NOT UNCOMMENT
(require 'package)
(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
'(doom-modeline magit helpful helm helm-org helm-ls-git projectile helm-projectile dired-rainbow dired-rainbow-listing dired-single dash s origami diminish persp-mode persp-mode-projectile-bridge modus-themes transpose-frame use-package)
'(doom-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)
)
(require 'use-package)
@ -338,7 +338,7 @@
(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/"))
;(setq projectile-project-search-path '("~/../src/"))
(require 'helm-projectile)
(helm-projectile-on)
@ -368,11 +368,11 @@
; M-x: manage-minor-mode
;
; M-x: describe-mode
(require 'diminish)
(diminish 'rainbow-mode) ; Hide lighter from mode-line
(diminish 'org-habit) ; im well aware i have org-habit enabled globally. thanks
(diminish 'helm-mode)
(diminish 'eldoc-mode)
;(require 'diminish)
;(diminish 'rainbow-mode) ; Hide lighter from mode-line
;(diminish 'org-habit) ; im well aware i have org-habit enabled globally. thanks
;(diminish 'helm-mode)
;(diminish 'eldoc-mode)
;
; doom-modeline

4
org/init.el

@ -29,8 +29,8 @@
;(load user-init-file)
; Fix resolution of ~ to match other client paths
(setenv "HOME" "/data/data/com.termux/files/home/storage/shared/")
(setq default-directory "/data/data/com.termux/files/home/storage/shared/")
(setenv "HOME" "/data/data/com.termux/files/home/")
(setq default-directory "/data/data/com.termux/files/home/")
; Better fonts
(setq org-src-fontify-natively t)

Loading…
Cancel
Save