summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-05-26 14:13:46 -0700
committerFranck Cuny <franck@fcuny.net>2024-05-26 14:13:46 -0700
commitd45c53f8eceac8881f85806176872d31121e38ac (patch)
tree90ca6af17ff8f7896b2c42051fbec0a94e3dd4ca
parentnit (diff)
downloademacs.d-d45c53f8eceac8881f85806176872d31121e38ac.tar.gz
more
-rw-r--r--config/init-base.el12
-rw-r--r--config/init-project.el2
2 files changed, 6 insertions, 8 deletions
diff --git a/config/init-base.el b/config/init-base.el
index 89cd7c1..9f9e596 100644
--- a/config/init-base.el
+++ b/config/init-base.el
@@ -7,24 +7,24 @@
 
 ;;; Code:
 
-(setq sentence-end-double-space nil
+(setq sentence-end-double-space nil        ;; it matters for filling
       create-lockfiles nil                 ;; don't use a lock file
       tab-always-indent 'complete          ;; when using TAB, always indent
       initial-major-mode 'fundamental-mode ;; default mode for the scratch buffer
       initial-scratch-message ""           ;; makes the scratch buffer empty
       confirm-kill-emacs #'yes-or-no-p     ;; ask before killing emacs
       use-short-answers t                  ;; use y-or-n
-      minibuffer-message-timeout 0.5       ;; How long to display an echo-area message
+      minibuffer-message-timeout 2         ;; how long to display an echo-area message
       ring-bell-function 'ignore           ;; really no bell
       visible-bell nil                     ;; no bell
       indent-tabs-mode nil                 ;; turn off tab indentation
       delete-by-moving-to-trash t          ;; delete files by moving them to the trash
       user-full-name "Franck Cuny"
       user-mail-address "franck@fcuny.net"
-      history-length 200
-      history-delete-duplicates t
-      require-final-newline t
-      auto-save-default nil                ;; no autosave
+      history-length 200                   ;; increase history length
+      history-delete-duplicates t          ;; delete duplicate from history
+      require-final-newline t              ;; ensure a new line is present at the bottom of files
+      auto-save-default nil                ;; no auto save
       backup-inhibited t                   ;; no backups
       custom-file (expand-file-name "lisp/custom.el" user-emacs-directory))
 
diff --git a/config/init-project.el b/config/init-project.el
index 3a87e0c..2bbce11 100644
--- a/config/init-project.el
+++ b/config/init-project.el
@@ -51,8 +51,6 @@
   (rg-command-line-flags '("--follow")))
 
 (use-package project
-  :custom
-  (project-vc-ignores '("result/" ".direnv/" "target/" ".DS_Store"))
   :config
   (setq project-switch-commands
         '((project-find-file "Find file" f)