xolox / vim-notes

Easy note taking in Vim
http://peterodding.com/code/vim/notes/
1.6k stars 110 forks source link

a remark on s:get_visual_selection() #105

Closed Konfekt closed 9 years ago

Konfekt commented 9 years ago

Dear @xolox,

I found your useful function s:get_visual_selection() at

https://github.com/xolox/vim-notes/blob/d30601243d989c8df11956f0637106d7f255a051/autoload/xolox/notes.vim

on

http://stackoverflow.com/questions/1533565/how-to-get-visually-selected-text-in-vimscript

However, perhaps it does not always return what you intended. Please check at

http://stackoverflow.com/questions/1533565/how-to-get-visually-selected-text-in-vimscript/28398359#28398359