vim tips


Command Description
ma set mark a at current cursor location
'a jump to line of mark a (first non-blank character in line)
`a jump to position (line and column) of mark a
d'a delete from current line to line of mark a
d`a delete from current cursor position to position of mark a
c'a change text from current line to line of mark a
y`a yank text to unnamed buffer from cursor to position of mark a
:marks list all the current marks
:marks aB list marks aB

Go to Line

gg – start of the file

G – end of the file

42G or 42gg or :42<Enter> to 42 line

ngCordova file & angular provider

ngCordova – good, but can’t use in browser.

ngCordovaMocks - helps a lot, but still need to set grunt task to change what to include for testing in browser and production.

But why not to use $provider for this and set config.js ?

Something similar to section about IE 

And some resources:


ngCordova has mocks?