summaryrefslogtreecommitdiff
path: root/emacs/custom/my-navigation.el
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-02-05 14:06:44 -0800
committerFranck Cuny <franck@fcuny.net>2023-02-05 14:06:44 -0800
commit190e24d5f633ce9c7c44f8a8d9d9cb20c31244a0 (patch)
tree8a2e0da2e7bd1dd5a54c726f231d89d2fbaed52b /emacs/custom/my-navigation.el
parentelfeed: one more feed (diff)
downloademacs.d-190e24d5f633ce9c7c44f8a8d9d9cb20c31244a0.tar.gz
ref(misc): set location of some files
Change-Id: I201e804aeee3d579350b9efcf2680595ae8cf047
Diffstat (limited to 'emacs/custom/my-navigation.el')
-rw-r--r--emacs/custom/my-navigation.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/emacs/custom/my-navigation.el b/emacs/custom/my-navigation.el
index 12cc557..06de92e 100644
--- a/emacs/custom/my-navigation.el
+++ b/emacs/custom/my-navigation.el
@@ -8,10 +8,14 @@
(require 'project)
(require 'recentf)
(require 'rg)
+(require 'transient)
;;; settings
(setq help-window-select t) ;; select help window when opening it
+;; where to store the list of projects
+(setq project-list-file (expand-file-name "var/projects" user-emacs-directory))
+
(setq project-switch-commands
'((?f "File" project-find-file)
(?d "Dired" project-dired)
@@ -31,9 +35,14 @@
(setq rg-align-line-column-separator "#")
(setq rg-align-position-content-separator "|")
+;; where to store the list of recent files
+(setq recentf-save-file (expand-file-name "var/recentf" user-emacs-directory))
(setq recentf-max-saved-items 500)
(setq recentf-exclude '(".gz" ".xz" ".zip" "tmp/" "/ssh:"))
+;; where to store transient's history
+(setq transient-history-file (expand-file-name "var/transient-history.el" user-emacs-directory))
+
;;; bindings
(global-set-key (kbd "C-x C-b") 'ibuffer)
(global-set-key (kbd "M-g i") 'imenu)