Browse Source

Add hungry-delete

master
10sr 3 years ago
parent
commit
1c5ff301d6
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
2 changed files with 10 additions and 0 deletions
  1. +5
    -0
      .editorconfig
  2. +5
    -0
      emacs.el

+ 5
- 0
.editorconfig View File

@@ -43,3 +43,8 @@ charset = utf-16be

[latin1*.txt]
charset = latin1

[tabindent.js]
indent_style = tab
indent_size = 5
tab_width = 5

+ 5
- 0
emacs.el View File

@@ -432,6 +432,11 @@ Otherwize hook it."
;; C-h and DEL
(global-set-key (kbd "C-h") (kbd "DEL"))
;; (normal-erase-is-backspace-mode 1)
;; M-SPC fixup-whitespace]
(when (fboundp 'global-hungry-delete-mode)
(set-variable 'hungry-delete-join-reluctantly t)
(add-hook 'after-first-visit-hook
'global-hungry-delete-mode))

;;(global-set-key (kbd "C-m") 'reindent-then-newline-and-indent)
(global-set-key (kbd "C-m") 'newline-and-indent)


Loading…
Cancel
Save