https://github.com/duckdm/lookie
Bookmark plugin for neovim
https://github.com/duckdm/lookie
bookmark marker neovim neovim-plugin nvim nvim-plugin
Last synced: about 1 month ago
JSON representation
Bookmark plugin for neovim
- Host: GitHub
- URL: https://github.com/duckdm/lookie
- Owner: duckdm
- License: mit
- Created: 2024-10-18T17:10:56.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-16T14:48:50.000Z (12 months ago)
- Last Synced: 2025-06-27T03:04:41.093Z (11 months ago)
- Topics: bookmark, marker, neovim, neovim-plugin, nvim, nvim-plugin
- Language: Lua
- Homepage:
- Size: 15.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Lookie
Bookmark plugin for neovim.
## Available methods
```lua
--- Add/remove marker
require("lookie").add()
--- Open lookie
require("lookie").open()
```
## Example setup with lazy
```lua
{
'duckdm/lookie',
--- See default config
opts= {},
keys = {
{ "m", function() require("lookie").add() end, { desc = "Add/remove lookie marker" } },
{ "M", function() require("lookie").open() end, { desc = "Open lookie" } },
}
}
```
## Default config
```lua
{
---@type string|"cwd"|function(): string Data location. If set to "cwd" it will save data to current working directory ([cwd]/.lookie/[file_name])
data_path = vim.fn.stdpath("cache") .. "/duckdm/lookie/",
---@type table Marker typess
types = {
info = {
hl = "LookieInfo",
icon = "",
fg = "#00aaff",
bg = "#003366",
},
danger = {
hl = "LookieDanger",
icon = "",
fg = "#ff0000",
bg = "#330000",
},
warning = {
hl = "LookieWarning",
icon = "",
fg = "#ffaa00",
bg = "#663300",
},
success = {
hl = "LookieSuccess",
icon = "",
fg = "#00ff00",
bg = "#003300",
},
},
}
```