D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] EXCEL AND OPEN OFFICE



On Thu, Mar 11, 2004 at 10:20:45PM +0000, Simon Waters wrote:
Paul wrote:

I got vi installed so am currently looking for the manual 


There is a list of common Vi commands already on DCLUG:
http://www.dclug.org.uk/linux_doc/vi.html

Others I use often:
dd      delete current line
d6d     delete the next six lines (replace 6 with any integer)
yy      yank current line to clipboard
y6y     (you get the idea)
:e      load a new file without having to exit (will prompt if you
haven't saved the current file) - you need to know the filename, there
isn't a browser / tab implementation unfortunately. You need :e to copy
lines from one file to another as the Vi clipboard is emptied when you
exit. In a GUI, you can use the mouse to put the selection into the main
X clipboard and use it in any program.

:wq     save current file and exit
:w newfile      save current file under a new filename, leaving the old
one untouched. (i.e. create a copy with the amended content).


-- 

Neil Williams
=============
http://www.codehelp.co.uk/
http://www.dclug.org.uk/
http://www.isbn.org.uk/
http://sourceforge.net/projects/isbnsearch/

http://www.biglumber.com/x/web?qs=0x8801094A28BCB3E3

Attachment: signature.asc
Description: Digital signature


Lynx friendly