counsel-ffdata
allow you to access your Firefox user data (currently bookmarks
and history) with ivy interface in Emacs.
For most *nix distribution, you can simply install it with your system package manager. For example,
sudo pacman -S sqlite
sudo apt-get install sqlite3
For Windows system, you can use choco.
choco install sqlite
counsel-ffdata
is currently available on melpa, so you can install it with
M-x package-install RET counsel-ffdata RET
counsel-ffdata
is depend on ivy and emacsql, you need to install them
manually.
Clone this repo, Write following Elisp in your .emacs
file.
(add-to-list 'load-path "/path/to/plugin")
(require 'counsel-ffdata)
(global-set-key "C-c F h" #'counsel-ffdata-firefox-history)
(global-set-key "C-c F b" #'counsel-ffdata-firefox-bookmarks)
Bind the functions below to your favourite key.
Functions | Usage |
counsel-ffdata-firefox-bookmarks | Access your Firefox Bookmarks |
counsel-ffdata-firefox-history | Access your Firefox History |
counsel-ffdata
will guess the path of your Firefox database.
However, but if you use different Firefox profile, you may get unexpected
behaviour. Customize counsel-ffdata-database-path
to specify your path to
firefox database.
Issue reporting and PR are welcome.
如果你觉得我的作品为你带来便利, 欢迎使用爱发电支持我
If you like my work, you can support me via Patreon