daler / dotfiles

dotfiles, batteries included
https://daler.github.io/dotfiles/
19 stars 13 forks source link

markdown and ReST link formatting #38

Closed daler closed 10 months ago

daler commented 10 months ago

When pasting from the OS clipboard (i.e. after copying a url from a browser), use <leader>p to paste the link into markdown or ReStructured Text, creating the correct syntax for the filetype, and putting the cursor in insert mode at the point where the description should go.

Currently this only works when editing locally; otherwise to access the clipboard on a remote machine and in tmux takes a lot of contorted X-forwarding work. Will need to think more about how best to handle that.