codewindow.nvim
codewindow.nvim copied to clipboard
[Feature Request] Style options for cursor display
Some subtler options for the cursor display set with show_cursor would be great. E.g.:
- Highlight the active line rather than displaying the cursor itself
- Represent the cursor as another circle at the minimap's edge, rather than as a block
- Represent the cursor as another circle that travels along the minimap border
Highlight the active line rather than displaying the cursor itself
Not possible, either you highlight an entire block of 4x2 dots or nothing
Represent the cursor as another circle at the minimap's edge, rather than as a block
This sounds nice, though it would make the minimap a bit wider (by one character exactly), I'll look into it later
Represent the cursor as another circle that travels along the minimap border
This at the very least would mean making the border of the window a separate floating window that gets filled in manually. Afterwards the only option you have would be using something like this to display the dot, and sadly that doesn't at all match up with the rest of the border chars. So probably not possible
I'd like to see more cursor options too namely: codewindow.setup({ show_cursor_row = true, })
vim.api.nvim_set_hl(0, "CodewindowCursorRow", {link="ContentCursor"})
This would turn on a highlight group for the cursor row, similar effect to minimap.vim: