This commit is contained in:
Sakooooo 2023-09-14 12:45:27 +00:00
parent 0fd385da37
commit b3e0fb3aab
Signed by: sako
GPG key ID: FE52FD65B76E4751
2 changed files with 21 additions and 21 deletions

View file

@ -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

View file

@ -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/")