Comments (3)
With #19 (thanks to @davvil!), we now depend on yq
rather than the lyaml
lua rock to convert papis' .yaml
files. This should eliminate difficulties that have always plagued the installation of such rocks (especially, but not only, when it comes to lazy.nvim). Please check out the installation section in the README for further information.
from papis.nvim.
With #21, we now use the papis_id
to identify entries (rather than depending on the ref
). This brings advantages as papis_id
is supposed to be stable, whereas the user might change ref
(which has at times led to some funny behaviour). After updating, please close all neovim instances, start a new one (there might be an error message when you run :PapisStart
) and run :PapisReInitData
.
I had some error messages appear due to duplicate ref
s, which weren't caught before. If that happens, please edit the relevant info.yaml
files (check papis.nvim debug messages to find out which ones) and rerun :PapisReInitData
.
If failures persist, please delete the papis.nvim
database. Use :checkhealth papis
to find out its location.
from papis.nvim.
With #28, I introduced a change in default keymaps. Given that only keymaps are affected and that these aren't enabled by default, this probably won't break anyone's setup -- but it might mess with your muscle memory for a bit. The change comes because the <c-n>
and <c-p>
insert commands are used by Neovim and Telescope for selecting next/previous items and the way things were set up messed with this (see #22).
The new functionality is:
papis.nvim
keymaps are only active for the files that match what's set in theinit_filenames
option- Telescope insert mode
<c-n>
(open note) and<c-o>
(open file) have become<c-o>n
and f` - Cursor action (normal mode)
<leader>pn
and<leader>po
have become<leader>pon
and<leader>pof
EDIT: 4. Insert mode<c-p>p
to open Telescope search has become<c-o>p
.
These keybinds are unfortunately a bit longer, but I thought it more important that the papis.nvim
default keybinds do not clash with neovim/telescope defaults. Of course, the keybinds can still be disabled and set to your heart's content 😄
from papis.nvim.
Related Issues (20)
- Add option to insert unformatted reference HOT 1
- Enable multiple-selection in telescope picker HOT 1
- `read_yaml` should fail gracefully if yaml is malformatted HOT 1
- Attempt to concatenate upvalue 'tag_delimiter' (a nil value) in completion/source.lua HOT 1
- Lazy.nvim support, as it does not support rocks. HOT 6
- Move from lyaml luarock to yq
- <c-p> in telescope works with huge delay (possible issue with <c-p>p). HOT 4
- ps: illegal option -- q HOT 10
- Invalid `jq` options `-oj` lead to Invalid YAML error HOT 3
- Opening files should respect papis config HOT 1
- vim.loop.os_uname().sysname returns "Windows_NT" HOT 3
- Having issues with read_yaml function in papis-storage.lua HOT 5
- Setup impossible HOT 1
- Entries are faulty HOT 3
- Include nix output HOT 1
- opening references picker causes telescope error HOT 6
- Search depth in the library HOT 1
- Setup not working correctly; database file apparently inaccessible HOT 1
- NixVim documentation
- cmp source for completing references HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from papis.nvim.