• Stars
    star
    411
  • Rank 103,179 (Top 3 %)
  • Language
    Python
  • License
    MIT License
  • Created about 9 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Simple http rest tool for vim

vial-http

Awesome http REST tool for vim

Templates in action: templates

Features:

  • 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

Install

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

cd ~/.vim/bundle
git clone https://github.com/baverman/vial.git
git clone https://github.com/baverman/vial-http.git

or for Plug:

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

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

Docs

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.

Keymap:

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

Commands:

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

Tutorial

More Repositories

1

flameprof

Flamegraph generator for cProfile stats
Python
224
star
2

sqlbind

Lightweight text-based SQL parameter binds
Python
109
star
3

snaked

Snaked is dead baby, snaked is dead.
Python
44
star
4

orcsome

Scripting extension for NETWM compliant window managers
Python
28
star
5

grafana-stack

Tiny docker images for graphite, grafana and statsdly
Python
26
star
6

typetrainer

typing tutor trainer
Python
25
star
7

dsq

Dead simple queue using redis
Python
19
star
8

hisser

Fast TSDB backend for graphite
Python
13
star
9

supplement

Python completion framework
Python
10
star
10

vial

A framework to develop plugins for Vim in python
Python
10
star
11

scribes-goodies

Extensions for excellent scribes editor. Attention! I discontinued Scribes's plugin support in favor of own Snaked editor.
Python
9
star
12

vim-babymate256

Port of gtksourceview babymate scheme for 256-color term
Vim Script
8
star
13

dropthesoap

SOAP server and XSD/WSDL modeling framework for python
Python
7
star
14

covador

Python data validation with web in-mind
Python
6
star
15

click-lock

Adds locks and timeouts to click entrypoints
Python
5
star
16

backup

My configs
Python
4
star
17

baito

Lightweight WSGI framework. Explicit thin wrapper around WebOb, Beaker and Routes
Python
4
star
18

awesome-config

My rc.lua and theme.lua
Lua
4
star
19

buildbot_pipeline

Dynamic builders for Buildbot
Python
3
star
20

ffcast

take screencast using ffmpeg
C
3
star
21

vial-python

Python mode for vim using vial framework
Python
2
star
22

swoop

Completely RFC-unaware web scrapper
Python
2
star
23

fmd

File Manager for Dad is a minimalistic keyboard oriented fm.
Python
2
star
24

jeque

Simple job queue with priorities
Python
2
star
25

uxie

PyGtk UX lib
Python
2
star
26

mpd-tag

External tag manager for MPD
Python
2
star
27

gen-cert

Scripts to generate self signed cert with root CA and correct subjectAltName
Shell
2
star
28

smpipi

Simple, flexible and non-restrictive SMPP client for python
Python
2
star
29

gedit-xml-plugin

Provides xml editor with autocomplete, easy navigation and schema validation
Python
2
star
30

pghll

PostgreSql extension compatible with HyperLogLog implementation from java stream-lib
C
2
star
31

wide-telegram

Plugin for chrome based browsers, removes blank paddings around UI on https://web.telegram.org/
CSS
1
star
32

docker-python

A set of tiny alpine-based images for python 2.7, 3.4, 3.5 and 3.6.
Dockerfile
1
star
33

cakeplant

Simple accounting for bread and cake plants
Python
1
star
34

cachel

Fast caches for python
Python
1
star
35

skameyka

Web client for taburet
Python
1
star
36

kushetka

GTK client for taburet applications
1
star
37

statsdly

Simple StatsD server compatible with python3
Python
1
star
38

redis_writer

Fast serializer to pipeline data into redis
Python
1
star
39

taburet

Simple accounting platform based on couchdb
Python
1
star
40

flask-app-template

Simple flask template for HTTP API backend with decoupled business logic, alembic, pytest, sentry, uwsgi, statsd server and docker.
Python
1
star
41

drainhunter

Python memory leaks investigating tool, includes django support
Python
1
star
42

vial-mail

Create address book from maildir and autocomplete addresses for vim
Python
1
star
43

notipy

A minimalistic gtk3 notification daemon written in python.
Python
1
star