sinewalker / dotspacemacs

Personal Spacemacs configuration
MIT License
13 stars 0 forks source link

prefer horizontal splitting #9

Open sinewalker opened 7 years ago

sinewalker commented 7 years ago

all the pop-up buffers come up with vertial splitting. This is subobtimal on wide screens, especially for things like describe-mode.

I made an attempt at this last year, commit ff4fa0f. I've noted commit f62d6c0 where this attempt is (the functions are there but the hooks have been commented out because they're not quite right).

sinewalker commented 7 years ago

TransposeFrame looks like it can work around the problem of the *help* buffer not honouring / using the split-window-sensibly function and it's control variables split-width-threshold and split-height-threshold. Other buffers do seem to split sensibly with these settings:

        split-width-threshold 0
        split-height-threshold nil

There is a MELPA Package -- so, it can be installed easily with dotspacemacs-additional-packages, or with use-package from one of my Layers.

I think I'll set up my mjl Layer to "own" it and a few other packages, then I can set some keys in the Spacemacs Leader keys "user" space (under 'o').

sinewalker commented 6 years ago

Commit 6fce009 adds the transpose-frame package, just as an additional package.

It may be that this is enough, if I add a convenient key-binding and relocate this to my own layer instead (Issue #11)?