![]() ![]() ( :expressions lisp-imenu-generic-expression )) ( emacs-lisp-mode. ( global-set-key ( kbd "s-4" ) 'imenu-list-minor-mode ) ( use-package imenu-list :custom ( imenu-list-focus-after-activation t ) :straight t ) ( defvar imenu-literate-modes-alist ' (( lisp-mode. abbrev-mode )) ( add-function :after after-focus-change-function ( defun jf/garbage-collect-maybe () ( unless ( frame-focus-state ) ( garbage-collect ))))Īnd I ’m going to disable a few key bindings. ( defalias 'yes-or-no-p 'y-or-n-p ) Always "y" or "n" for yes/no ( prefer-coding-system 'utf-8 ) ( set-default-coding-systems 'utf-8 ) ( set-terminal-coding-system 'utf-8 ) ( set-keyboard-coding-system 'utf-8 ) ( use-package abbrev :straight ( :type built-in ) :custom ( abbrev-file-name ( file-truename "~/git/dotemacs/emacs.d/abbrev_defs" )) :hook ( text-mode. maximized )) ( tool-bar-mode -1 ) Hide the icons of the Emacs toolbar ( scroll-bar-mode -1 ) Hide the scroll bar. version-control t Use version numbers on backups x-underline-at-descent-line t Recommendation from ) ( setq enable-recursive-minibuffers nil ) ( use-package recursion-indicator :straight t :config ( recursion-indicator-mode )) ( global-hl-line-mode ) When you open Emacs, grab all the space on the screen ( add-to-list 'initial-frame-alist ' ( fullscreen. read-process-output-max ( * ) Increase read size per process recentf-max-menu-items 50 recentf-max-saved-items 50 ring-bell-function 'ignore Stop ringing any bell split-width-threshold nil 160 * 8 split-height-threshold nil 160 * 8 vc-follow-symlinks t Follow symlinks instead of prompting. delete-old-versions t Automatically delete excess backups echo-key-strokes 0.2 global-mark-ring-max 32 idle-update-delay 1.1 Slow down the UI being updated to improve performance indent-tabs-mode nil Ensure tabs are expanded, not inserted inhibit-startup-screen t Don't include the emacs "start" window kept-new-versions 20 how many of the newest versions to keep kept-old-versions 5 and how many of the old kill-ring-max 120 Set a generous kill ring size. create-lockfiles nil Don't create lock files. "~/.emacs.d/backups/" )) bookmark-default-file "~/git/emacs-bookmarks/bookmarks" custom-safe-themes t I may as well trust themes. ( setq-default cursor-type 'bar ) Doing a bit of configuration of my cursors ( blink-cursor-mode t ) ( setq backup-by-copying t Don't delink hardlinks backup-directory-alist ' (( ".*". ( recentf-mode 1 ) Track recent ( run-at-time nil ( * 2 60 ) 'recentf-save-list ) Save files every 2 minutes ( global-auto-revert-mode ) ( setq-default fill-column 79 ) Feeling a bit old school with 80 characters. ( electric-pair-mode ) ( make-directory "~/.emacs.d/autosaves/" t ) Ensuring I have an autosave directory. This flag allowed me to more easily troubleshoot those loadĪttempts." ) ( defconst jf/github-username "jeremyf" "My username on github." ) ( global-so-long-mode ) Handle long files. In a previous iteration, I loaded lots of separate '*.el' files. ![]() ( setq user-full-name "Jeremy Friesen" user-mail-address ) ( defconst jf/silence-loading-log t "When t log to stdout load messages from this configuration.
0 Comments
Leave a Reply. |