Skip to content
Simple http rest tool for vim
Python Vim script
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.
doc fix #6 automatic redirects Apr 10, 2018
ftdetect initial Jun 20, 2015
ftplugin Many awesome features Sep 21, 2017
img Many awesome features Sep 21, 2017
plugin XML formatter Sep 27, 2017
server Many awesome features Sep 21, 2017
syntax fix path highlighting Apr 24, 2018
vial-plugin/vial_http RequestContext object has no attribute 'cookie' May 7, 2018
.gitignore py3 support Sep 29, 2017
CHANGELOG.rst fix #6 automatic redirects Apr 10, 2018
LICENSE Initial commit Jun 20, 2015 fix #7 client certificate support Apr 9, 2018


Awesome http REST tool for vim

Templates in action: templates


  • Intuitive syntax mimics HTTP protocol
  • Templates to capture state
  • Response and connection times in status line
  • Automatic json request body detector
  • Automatic json/xml response formatter
  • Separate buffers for response body, response headers and request
  • DRY
  • Support for HTTP basic auth
  • Support for ssl client certificates


vial-http is pathogen friendly and only requires vial to be installed:

cd ~/.vim/bundle
git clone
git clone

or for Plug:

Plug 'baverman/vial'
Plug 'baverman/vial-http'

Note: vim should be compiled with python or python3 support.


You need following options in your vimrc:

set hidden
filetype plugin on

hidden must be set because Vial-Http uses non-file temporary offscreen buffers with response content and without hidden they will be empty.

filetype plugin on needed for default keymap working.


  • <leader><cr> executes request line under the cursor
  • <c-k>/<c-j> cycle throw response/request/response headers windows


  • :VialHttp executes request line under the cursor
  • :VialHttpBasicAuth [username] makes Authorization header


You can’t perform that action at this time.