使用vim,如何快速刷新正在处理的网页? [英] Using vim, how do you quickly refresh a web page you're working on?

查看:45
本文介绍了使用vim,如何快速刷新正在处理的网页?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在使用VIM几周了,同时使用了各种Web语言,我真的很喜欢它.

I've been using VIM for a few weeks now while messing with various web languages and I'm really enjoying it.

我发现麻烦,必须在浏览器中单击或单击并刷新页面以查看代码更改的效果.当我使用Virtual Box时,这更令人烦恼,而且我倾向于在主机系统上使用PDF文件进行工作,因此我的窗口空间有限.

I find it cumbersome having to tab or click into my browser and refresh the page to see the effect of a code change. It's even more annoying as I'm using Virtual Box and I tend to be working from PDF files on the host system so I have limited window space.

您的上师有什么特别的方法吗?我想知道是否有可能拆分VIM工作区,并在其自身的窗口中包含链接/天猫座或达到某种效果?

Do you gurus have any fancy ways of doing this? I was wondering if it's possible to split the VIM workspace and have links/lynx in a window of its own or something to that effect?

出于好奇,如果仍然有人瞥了一眼:-

out of curiosity, if anyone is still glancing at this:-

是否可以从vim执行浏览器并基于各种变量加载URL?

is it possible to execute a browser from vim and load a URL based on a variable of sorts?

:!firefox http://localhost/bla/ $ CURRENTWORKINGFILE

:! firefox http://localhost/bla/$CURRENTWORKINGFILE

什么东西?

推荐答案

我不知道具体如何做,但是我知道有两个插件可以让您从VIM中与Shell进行通信:

I don't know how to do this in specific, but I know of two plugins which let you communicate with a shell from within VIM:

这篇关于使用vim,如何快速刷新正在处理的网页?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆