calendar.vim icon indicating copy to clipboard operation
calendar.vim copied to clipboard

Date Picker

Open emKaroly opened this issue 7 years ago • 5 comments

Is there a way to copy the selected date or time and use the calendar as date picker?

emKaroly avatar Mar 20 '18 11:03 emKaroly

No. I'm afraid I don't understand the situation you want to copy the date. Also I would copy the text using the copy mode of tmux.

itchyny avatar Mar 20 '18 12:03 itchyny

For example i am looking at calendar where i have some free time and navigate to that spot with cursor, than i want to copy the date an time of that spot to put that in mail or other place.

emKaroly avatar Mar 20 '18 13:03 emKaroly

Okay, I think this is worth implementation. I wonder which key sequence would be natural to trigger this feature...

itchyny avatar Mar 22 '18 00:03 itchyny

Yank would be nice with some "Text object" functionality like: "yiw" => 2018-03-22 10:00 "yw" => 2018-03-22 10:38-11:00 "yaw" => 2018-03-22 10:00-11:00 "Y" => 2018-03-22

emKaroly avatar Mar 22 '18 08:03 emKaroly

One more vote for this feature. vim-orgmode uses calendar-vim for that, it would be great having a more up-to-date plugin with this functionality.

alienbogart avatar May 29 '18 03:05 alienbogart