今前几天找了款好用的vim插件(前提需要安装coc.nvim)。
安装coc-psot
在vim命令模式下键入:CocInstall coc-post
即可

使用coc-post
在vim命令模式下键入:CocList commands

选择
post.new
输入test作为文件名
写入请求的地址等参数

在vim命令模式下键入
:CocList commands
选择post.do

这样就完成了一次http请求右侧可以查看相关的返回内容。test.post文件默认的存储路径是~/.coc-post
需要的可以删除里面的文件。:CocList post
可以查看历史的请求文件。
网友评论