This commit is contained in:
opfez 2021-11-24 15:50:50 +01:00
parent 4dcb02c209
commit c5aa82976d
4 changed files with 5 additions and 2 deletions

View File

@ -15,7 +15,7 @@
(interactive) (interactive)
(move-beginning-of-line nil) (move-beginning-of-line nil)
(set-mark (point)) (set-mark (point))
(move-end-of-line nil)) (next-line))
(defun fez/toggle-indent () (defun fez/toggle-indent ()
"Toggle between indenting with tabs or spaces." "Toggle between indenting with tabs or spaces."

0
elisp/.gitkeep Normal file
View File

View File

@ -17,7 +17,7 @@
(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3") (setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
;; Manually installed modes. ;; Manually installed modes.
(add-to-list 'load-path "~/.emacs.d/plugins/") (add-to-list 'load-path "~/.emacs.d/elisp/")
;; Package ;; Package
(require 'package) (require 'package)

View File

@ -88,6 +88,9 @@
;; Disable line wrapping ;; Disable line wrapping
(setq-default truncate-lines t) (setq-default truncate-lines t)
;; Fix M-f
(global-set-key (kbd "M-f") (lambda () (interactive) (forward-to-word 1)))
;; Auto-indent pasted code. ;; Auto-indent pasted code.
(dolist (command '(yank yank-pop)) (dolist (command '(yank yank-pop))
(eval (eval