Skip to content

servicex-sh/httpx.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

httpx.vim Neovim plugin

Getting started

  • Install httpx.vim manually:
git clone https://github.com/servicex-sh/httpx.vim.git \
  ~/.config/nvim/pack/github/start/httpx.vim
  • Open index.http file and move the cursor to a request, then invoke :Httpx command
  • You can bind keymap as following and press ctrl-h to make request
nnoremap <c-h> :Httpx<CR>

Tips: For code completion, please install GitHub Copilot.vim

Abbreviations

httpx vim plugin with following abbreviations by default, and you can add more customized abbreviations.

autocmd FileType httpfile :iabbrev <buffer> hget 
\<CR>### http get
\<CR>GET http://httpbin.org/ip

autocmd FileType httpfile :iabbrev <buffer> hpost 
\<CR>### http post
\<CR>POST http://httpbin.org/post
\<CR>Content-Type: application/json
\<CR>
\<CR>

ScreenShot

httpx Neovim

References

Releases

No releases published

Packages

No packages published