Comments (5)
It is now persisted by filename, what do you mean by neovim instances? like clear them when quit?
from arrow.nvim.
Thanks for the prompt reply.
Currently, when I quit Neovim and reopen the file, all local buffers bookmarks are gone. Is there a way to keep them like the the usual arrow global items/files.
from arrow.nvim.
Maybe it is a bug, the location is a json file in ~/.cache/nvim/arrow/, can you check it?
Here is related code.
from arrow.nvim.
thanks.
yes, I believe there's a bug here. When I lazy load the plugin based on keys (meaning opening the filename before the plugin), all the local-buffer bookmarks disappear, no matter what I do.
But when I lazy load based on event = "BufReadPost"
or lazy = false
, for example, it works fine and the buffer-bookmarks persist.
I had this in my config:
{
"otavioschwanck/arrow.nvim",
cmd = "Arrow open",
keys = {
{ "<tab>" },
{ "," },
},
}
Another thing I noticed is that there isn't just one JSON file in the .cache/nvim/arrow
directory. For every file I save bookmarks for, there's a corresponding file with no extension, but it's a JSON file. Below is a screenshot of the directory; I only have two files bookmarked.
from arrow.nvim.
meaning opening the filename before the plugin
That’s the problem. We don’t load files while lazy loading, so the initial state will be empty table, then after you open menu, we sync that empty state to disk that overwrites the original one.
from arrow.nvim.
Related Issues (20)
- Feat: Add bookmark icons to statuscol? HOT 2
- Bug: icon highlights apply to actions after deleting a few items from the modal HOT 1
- strange leader_key behaviour when updating HOT 2
- Bug: cursor disappears after float exit HOT 6
- arrow.nvim fails on leader key call
- How do I call custom_actions entry? HOT 4
- BUG - is on arrowfile check isnt working correctly HOT 1
- feature request: Use ctrlspace workspace for save_key
- Getting empty buffer only when selecting bookmarks by index key HOT 4
- [Bug] init failing because default buffer config missing z-index HOT 1
- selectively or completely hide keymaps on the menu HOT 1
- hide_handbook not working on buffer mark view HOT 6
- select item with letter keys as opposed to number keys HOT 2
- prev_buffer_bookmark implementation is incorrect HOT 2
- Feature: remove hints ui and enter directly to modes
- Feature: Jump to previous/next line bookmark in buffer? HOT 1
- Feature: Allow disabling leader key HOT 2
- saved files keep disappearing from arrow list HOT 6
- Bookmark Navigation HOT 1
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 arrow.nvim.