-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Better buffer navigation. #8519
Comments
What you describe is similar to tabbar-mode, there isn't an official layer for this yet but googling "spacemacs tabbar" will give you some unofficial layers and configurations you can test out. Also, try looking at the ibuffer layer and see if that helps with your organization woes. |
one thing that I like to use but it's not perfect is binding ctrl-shift-left and right arrow to buffer next and buffer previous. makes it much quicker to navigate nearby buffers. if you have an org file open you will have to revert to ;; faster buffer switching
(global-set-key (kbd "<C-S-right>") 'next-buffer)
(global-set-key (kbd "<C-S-left>") 'previous-buffer) I would love for there to be a well executed tabbar mode but the ones that I have found are really bad comparatively. |
I was using |
I think a saner alternative to tabs would be a plugin that hooks into like neotree to make a tree of buffers in a firefox tree-style-tabs fashion At the very least it should not be another layer of semantics and just hook into projectile/perspectives |
From my vim days, this was a good implementation of the buffer list in the tabline: https://github.com/vim-airline/vim-airline#smarter-tab-line |
If you haven't already tried it, check out the buffer transient state. Enter it by pressing SPC b ., and then press n and N (or p) to move forward and backward through buffers. |
The treemacs extensions tutorial has an example of something like this, and there's work on a more robust version to be added to master. |
I've been thinking about this as it sometimes anoys me as well. Maybe integrating something like https://github.com/manateelazycat/awesome-tab and then having a transient state pop up when |
Another tabs package is: https://github.com/ema2159/centaur-tabs |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid! |
The following PRs changes have been applied to the |
Awesome, I'll work with @WarFox in the following days to improve the key bindings. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid! |
Spacemacs buffer have the following problem:
1) It is very hard to remember where will next/previous-buffer command bring you.
2) It is also on very inconvenient shortcut SPC-b-n which is exactly three keystrokes for one buffer. But I typically want to move to the third or fourth buffer.
Therefore I almost never use anything but SPC-TAB and I kill buffers frequently to not go nuts.
So I am wondering whether there could be better system than the current one.
The text was updated successfully, but these errors were encountered: