/vim-dot-http

dot-http support for vim

Primary LanguageVim Script

vim-dot-http

dot-http support for vim

screenshot

Description

Features:

  • Syntax highlighting for .http files
  • Run request under cursor
  • Response output displayed in scratch buffer

Installation

# vim 8 native package loading
# http://vimhelp.appspot.com/repeat.txt.html#packages
git clone https://github.com/bayne/vim-dot-http.git ~/.vim/pack/my-packages/start/vim-dot-http

Usage

Running :DotHttp will invoke dot-http on the line that the cursor is currently on. The response output will be displayed in a scratch buffer.

Set the current environment by setting the environment variable

let g:dot_http_env = 'dev'