有没有一种更快捷的方式使用我的本地ENV的vimrc编辑AWS EC2配置文件?
Is there a faster way to edit AWS EC2 config file using my local env vimrc?
我发现这是很难用vim默认设置来编辑文件中的远程服务器
I found that it is very hard to edit file in remote server using default vim settings
任何人有很好的解决方案,使我们自己更好?
Any one has good solution to make ourself better?
我想你使用的 SSH 的登录到您的AWS服务器,并启动Vim的存在。另一种方法是启动Vim的本地系统上,并在那里打开远程文件,例如:通过内置的 NETRW 的插件:
I suppose you're using ssh to log into your AWS server and launch Vim there. An alternative is to launch Vim on your local system, and open the remote file in there, e.g. via the built-in netrw plugin:
$ vim scp://hostname/path/to/file
或Vim中:
or within Vim:
:edit scp://hostname/path/to/file
有很多不同的方法在多台机器共享你的的.vimrc
和插件。可能的解决方案是最近在What是处理多台机器上的vim插件的最佳方法是什么?
There are many different approaches for sharing your .vimrc
and plugins across multiple machines. Possible solutions were recently collected at What is the best way to deal with vim plugins on multiple machines?