Wrangle window splitting behaviour
This commit is contained in:
parent
e1e1218a53
commit
4727f60def
|
@ -45,6 +45,11 @@
|
||||||
;; Make shebang (#!) file executable when saved
|
;; Make shebang (#!) file executable when saved
|
||||||
(add-hook 'after-save-hook #'executable-make-buffer-file-executable-if-script-p)
|
(add-hook 'after-save-hook #'executable-make-buffer-file-executable-if-script-p)
|
||||||
|
|
||||||
|
(setq even-window-sizes nil
|
||||||
|
display-buffer-base-action '((display-buffer-reuse-window
|
||||||
|
display-buffer-same-window)
|
||||||
|
(reusable-frames . t)))
|
||||||
|
|
||||||
(when (require 'package nil :noerror)
|
(when (require 'package nil :noerror)
|
||||||
(add-to-list 'package-archives '("stable" . "https://stable.melpa.org/packages/"))
|
(add-to-list 'package-archives '("stable" . "https://stable.melpa.org/packages/"))
|
||||||
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
|
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
|
||||||
|
@ -93,9 +98,9 @@
|
||||||
truncate-partial-width-windows nil)
|
truncate-partial-width-windows nil)
|
||||||
|
|
||||||
(menu-bar-mode -1)
|
(menu-bar-mode -1)
|
||||||
(tab-bar-mode -1)
|
|
||||||
(tool-bar-mode -1)
|
(tool-bar-mode -1)
|
||||||
(scroll-bar-mode -1)
|
(scroll-bar-mode -1)
|
||||||
|
(tab-bar-mode +1)
|
||||||
(line-number-mode +1)
|
(line-number-mode +1)
|
||||||
(column-number-mode +1)
|
(column-number-mode +1)
|
||||||
(global-display-line-numbers-mode -1)
|
(global-display-line-numbers-mode -1)
|
||||||
|
|
|
@ -54,6 +54,15 @@
|
||||||
(add-hook 'after-save-hook #'executable-make-buffer-file-executable-if-script-p)
|
(add-hook 'after-save-hook #'executable-make-buffer-file-executable-if-script-p)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
** Control window splitting
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(setq even-window-sizes nil
|
||||||
|
display-buffer-base-action '((display-buffer-reuse-window
|
||||||
|
display-buffer-same-window)
|
||||||
|
(reusable-frames . t)))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
|
||||||
** package-archive with priorities
|
** package-archive with priorities
|
||||||
#+begin_src emacs-lisp :results output silent
|
#+begin_src emacs-lisp :results output silent
|
||||||
(when (require 'package nil :noerror)
|
(when (require 'package nil :noerror)
|
||||||
|
|
Loading…
Reference in a new issue