move webapi plugin check inside `srht#Paste()`
Add link to blog post in README
Add author name/license of vim-gist
This Vim plugin provides features for interacting with some sourcehut services. I wrote about why I created this plugin here.
In doubt, run
This plugin provides the following features per service:
:GBrowseto open sourcehut URLs
curland the webapi-vim plugin)
g:srht_token_file: path to the file containing a sourcehut personal access token (which is only required for commands that interact with the sourcehut APIs)
g:srht_paste_default_visibility: default paste visibility
g:srht_paste_domain: domain of the paste hosting service
g:srht_git_domain: domain of the git hosting service
Install the srht.vim plugin using your favorite package manager, or use Vim's built-in package support:
$ mkdir -p ~/.vim/pack/willdurand/start $ cd !$ $ git clone https://git.sr.ht/~willdurand/srht.vim $ vim -u NONE -c "helptags srht.vim/doc" -c q
Send patches to my public inbox
(please edit the
[PATCH] line to include
:SrhtPaste feature is heavily inspired by the excellent
vim-gist written by Yasuhiro Matsumoto and
released under the BSD License (2-clause).
srht.vim is released under the MIT License. See the bundled LICENSE file for details.