This is my VIM cheat sheet and i'm building it day-by-day.
Managing Windows
:vsplit: open another window of current buffer at the current tab.
:vs | view [filePath]: open the [filePath] into a new window at current tab.
This is my VIM cheat sheet and i'm building it day-by-day.
Managing Windows
:vsplit: open another window of current buffer at the current tab.
:vs | view [filePath]: open the [filePath] into a new window at current tab.
About method's parameters:
All parameters passed through during a method call must be, when possible, objects which types are the main type handled by the object whose method are being called. For instance, suppose we have a CommandsModel class that handle Command objects and we want to create and persist a new Command, so the create method signature could look like this:
+ create(newCMD : Command ) : Command
About models:
Every Create method should return the created object;
I must to confess that during some time I had done the boring task of reselect every line and indent it again after a wrong multi line indenting on VIM. But, today, i saw some tricks on superuser.com that changed a little bit of my life. And the trick are:
Hit the "." (period) in command mode to repeat your last edit.
by Alex