1
0
Fork 0
mirror of https://github.com/SeriousBug/dotfiles synced 2025-02-22 22:29:50 -06:00
dotfiles/logseq/plugins/logseq-tabs/readme.md
2023-01-26 23:45:42 -05:00

28 lines
1.3 KiB
Markdown

# Logseq Plugin Tabs
[![Github All Releases](https://img.shields.io/github/downloads/pengx17/logseq-plugin-tabs/total.svg)](https://github.com/pengx17/logseq-plugin-tabs/releases)
A plugin that let's you to manage your working pages with tabs.
UX is mainly brought from modern browsers:
- normally, if a new page is visited, the current tab will be replaced by the new page
- if you click a page link or a block ref while holding CTRL (or CMD on Mac) key, a new tab will be created, but it is not visited yet
- you can click the remove icon or middle click a tab to close tabs
- you can double-click a tab to pin it. A pinned tab will not be replaced or be removed.
- you can drag & drop to reorder tabs
- tabs info will be persisted in your local storage, so that your tabs will recover even if you re-open the app
![](./demo.gif)
## Keyboard shortcuts
- Pin/unpin a tab: <kbd>CTRL</kbd> + <kbd>P</kbd> (macOS: <kbd>CMD</kbd> + <kbd>P</kbd>)
- Close a tab: <kbd>SHIFT</kbd> + <kbd>CTRL</kbd> + <kbd>W</kbd> (macOS: <kbd>SHIFT</kbd> + <kbd>CMD</kbd> + <kbd>W</kbd>)
- Change to next tab: <kbd>CTRL</kbd> + <kbd>TAB</kbd>
- Change to nth tab: <kbd>CTRL</kbd> + <kbd>1</kbd> ~ <kbd>9</kbd> (this is not configurable yet)
Hint: you can change them in the Settings. After change, you need to restart the app.
![](./keybinding-settings.png)