Skip to content

Instantly share code, notes, and snippets.

View anandkumar89's full-sized avatar
πŸ’­
πŸ“š πŸ“š πŸ“š πŸ“š

Anand anandkumar89

πŸ’­
πŸ“š πŸ“š πŸ“š πŸ“š
View GitHub Profile
@anandkumar89
anandkumar89 / seek.lua
Last active March 28, 2025 20:16
`seek.lua` file in zotcite. I've modified it (i) Use betterbibtex citekeys (consistent with vimtex this way) (ii) Use Fzf picker (iii) Use <CR> to open attachments in sioyek. Things are hacked to just work!
local pickers = require("telescope.pickers")
local fzf_lua = require("fzf-lua")
local finders = require("telescope.finders")
local sorters = require("telescope.config").values
local actions = require("telescope.actions")
local action_state = require("telescope.actions.state")
local previewers = require("telescope.previewers")
local entry_display = require("telescope.pickers.entry_display")
local M = {}
@anandkumar89
anandkumar89 / zotcite_bbt.md
Last active February 20, 2025 11:22
Extending zotcite to work with betterbibtex

I primarily use jalvesaq/zotcite to interact with zotero from neovim. I primarily use it

  • search for an article and open its attachements.
  • extract annotations
  • check info of selected reference

In this I'm trying to extend it to

  1. use bbt-citekeys (to keep citing consistent with vimtex)
  2. read the code to understand how can I use pythons script to bridge sioyeks and zotero annotations. i.e. I should be able to add highlights from sioyek to zotero database.
  3. Allow filtering live filtering for collections in Zseek or make it collections support tex files or just move entire thing to vimtex