yuki-yano / denops-open-http.vim

MIT License
2 stars 0 forks source link

denops-open-http.vim

When a buffer starting with http or https is opened, fetch is performed and the contents are expanded into the buffer.

This plugin depends on denops.vim.

Installation

Required

Open URL

" Raw URL
:e https://raw.githubusercontent.com/yuki-yano/denops-open-http/main/denops/open-http/main.ts

" Use GitHub URL
:e https://github.com/yuki-yano/denops-open-http.vim/blob/main/denops/open-http/main.ts

Open from browser for GitHub

Demo

https://user-images.githubusercontent.com/5423775/216580122-bcfc5279-2cd7-44cd-b420-926d3da222a3.mp4

Usage

:OpenHttpGitHubServerStart

Intall Tampermonkey and open_github user_script

Click "Open Vim" button.

open_vim