Thursday, October 9, 2014

Re: shorten the display of url's while note taking

> You could use the "conceal" feature to hide parts of the text. Then by default when you move the cursor onto the line, the hidden text would be shown. Or you could set it up so that only happens in visual mode, or insert mode.

I use this for a similar purpose in the viki plugin. Unfortunately, it doesn't play well with word wrap which is why text with shortened URLs tends to look awkward.

An alternative solution is "link maps", i.e. use a shortcut in the text and have the URL for that shortcut defined in a specially formatted table/definition list someplace else -- similar to footnotes.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment