https://github.com/papis/papis-vim
A vim package to interact with vim
https://github.com/papis/papis-vim
bibliography citations fzf-scripts papis tex vim-plugin
Last synced: about 1 month ago
JSON representation
A vim package to interact with vim
- Host: GitHub
- URL: https://github.com/papis/papis-vim
- Owner: papis
- License: gpl-3.0
- Created: 2018-08-16T19:54:42.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-09-22T22:57:05.000Z (over 2 years ago)
- Last Synced: 2025-04-13T14:16:49.781Z (about 1 month ago)
- Topics: bibliography, citations, fzf-scripts, papis, tex, vim-plugin
- Language: Vim Script
- Size: 19.5 KB
- Stars: 15
- Watchers: 5
- Forks: 4
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# The `papis-vim` package
This package provides Vim support for [Papis](https://papis.readthedocs.io/en/latest/), command-line based bibliography manager.
[Screencast](https://asciinema.org/a/VkKJJYA3RRO4bHnw7Sgkoy2ZB)
## Install
This package depends on [fzf.vim](https://github.com/junegunn/fzf.vim).
### Using Vundle
Add these lines to the `.vimrc`:
Plugin 'junegunn/fzf'
Plugin '[email protected]:papis/papis-vim.git'## Usage
The `:Papis` command will open a search window for your bibliographic database. `Enter` command will insert citation for the selected record in the current buffer.
The `:PapisView` command will open the pdf file of the citation currently under your cursor with the same pdf-reader used by papis.
This currently only works when using whoosh as backend for the papis database. Add the following to your `config` file of papis:database-backend = whoosh
whoosh-schema-fields = ['ref']The second is needed to enable whoosh for searches through the ref field.
Add the following to your `tex.vim` file for useful keyboard shortcuts:
nnoremap pc :Papis
nnoremap pv :PapisView## Documentation
For more information, execute `:help papis` in Vim.