renerocksai / sublime_zk

A SublimeText3 package featuring ID based wiki style links, and #tags, intended for zettelkasten method users. Loaded with tons of features like inline image display, sophisticated tag search, note transclusion features, support for note templates, bibliography support, support for multiple panes, etc. to make working in your Zettelkasten a joy :smile:.
Other
505 stars 58 forks source link

Shortcut for markdown link #61

Open jonathan-s opened 6 years ago

jonathan-s commented 6 years ago

It would be nice if there was a shortcut for making a selected word a markdown link. I would suggest cmd + k (on mac) as that is used elsewhere as well. Most notably google docs.

renerocksai commented 6 years ago

That should be easy enough to do. Just to make sure I understand you correctly: if you select the word hello and press cmd+k you want the selection to be transformed into [hello]()?

jonathan-s commented 6 years ago

Well, yes. Alternatively the following which might be cleaner, choice is always a good thing, ie making a setting out of it.

[Hello][1]
Some text. 

[1]: link here

Also with the issues I'm opening, only fix when / if you have time. I think eventually when I feel like I really need it I would contribute to one of these issues that I've opened.