nvim-telekasten / telekasten.nvim

A Neovim (lua) plugin for working with a markdown zettelkasten / wiki and mixing it with a journal, based on telescope.nvim
MIT License
1.4k stars 90 forks source link

FR : Open weekly note from Calendar view #55

Open Rom1deTroyes opened 2 years ago

Rom1deTroyes commented 2 years ago

A Feature Request to quickly open week notes :

When you press Enter on a day in the Calendar view, telekasten opens the corresponding daily note.

Why about having the same functionality to open the weekly note when selecting the week number ?

image

I think I'm going telekasten-adict :1st_place_medal:

Rom1deTroyes commented 2 years ago

Just see that it is already on the backlog :confused:

So a +1 vote for this functionality :+1:

By the way, in the calendar view, the last char of the line is a Space, so using $ goes after the week number : image (don't know if it comes from calendar.vim or from your fork : tell me if I better open an issue on the calendar.vim repo)

renerocksai commented 2 years ago

I only changed some 'code' in calendar.vim to fix a bug with calendar action parameters. Telekasten extends the vertical split by 1 column to avoid right margin cut-off if for some reason the signcolumn is on in the calendar. It doesn't append spaces, though. So that must be in the original code and can probably be fixed. Something for the ever-growing backlog :smile: