Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add open-with-cmd and bookmarks plugins #14

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

Mcrtin
Copy link

@Mcrtin Mcrtin commented Jan 21, 2025

  • feat: Add plugin: Bookmarks
  • feat: Add plugin: open-with-cmd

I think I'm using a different formatter then you guys ._.
I named the key binds using under_scores; I didn't know which convention to use.

In Bookmarks, the marks are not persistent by default; one has to change the init parameters, i.e.

require("bookmarks"):setup({
	last_directory = { enable = true, persist = false },
	persist = "vim",
	desc_format = "parent",
	notify = {
		enable = true,
		timeout = 1,
		message = {
			new = "New bookmark '<key>' -> '<folder>'",
			delete = "Deleted bookmark in '<key>'",
			delete_all = "Deleted all bookmarks",
		},
	},
})

resolves #10

@Mcrtin
Copy link
Author

Mcrtin commented Jan 21, 2025

I just noticed, that the plugins I used as templates had two different ways of making the homemanger module

@Mcrtin
Copy link
Author

Mcrtin commented Jan 21, 2025

can someone help me with the init.lua?

@Mcrtin
Copy link
Author

Mcrtin commented Jan 22, 2025

I added the nested options; haven't tested it though

@haennes
Copy link
Contributor

haennes commented Jan 23, 2025

For Markdown I am not using any formatter. For the nix files running nix fmt should be fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Plugin wishlist: open-with-cmd, bookmarks, and hexyl
2 participants