Skip to content

feat: custom note picker output#262

Open
dtanphat9388 wants to merge 2 commits into
zk-org:mainfrom
dtanphat9388:main
Open

feat: custom note picker output#262
dtanphat9388 wants to merge 2 commits into
zk-org:mainfrom
dtanphat9388:main

Conversation

@dtanphat9388
Copy link
Copy Markdown

@dtanphat9388 dtanphat9388 commented Sep 27, 2025

Default, zk note picker show only title, but i want show in format "{titile} -- {lead}"

Why?

Before:

# Wayland - New display server manager for Ubuntu

After

# Wayland

New display server manager for Ubuntu
Screenshot from 2025-09-27 15-55-26

this my my zk-nvim setup for custom

		zk.setup({
			picker = "telescope",
			picker_options = {
				select = { "lead" }, -- will appended to defualt  { "title","path", "abspath" }
				display = {
					separator = " -- ",
					-- entry format: { field, width, highlight }
					entry = {
						{ "title", "auto" },
						{ "lead", "remaining", "Comment" },
					},
					ordinal = { "title", "lead" }, -- fields to search
				},
			},
	              -- ...
		})

@riodelphino
Copy link
Copy Markdown

So nice !

@github-actions
Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had recent activity.

@github-actions github-actions Bot added the stale label Dec 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants