Browse Source

Update some configs

pull/15/head
10sr 7 years ago
parent
commit
e66ca7c6f0
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      emacs.el

+ 3
- 1
emacs.el View File

@@ -358,6 +358,7 @@ found, otherwise returns nil."
(setq-default indicate-empty-lines t) ; when using x indicate empty line
(setq-default tab-width 4)
(setq-default indent-tabs-mode nil)
(setq-default indent-line-function 'indent-to-left-margin)
;; (setq-default indent-line-function nil)
(setq-default truncate-lines nil)
;; (pc-selection-mode 1) ; make some already defined keybind back to default
@@ -387,7 +388,8 @@ found, otherwise returns nil."
;; C-h and DEL
(global-set-key (kbd "C-h") (kbd "DEL"))

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

(define-key esc-map "k" 'my-copy-whole-line)


Loading…
Cancel
Save