;;; my-navigation.el --- Configure parts related to navigation -*- lexical-binding: t -*- ;;; Commentary: ;;; Code: (setq help-window-select t) (customize-set-variable 'project-switch-commands '((?f "File" project-find-file) (?d "Dired" project-dired) (?b "Buffer" project-switch-to-buffer) (?e "Eshell" project-eshell) (?m "Magit status" magit-project-status) (?r "Search" rg-project))) (customize-set-variable 'bookmark-save-flag 1) (global-set-key (kbd "C-x C-b") 'ibuffer) (global-set-key (kbd "M-g i") 'imenu) (customize-set-variable 'recentf-max-saved-items 500) (customize-set-variable 'recentf-exclude '(".gz" ".xz" ".zip")) (add-hook 'after-init-hook 'recentf-mode) (customize-set-variable 'rg-group-result t) (customize-set-variable 'rg-show-columns t) (customize-set-variable 'rg-align-position-numbers t) (customize-set-variable 'rg-align-line-number-field-length 3) (customize-set-variable 'rg-align-column-number-field-length 3) (customize-set-variable 'rg-align-line-column-separator "#") (customize-set-variable 'rg-align-position-content-separator "|") (add-hook 'after-init-hook 'which-key-mode) (provide 'my-navigation) ;;; my-navigation.el ends here