Golden ratio

This commit is contained in:
Aleksandr Lebedev 2025-07-24 15:40:47 +02:00
parent db9f6ecadc
commit dd3517f4ae

View file

@ -4,8 +4,9 @@
#+PROPERTY: header-args:emacs-lisp :lexical t #+PROPERTY: header-args:emacs-lisp :lexical t
* Table of contents :toc: * Table of contents :toc:
- [[#important-programs-to-load-first][IMPORTANT PROGRAMS TO LOAD FIRST]] - [[#some-random-stuff-to-load-first][Some random stuff to load first]]
- [[#recent-files][Recent Files]] - [[#recent-files][Recent Files]]
- [[#golden-ratio][Golden ratio]]
- [[#duplicate-line][Duplicate line]] - [[#duplicate-line][Duplicate line]]
- [[#keybindings][Keybindings]] - [[#keybindings][Keybindings]]
- [[#focus-new-windows][Focus new windows]] - [[#focus-new-windows][Focus new windows]]
@ -111,11 +112,20 @@
- [[#emacs-on-wsl][Emacs on WSL]] - [[#emacs-on-wsl][Emacs on WSL]]
- [[#clipboard-fix][Clipboard fix]] - [[#clipboard-fix][Clipboard fix]]
* IMPORTANT PROGRAMS TO LOAD FIRST * Some random stuff to load first
** Recent Files ** Recent Files
#+begin_src emacs-lisp #+begin_src emacs-lisp
(recentf-mode t) (recentf-mode t)
#+end_src #+end_src
** Golden ratio
[[https://github.com/roman/golden-ratio.el][golden-ratio.el]] resizes windows content that you're working on
#+begin_src emacs-lisp
(use-package golden-ratio
:ensure t
:init
(setq golden-ratio-auto-scale t)
(golden-ratio-mode 1))
#+end_src
** Duplicate line ** Duplicate line
#+begin_src emacs-lisp #+begin_src emacs-lisp
(defun kylekrein/duplicate-line() (defun kylekrein/duplicate-line()