Pārlūkot izejas kodu

Add hungry-delete

master
10sr pirms 3 gadiem
vecāks
revīzija
1c5ff301d6
Parakstījis: 10sr GPG atslēgas ID: 7BEC428194130EB2
2 mainītis faili ar 10 papildinājumiem un 0 dzēšanām
  1. +5
    -0
      .editorconfig
  2. +5
    -0
      emacs.el

+ 5
- 0
.editorconfig Parādīt failu

@@ -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 Parādīt failu

@@ -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)


Notiek ielāde…
Atcelt
Saglabāt