thing
This commit is contained in:
parent
0fd385da37
commit
b3e0fb3aab
2 changed files with 21 additions and 21 deletions
|
@ -14,24 +14,25 @@ M-x org-bable-tangle
|
|||
|
||||
* ui configuration
|
||||
#+begin_src emacs-lisp
|
||||
;; UI/UX
|
||||
(setq inhibit-startup-message t)
|
||||
;; make it look like neovim a little
|
||||
(scroll-bar-mode -1)
|
||||
(tool-bar-mode -1)
|
||||
(tooltip-mode -1)
|
||||
(set-fringe-mode 10)
|
||||
(menu-bar-mode -1)
|
||||
;; Line Numbers
|
||||
(column-number-mode)
|
||||
(global-display-line-numbers-mode t)
|
||||
;; disable line numbers on some modes
|
||||
(dolist (mode '(org-mode-hook
|
||||
term-mode-hook
|
||||
eshell-mode-hook))
|
||||
(add-hook mode (lambda () (display-line-numbers-mode 0))))
|
||||
;; Bell
|
||||
(setq visible-bell t)
|
||||
;; UI/UX
|
||||
(setq inhibit-startup-message t)
|
||||
;; make it look like neovim a little
|
||||
(scroll-bar-mode -1)
|
||||
(tool-bar-mode -1)
|
||||
(tooltip-mode -1)
|
||||
(set-fringe-mode 10)
|
||||
(menu-bar-mode -1)
|
||||
;; Line Numbers
|
||||
(column-number-mode)
|
||||
(global-display-line-numbers-mode t)
|
||||
;; disable line numbers on some modes
|
||||
(dolist (mode '(org-mode-hook
|
||||
term-mode-hook
|
||||
eshell-mode-hook
|
||||
treemacs-mode))
|
||||
(add-hook mode (lambda () (display-line-numbers-mode 0))))
|
||||
;; Bell
|
||||
(setq visible-bell t)
|
||||
#+end_src
|
||||
|
||||
* Keymaps
|
||||
|
|
|
@ -12,7 +12,8 @@
|
|||
;; disable line numbers on some modes
|
||||
(dolist (mode '(org-mode-hook
|
||||
term-mode-hook
|
||||
eshell-mode-hook))
|
||||
eshell-mode-hook
|
||||
treemacs-mode))
|
||||
(add-hook mode (lambda () (display-line-numbers-mode 0))))
|
||||
;; Bell
|
||||
(setq visible-bell t)
|
||||
|
@ -20,10 +21,8 @@
|
|||
(global-set-key (kbd "C-M-j") 'counsel-switch-buffer)
|
||||
(global-set-key (kbd "<escape>") 'keyboard-escape-quit)
|
||||
|
||||
;; Font
|
||||
(set-face-attribute `default nil :font "JetBrains Mono" :height 125)
|
||||
|
||||
;; Package related stuqff
|
||||
(require `package)
|
||||
|
||||
(setq package-archives `(("mepla" . "https://melpa.org/packages/")
|
||||
|
|
Loading…
Reference in a new issue