mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
feat(emacs-evil): Make emacs look like a Vim
This commit is contained in:
parent
5dc5ba0c5f
commit
ffcc8fb768
8 changed files with 114 additions and 8 deletions
|
|
@ -8,8 +8,27 @@
|
|||
;; Vim-like relativenumber
|
||||
(setq display-line-numbers-type 'relative)
|
||||
|
||||
;; Auto input pairred brackets
|
||||
(electric-pair-mode 1)
|
||||
|
||||
;; https://book.emacs-china.org/#orgcfd105e Open with Emacs
|
||||
(server-mode 1)
|
||||
|
||||
(when (display-graphic-p)
|
||||
(add-to-list 'default-frame-alist '(font . "JetBrainsMono NF")))
|
||||
|
||||
(use-package catppuccin-theme
|
||||
:config
|
||||
(setq catppuccin-flavor 'mocha) ; This looks like shit in terminal mode
|
||||
(load-theme 'catppuccin t))
|
||||
|
||||
(require 'recentf)
|
||||
(recentf-mode 1)
|
||||
|
||||
;; Disable toobar and scrollbar
|
||||
(tool-bar-mode -1)
|
||||
(scroll-bar-mode -1)
|
||||
|
||||
|
||||
;; Export module
|
||||
(provide 'init-basic)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue