summaryrefslogtreecommitdiff
path: root/emacs/custom/my-navigation.el
diff options
context:
space:
mode:
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)