A Neovim plugin to open your browser bookmarks right from the editor!
Previously, the plugin allowed configuring via the telescope extension like the following:
require('telescope').setup {
extensions = {
bookmarks = {
-- Provide the options here to override the default values.
selected_browser = 'arc',
},
},
}
This creates the following problems:
setup
callRefer to https://github.com/dhruvmanila/browser-bookmarks.nvim/issues/38.
This release removes the feature and provides a warning like the following:
Configuring the plugin using the telescope extension is deprecated. Please use the `setup` function from the main module:
require('browser_bookmarks').setup({
selected_browser = "arc"
})
The warning will be removed in the next minor release.
Full Changelog: https://github.com/dhruvmanila/browser-bookmarks.nvim/compare/v3.2.0...v4.0.0
profile_name
option.config_dir
for the path where the plugin extracts the bookmarks data from. This path can be altered to a custom location.And a big thanks to everyone who's using this plugin! You're awesome! 🎉
Full Changelog: https://github.com/dhruvmanila/browser-bookmarks.nvim/compare/v3.1.0...v3.2.0
Define the command through the plugin/
directory. This makes the setup
function optional to be invoked for setting up the plugin. It's only required if any of the default options needs to be overridden.
From README:
Note: Setup function is only required to be invoked to override the default configuration values. Otherwise, the setup is done automatically to use the default configuration values and define the
BrowserBookmarks
command.
Full Changelog: https://github.com/dhruvmanila/browser-bookmarks.nvim/compare/v3.0.0...v3.1.0
Note: This is NOT a breaking change as suggested by the major version bump. That is done so as to mark a big change such as this one. Existing users using it as a telescope extension do not need to change anything although it's recommended to update the plugin name.
The project got a complete rewrite to convert it from a telescope extension to a Neovim plugin. This is possible with the help of vim.ui.select
interface. Any fuzzy finder re-implementing the vim.ui.select
interface can be used to select and open a bookmark.
Rename project from telescope-bookmarks.nvim
to browser-bookmarks.nvim
as this is not just a telescope extension now.
Generic interface using vim.ui.select
New command: BrowserBookmarks [<browser>]
New API functions to collect the bookmarks or select from them:
ocal browser_bookmarks = require('browser_bookmarks')
- Bookmarks is a table containing all the bookmarks. The user can use this as desired.
ocal bookmarks = browser_bookmarks.collect()
- Use `vim.ui.select` to open a fuzzy finder to select a bookmark and open it in the
- default browser
rowser_bookmarks.select()
For more info, please refer to the updated README.
Full Changelog: https://github.com/dhruvmanila/browser-bookmarks.nvim/compare/v2.2.0...v3.0.0
Full Changelog: https://github.com/dhruvmanila/telescope-bookmarks.nvim/compare/v2.1.0...v2.2.0
Full Changelog: https://github.com/dhruvmanila/telescope-bookmarks.nvim/compare/v2.0.0...v2.1.0
As mentioned in the last release notes, the firefox_profile_name
and water_profile_name
is removed and replaced with the more generic profile_name
option.
Full Changelog: https://github.com/dhruvmanila/telescope-bookmarks.nvim/compare/v1.3.0...v2.0.0
A new config option (profile_name
) to provide profile name for browsers which supports switching between profiles. Currently, the following browsers are supported:
The following config options are deprecated and will be removed in v2.0.0. Please migrate to profile_name
instead.
firefox_profile_name
waterfox_profile_name
Full Changelog: https://github.com/dhruvmanila/telescope-bookmarks.nvim/compare/v1.2.0...v1.3.0
url_open_command
and url_open_plugin
are supported.Full Changelog: https://github.com/dhruvmanila/telescope-bookmarks.nvim/compare/v1.1.0...v1.2.0
Improved Firefox/Waterfox profile lookup: If there's only one profile and user haven't specified any, then use that by default. Fallback to the default profile set by the browser when it's opened for the first time. Even after this, if we can't deduce the profile name, give a warning to the user.
Full Changelog: https://github.com/dhruvmanila/telescope-bookmarks.nvim/compare/v1.0.0...v1.1.0