如何在修改后重新加载vimperator插件?现在我重新启动浏览器,每次我需要重新加载,但这是噩梦,开发这样的插件。
发布于 2015-06-04 23:16:37
Vimperator似乎没有插件的重新加载命令。最近的命令是
- Note that this command as written just "deregisters" plugins, which allows them to be reloaded. It doesn't remove any commands or bindings defined by the previous version of the plugin, just overwrites them.
- If you want to actually remove the previous commands and bindings (eg. if some commands have been removed from the plugin), you could write a "clean up" command for a specific plugin using `:delcommand`, `:unmap`, etc. to delete each command/mapping/etc defined in the plugin.
- You could also modify the `:reloadPlugins` command above, to use `:comclear`, which removes all user-defined bindings. In that case, you'd need to `:source ~/.vimperatorrc` as well as reload the plugins.
关于五肽,有几个相关的命令:
https://stackoverflow.com/questions/30586384
复制相似问题