This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+spacemacs/spacemacs-navigation
Ryan Prior 4e306e1064
Make golden-ratio global mode and ediff mode coexist harmoniously (#15031)
* [layout] New function spacemacs//ediff-in-comparison-buffer-p

This function is useful to determine whether a given buffer is part of an ediff comparison.

* [layout] New function spacemacs/ediff-balance-windows

Interactive function to balance ediff windows in case they're unbalanced
initially (such as when golden-ratio-mode was active.)

* [navigation] Disables golden-ratio resizing in ediff view

Updates `spacemacs-navigation/init-golden-ratio`:
- inhibits golden-ratio in ediff comparison buffers
- balances the width of ediff comparison buffers on startup

* Updates CHANGELOG.develop with ediff/golden-ratio comment

* [layout] Adds MIT license acknowledgement for new functions

Co-authored-by: Ryan Prior <ryan.prior@coldquanta.com>
2021-09-04 21:02:42 +02:00
..
funcs.el Use built-in get-buffer 2021-08-22 22:26:37 +02:00
packages.el Make golden-ratio global mode and ediff mode coexist harmoniously (#15031) 2021-09-04 21:02:42 +02:00
README.org [bot] "documentation_updates" Wed Aug 25 22:37:51 UTC 2021 2021-08-26 02:00:32 +03:00

spacemacs-navigation layer

Description

This layer adds general navigation functions to all supported layers.

Features:

  • Support for ace-links in

    • spacemacs buffer
    • info-mode
    • help-mode
    • eww-mode
  • Support for keeping the cursor centered on the screen
  • Evilified version of doc-view-mode
  • Tweaks for golden-ratio-mode
  • Support for paradox a modern emacs package manager
  • Shortcuts for restarting emacs
  • Shortcuts for easily switching between windows

Key bindings

Key binding Description
SPC h j jump to manual