Skip to content

Tag: configuration

How to make z= look like ctrl-x s in vim spell check

So in insert mode if you hit ctrl-x s on a misspelled word you get a nicely formatted popup menu of spelling suggestions. This is awesome. The comparable command in normal mode (z=), however, gives a bland plain-text list that eats the whole screen. I’ve partially solved this by adding the following key…

Externalizing Tomcat webapp config from .war file

I am having trouble with configuring a webapp in Tomcat 7. In my WAR file, there is a properties file myApp/WEB-INF/classes/myProps.props, and it contains environment-specific properites. I am trying to override that configuration file on the server, so that the same WAR file will deploy to multiple environme…

How do I start gvim with a maximized window?

I would like to start gvim, from the command line, into a maximized window – how can I do this? I have no wish to always start in a maximized window (that is, not configure it as default in .vimrc), but rather choose to provide a parameter to the program. That is, running gvim <parameter(s)> shoul…