https://github.com/lambdalisue/vim-http-protocol
Vim/Neovim plugin to support opening http:// or https:// without netrw.vim
https://github.com/lambdalisue/vim-http-protocol
http https neovim vim
Last synced: 10 months ago
JSON representation
Vim/Neovim plugin to support opening http:// or https:// without netrw.vim
- Host: GitHub
- URL: https://github.com/lambdalisue/vim-http-protocol
- Owner: lambdalisue
- License: mit
- Created: 2024-03-12T00:09:51.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-12T00:49:57.000Z (almost 2 years ago)
- Last Synced: 2025-02-05T13:23:16.403Z (11 months ago)
- Topics: http, https, neovim, vim
- Language: Vim Script
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# http-protocol.vim
Allow opening a remote file with `http://` or `https://` format.
Note that this plugin conflicts with `netrw.vim`.
## Supported formats
- `http://...`
- `https://...`
## Requirements
One of the following commands must be available in your system.
- `curl`
- `wget`
- `pwsh` (PowerShell)
- `powershell` (PowerShell)
## Usage
Users must disable `netrw.vim` to use this plugin.
```vim
let g:loaded_netrw = 1
let g:loaded_netrwPlugin = 1
let g:loaded_netrwSettings = 1
let g:loaded_netrwFileHandlers = 1
```
Then open a remote file with `http://` or `https://` format.
```vim
:e http://example.com
```
## See also
- [file-protocol.vim](https://github.com/lambdalisue/file-protocol.vim) - Allow opening a local file with `file://` format.
# License
The code in fern.vim follows MIT license texted in [LICENSE](./LICENSE).
Contributors need to agree that any modifications sent in this repository follow the license.