itchyny / calendar.vim

A calendar application for Vim
MIT License
1.95k stars 72 forks source link

Date Picker #136

Open emKaroly opened 6 years ago

emKaroly commented 6 years ago

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

itchyny commented 6 years ago

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.

emKaroly commented 6 years ago

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.

itchyny commented 6 years ago

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

emKaroly commented 6 years ago

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

alienbogart commented 6 years ago

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.