From f2dc5e282369833723fddcc7e261f15e69ca14a1 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Wed, 4 Oct 2023 12:06:49 +0400 Subject: [PATCH] wajiafoejiaeop --- config/emacs/emacs.org | 18 +++++++++--------- config/emacs/init.el | 12 ++++++------ 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/config/emacs/emacs.org b/config/emacs/emacs.org index 18ab43ce..59166def 100644 --- a/config/emacs/emacs.org +++ b/config/emacs/emacs.org @@ -26,6 +26,15 @@ M-x org-bable-tangle 'utf-8)) (prefer-coding-system 'utf-8) #+end_src +* EmacsClient UI +#+begin_src emacs-lisp + (setq frame-resize-pixelwise t) + ;; ui settings apparently go below + (setq default-frame-alist '((font . "JetBrains Mono") + '(vertical-scroll-bars . nil) + '(horizontal-scroll-bars . nil))) + +#+end_src * UI #+begin_src emacs-lisp ;; UI/UX @@ -49,15 +58,6 @@ M-x org-bable-tangle ;; Bell (setq visible-bell t) #+end_src -* EmacsClient UI -#+begin_src emacs-lisp - (setq frame-resize-pixelwise t) - ;; ui settings apparently go below - (setq default-frame-alist '((font . "JetBrains Mono") - '(vertical-scroll-bars . nil) - '(horizontal-scroll-bars . nil))) - -#+end_src * Keymaps #+begin_src emacs-lisp (global-set-key (kbd "C-M-j") 'counsel-switch-buffer) diff --git a/config/emacs/init.el b/config/emacs/init.el index 93fb09ff..7747faff 100644 --- a/config/emacs/init.el +++ b/config/emacs/init.el @@ -10,6 +10,12 @@ 'utf-8)) (prefer-coding-system 'utf-8) +(setq frame-resize-pixelwise t) +;; ui settings apparently go below +(setq default-frame-alist '((font . "JetBrains Mono") + '(vertical-scroll-bars . nil) + '(horizontal-scroll-bars . nil))) + ;; UI/UX (setq inhibit-splash-screen t) ;; make it look like neovim a little @@ -31,12 +37,6 @@ ;; Bell (setq visible-bell t) -(setq frame-resize-pixelwise t) -;; ui settings apparently go below -(setq default-frame-alist '((font . "JetBrains Mono") - '(vertical-scroll-bars . nil) - '(horizontal-scroll-bars . nil))) - (global-set-key (kbd "C-M-j") 'counsel-switch-buffer) (global-set-key (kbd "") 'keyboard-escape-quit)