On 8/3/2014 1:17 PM, Kent Tenney wrote:
gg and G for jumping to beginning and end of file.
:r filename
put contents of filename at cursor position
:!shell command
:e directory name
presents list of files in the directory, selecting and <enter> opens a file
:tabnew filename
opens filename in a new tab
And these!
:e!
revert all changes since the current file was loaded (i.e. reload from disk)
In a Leo context, this would probably make more sense on an @<file> node.
:wq
Save and exit. I use this one all the time ;)
:1,$ s/^/ /g
From line 1 to EOF ($), replace the beginning of the line (^) with two
spaces ( ), globally (keep applying as many times as possible)
A quick vim-like way to do indents on a range of characters. I also use
this one frequently...
Nice work so far. I'll have to give it a go soon. I live in vi on the
command line -- as a Solaris + AIX sysadmin, it's all we have... (well,
that, and Leo's sftp plugin :p)
-->Jake
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.