Suggested initial Emacs config?

后端 未结 10 1304
感动是毒
感动是毒 2021-02-04 01:42

I would like to to try Emacs, and want to give it the best chance possible.

To do this, it seems like having a good .emacs file is important.

I prim

10条回答
  •  一个人的身影
    2021-02-04 02:15

    You can try following extensions:

    (require 'smooth-scrolling)
    (require 'multiple-cursors)
    (require 'ace-jump-mode)
    (require 'expand-region)
    (require 'inline-string-rectangle)
    (require 'mark-more-like-this)
    (require 'key-chord)
    (require 'browse-kill-ring)
    (require 'idle-highlight-mode)
    (require 'htmlize)
    (require 'icicles)
    (require 'highlight-parentheses)
    (require 'golden-ratio)
    (require 'projectile)
    (require 'helm-projectile)
    (require 'rainbow-mode)
    (require 'anything-config)
    (require 'highlight-symbol)
    (require 'markerpen)
    (require 'flyspell)
    

    also you can distinguish TAB and C-i, then you'll have one more simple short-key.

    (define-key input-decode-map (kbd "C-i") (kbd "H-i"))
    (define-key input-decode-map (kbd "C-M-i") (kbd "H-M-i"))
    (global-set-key (kbd "H-i") 'kill-ring-save)
    (global-set-key (kbd "M-i") 'kill-ring-save)
    (global-set-key (kbd "H-M-i") 'ace-jump-line-mode)
    (global-set-key (kbd "C-c H-i") 'ido-switch-buffer)
    

    find more: https://github.com/whunmr/dotemacs/blob/master/init.el

提交回复
热议问题