You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The idea is to allow a custom map or function that is applied in order to transform the selected text when creating a new link.
Presently, if one selects Some text and creates a link with the <cr> visual mode mapping, the link becomes [[Some text]], i.e. the same text is used for the link target. The proposal is to allow a user to customize this, e.g. with:
Relevant parts of the code include wiki#link#toggle, wiki#link#toggle_visual, and wiki#link#toggle_operator, as well as s:parser_word() in the same file.
@BonaBeavis Not sure if you still care about this plugin, but if you do then I have finally added the text to url map feature. I would be happy to hear if you think it works as expected.
This was suggested by @BonaBeavis in #12.
The idea is to allow a custom map or function that is applied in order to transform the selected text when creating a new link.
Presently, if one selects
Some text
and creates a link with the<cr>
visual mode mapping, the link becomes[[Some text]]
, i.e. the same text is used for the link target. The proposal is to allow a user to customize this, e.g. with:With this configuration, the result of pressing
<cr>
onSome text
would now be[[some-text|Some text]]
.The text was updated successfully, but these errors were encountered: