瀏覽代碼

Update some configs

pull/15/head
10sr 7 年之前
父節點
當前提交
e66ca7c6f0
共有 1 個檔案被更改,包括 3 行新增1 行删除
  1. +3
    -1
      emacs.el

+ 3
- 1
emacs.el 查看文件

@@ -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…
取消
儲存