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 * ui configuration
#+begin_src emacs-lisp #+begin_src emacs-lisp
;; UI/UX ;; UI/UX
(setq inhibit-startup-message t) (setq inhibit-startup-message t)
;; make it look like neovim a little ;; make it look like neovim a little
(scroll-bar-mode -1) (scroll-bar-mode -1)
(tool-bar-mode -1) (tool-bar-mode -1)
(tooltip-mode -1) (tooltip-mode -1)
(set-fringe-mode 10) (set-fringe-mode 10)
(menu-bar-mode -1) (menu-bar-mode -1)
;; Line Numbers ;; Line Numbers
(column-number-mode) (column-number-mode)
(global-display-line-numbers-mode t) (global-display-line-numbers-mode t)
;; disable line numbers on some modes ;; disable line numbers on some modes
(dolist (mode '(org-mode-hook (dolist (mode '(org-mode-hook
term-mode-hook term-mode-hook
eshell-mode-hook)) eshell-mode-hook
(add-hook mode (lambda () (display-line-numbers-mode 0)))) treemacs-mode))
;; Bell (add-hook mode (lambda () (display-line-numbers-mode 0))))
(setq visible-bell t) ;; Bell
(setq visible-bell t)
#+end_src #+end_src
* Keymaps * Keymaps

View file

@ -12,7 +12,8 @@
;; disable line numbers on some modes ;; disable line numbers on some modes
(dolist (mode '(org-mode-hook (dolist (mode '(org-mode-hook
term-mode-hook term-mode-hook
eshell-mode-hook)) eshell-mode-hook
treemacs-mode))
(add-hook mode (lambda () (display-line-numbers-mode 0)))) (add-hook mode (lambda () (display-line-numbers-mode 0))))
;; Bell ;; Bell
(setq visible-bell t) (setq visible-bell t)
@ -20,10 +21,8 @@
(global-set-key (kbd "C-M-j") 'counsel-switch-buffer) (global-set-key (kbd "C-M-j") 'counsel-switch-buffer)
(global-set-key (kbd "<escape>") 'keyboard-escape-quit) (global-set-key (kbd "<escape>") 'keyboard-escape-quit)
;; Font
(set-face-attribute `default nil :font "JetBrains Mono" :height 125) (set-face-attribute `default nil :font "JetBrains Mono" :height 125)
;; Package related stuqff
(require `package) (require `package)
(setq package-archives `(("mepla" . "https://melpa.org/packages/") (setq package-archives `(("mepla" . "https://melpa.org/packages/")