mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 16:53:00 +00:00
feat(emacs): Basic emacs setup
This commit is contained in:
parent
2346c13564
commit
6edb5d9e90
7 changed files with 134 additions and 0 deletions
15
tools/emacs.d/lisp/init-basic.el
Normal file
15
tools/emacs.d/lisp/init-basic.el
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
;;; init-basic.el
|
||||
|
||||
;; Disable startup message
|
||||
(setq inhibit-startup-message t)
|
||||
|
||||
;; Use line number by default
|
||||
(global-display-line-numbers-mode 1)
|
||||
;; Vim-like relativenumber
|
||||
(setq display-line-numbers-type 'relative)
|
||||
|
||||
;; https://book.emacs-china.org/#orgcfd105e Open with Emacs
|
||||
(server-mode 1)
|
||||
|
||||
;; Export module
|
||||
(provide 'init-basic)
|
||||
Loading…
Add table
Add a link
Reference in a new issue