Re: VFP 6: Good Non-GUI Editor to Use

From: Martin Gebert (Martin.Gebert_at_mueller-software.de)
Date: 01/13/05


Date: Thu, 13 Jan 2005 09:59:40 +0100

Gene Wirchenko schrieb:

>>Non-GUI: Selected text does not work well for me for block operations
>>as I frequently do find start of text, mark start of block, find end
>>of text, mark end of block, perform block operation. I need to be
>>able to search between defining the start and end of the block.

Easy in [G]Vim:

- Search begin: type "/begin_phrase"
- Mark start of block: type "v" (for visual mode - Vims term for a
marked section).
- Search end: type "/end_phrase" (or use any other keystroke/command for
moving around)
- Mark end of block: type "v" again
- Execute block operation (e. g. indenting according to your settings:
type ">")

>>Inexpensive: shareware, freeware, public domain, or the like.

Vim is free in both senses.

>>Configurable keys: This would be very useful though not mandatory.
>>Failing this, the editor should use control key combinations rather
>>than function keys.

Read about the map facility of Vim, esp. nmap (in Vim, just type ":help
nmap"). There's about nothing you can't map: automatic brackets, F3 for
continuing search, etc.

> And let me add: the ability to edit more than one file at a time.

Easy:

- Open GVim and type the command ":args the_files_you_want_to_edit", and
move between the buffers by ":n" and ":N"
- Alternatively, open another file with the split command ":sp
file_name" and move between the windows with CTRL-W UP|DOWN

>>Why?

Best text editor for Windows I could find :-)
Drawbacks: No Intellisense in VFP 8, and some minor catches with the
integration into the VFP IDE.

>>Where
>>is it available from?

See my previous post. And somewhere in the net there's a syntax file for
the highlighting; search for "foxpro.vim". You may also ask me, I've
added some missing terms to it so far.
Addendum: If you've never used Vim before, you want to read a tutorial
before even starting it. Look at the Vim site for one.

Martin



Relevant Pages

  • Re: forth in forth
    ... an html document offers you better navigability than info but I ... still find it severely lacking compared to what less or vim ... mark for that particular point. ... If I want to return to page1 I have to click on the back ...
    (comp.lang.forth)
  • Re: editor that has multi file search/replace?
    ... > that with Vim ... you have to be using vim from an xterm or ... :help mark gives help on vim's line marking stuff. ... have as many xterms (or konsole tabs) as you want, ...
    (comp.os.linux.misc)
  • Re: [OT] Re: In vi/vim delete lines
    ... In emacs, you can grag the mouse over a range, and then delete. ... set the current mark, move to a new location, and press the delete ... Also with vim, provided your terminal has mouse support. ... to delete a paragraph, delete to the end of the paragraph, ...
    (comp.unix.shell)
  • Re: copy paste mark vim gvim difference
    ... > -Use left mouse button to mark some text ... > -Paste the marked text (at cursor position A) with middle mouse button ... > So what I really want is vim in a terminal behaviour but in gvim. ...
    (comp.editors)