fixing delete and cua mode off

This commit is contained in:
Matt Nish-Lapidus 2025-01-19 16:10:14 -05:00
parent d838ee3251
commit 7903f0510f
2 changed files with 6 additions and 7 deletions

View file

@ -1,6 +1,6 @@
;;; bindings.el -*- lexical-binding: t; -*-
(cua-mode +1)
;; (cua-mode +1)
(map! (:when (modulep! :ui popup)
"C-`" #'+popup/toggle
@ -549,7 +549,7 @@
;; make esc close completion from corfu
(map! :map corfu-map [escape] 'corfu-quit)
(map! :map sly-mode-map
(map! :map sly-mrepl-mode-map
"<up>" #'sly-mrepl-previous-input-or-button
"<down>" #'sly-mrepl-next-input-or-button)

View file

@ -10,7 +10,7 @@
;; See 'C-h v doom-font' for documentation and more examples of what they
;; accept. For example:
(setq doom-font (font-spec :family "JetBrains Mono" :size 20))
(setq doom-font (font-spec :family "JetBrains Mono" :size 19))
(setq fancy-splash-image (concat doom-user-dir "splash.png"))
(setq doom-theme 'doom-monokai-pro)
@ -59,7 +59,7 @@
;; (setq tab-always-indent t) ; don't autocomplete with tab
(+global-word-wrap-mode +1) ; default to soft word wrap
(delete-selection-mode 1) ; delete stuff!
;; (setq delete-active-region t) ; delete selected stuff!
(setq delete-active-region t) ; delete selected stuff!
(setq shell-file-name (executable-find "bash"))
(setq dired-vc-rename-file t) ; renaming and changing files in dired now integrates with magit
@ -244,12 +244,11 @@
tramp
:defer t
:config
;; To “turn off” the backup feature for remote files and stop TRAMP from saving to the backup directory.
;; See https://www.gnu.org/software/tramp/#Auto_002dsave-File-Lock-and-Backup
;; To “turn off” the backup feature for remote files and stop TRAMP from saving to the backup directory.
;; See https://www.gnu.org/software/tramp/#Auto_002dsave-File-Lock-and-Backup
(add-to-list 'backup-directory-alist
(cons tramp-file-name-regexp nil))
(customize-set-variable 'tramp-backup-directory-alist backup-directory-alist)
(setq backup-enable-predicate
(lambda (name) nil)))