Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: open cargo buffer inside current window #47

Open
fliar opened this issue Sep 15, 2017 · 1 comment
Open

feature request: open cargo buffer inside current window #47

fliar opened this issue Sep 15, 2017 · 1 comment

Comments

@fliar
Copy link

fliar commented Sep 15, 2017

when emacs is split into 2 or 3 windows, hitting c-c c-c c-r to run the code will make cargo buffer displayed in one of the split windows.
is there a way to open cargo buffer only inside current window like helm ( helm-split-window-in-side-p )? not automatically taking one of the other windows

@mookid
Copy link
Contributor

mookid commented Oct 26, 2017

Something like

(add-to-list 'display-buffer-alist
                 '("\*Cargo.*"
                   (display-buffer-reuse-window display-buffer-in-side-window)
                   (side . bottom)
                   (window-height . 0.3)))

?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants