Comments (2)
I ended up giving up trying to use the mac tab-bar with bufler, as things like tab-bar-switch-to-tab
(by name) doesn't work with the advice that's in place. What does work, however, is combining eyebrowse (and likely other window configuration systems) with bufler!
This customization code helps a lot:
(defvar asf--bufler-workspace-assignments (vector nil nil nil nil nil nil nil nil nil nil)) ; 10.
(add-hook 'bufler-workspace-set-hook
(defun asf-register-bufler-ws-with-eyebrowse (workspace)
(setf (aref asf--bufler-workspace-assignments (eyebrowse--get 'current-slot))
workspace)))
(add-hook 'eyebrowse-post-window-switch-hook
(defun asf-eyebrowse-bufler-switch-group ()
(let ((eb-workspace (eyebrowse--get 'current-slot)))
(bufler-workspace-frame-set (aref asf--bufler-workspace-assignments eb-workspace)))))
Now, whenever I switch to one of the eyebrowse window configs (to one of the 10 that I have bound to s-<number key>
, bufler switches workspaces too; and whenever my bufler frame workspace changes, that gets recorded so eyebrowse can keep up, as well.
I'm pretty happy with this solution, despite not being tab-bar based - hope this customization is useful to somebody else. I'll close this issue.
from bufler.el.
As you have probably guessed, I don't use a Mac. I'd prefer to not add platform-specific workarounds to this project. If you're able to come up with some code to work around this problem on a Mac, I'd be willing to mention it in the documentation.
from bufler.el.
Related Issues (20)
- Warnings with bufler-switch-buffer HOT 3
- cons: Symbol’s value as variable is void: max-width HOT 3
- Bufler doesn't display buffer kills on exwm windows HOT 6
- bufler-list-buffer-switch does not respect window cofiguration HOT 10
- Switching to buffer without deleting window? HOT 3
- Bufler installation from MELPA fails with compilation error HOT 8
- max-width variables seem un-used HOT 8
- Error while loading autoloads HOT 12
- bufler-groups explanation HOT 2
- Sidebar? HOT 4
- tab-bar-switch-to-{prev,next}-tab and related issues HOT 1
- replace $HOME in Path on *Bulfer* HOT 2
- Simple example to add a buffer with a certain name to Bufler's list? HOT 3
- bufler-mode-map/bufler-mode as minor mode? HOT 1
- Relative path column HOT 1
- Add bookmark function
- butler-reverse inconsistent with documentation HOT 1
- Subgroups and syntax? HOT 3
- (buffler-group-auto-parent-project) don't work, if homedir is git repository HOT 3
- README does not correctly reflect state of bufler-tabs-mode HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bufler.el.