Re: Questions about: ! and . and lower case and upper case

2011-04-09 Thread Tony Mechelynck
On 09/04/11 07:58, Tony Mechelynck wrote: On 09/04/11 05:01, Rostyslaw Lewyckyj wrote: [...] 2) Where and when is . needed as a concatenation operator? In an expression. Not in the operands of :echo and friends if you want successive expressions to be separated by a single space. IOW, :echo

Re: Any non-programmer users of Vim here?

2011-04-09 Thread Anthony Campbell
On 08 Apr 2011, Eric Weir wrote: > [snip] > My preference, in my current state of ignorance, anyway, would be to never > insert hard line breaks. I do have to share most of my writing with people > who don't know anything but Word. So when ready for sharing I would import > into another appli

Re: why not remove www? Currently http://vim.org/ doesn't work

2011-04-09 Thread realfun
On Apr 9, 3:56 am, Tony Mechelynck wrote: > On 08/04/11 11:44, Linda W wrote: > I guess it is because other *.vim.org domains do exist: ftp.vim.org is > an alias of ftp.nluug.nl andwww.vim.orgis (perhaps indirectly) an > alias of vhost.sourceforge.net. From here (Brussels, Belgium) a > traceroute

Re: Eliminating EOL in text files

2011-04-09 Thread Andy Wokula
Am 16.12.2010 17:21, schrieb Tim Chase: On 12/16/2010 10:05 AM, Anthony Campbell wrote: That joins ALL the lines. What I need to do is to have each paragraph as a contimuous line, so that when I import the file into oowriter it will be easily editable. You might try: :g/\%^\|\n\@<=\s*\n/,/\n\

Re: Path easy-search

2011-04-09 Thread Andy Wokula
Am 06.04.2011 20:05, schrieb Tim Chase: On 04/06/2011 12:50 PM, Christian Brabandt wrote: ? n n n n searches repeatedly backwards. Then hit N to search forward, and n to search backward again. I *know* that. Just my fingers... (When I navigate code and jump around a lot, I tend to forget, in

Re: force use of scripts.vim to find filetype

2011-04-09 Thread Andy Wokula
Am 05.04.2011 18:51, schrieb Alvin Kerber: I have a bunch of these executable scripts, with shebang lines, and I want configure vim to detect the filetype using the shebang line. The problem is that these scripts all must have the .foo extension (they're run automatically by a build system), and

Re: menu.vim overwritten

2011-04-09 Thread Andy Wokula
Am 05.04.2011 16:59, schrieb rameo: Actually I use windows gvim 7.3 version. All my files and plugins are in my user directory "vimfiles" I noted that these 2 files has to be in the vim73 (program directory): - _vimrc - menu.vim That is wrong, you should never place/change files in the program

Re: Is there a command-line equivalent for pumvisible()?

2011-04-09 Thread Andy Wokula
Am 20.03.2011 11:57, schrieb ZyX: I want to map and in command-line mode to vim equivalent of zle widgets history-beginning-search-backward and history-beginning-search-forward (it is what vim does when you press or in command line), but retain their functionality when completion is active. I

Re: why not remove www? Currently http://vim.org/ doesn't work

2011-04-09 Thread Tom
While we're at the topic of the site; It's really really dated. I'd make at least the plugin section a git/svn/hg repo host or tie in to github and other services and include user feedback (comments maybe, tickets would be better). Time to step into 2011 and leave 1999 behind? On Sat, Apr 9, 2011

Re: Any non-programmer users of Vim here?

2011-04-09 Thread lith
> > My preference, in my current state of ignorance, anyway, would be to never > insert hard line breaks. I do have to share most of my writing with people > who don't know anything but Word. So when ready for sharing I would import > into another application for formatting. Apple's TextEdit is

Re: Any non-programmer users of Vim here?

2011-04-09 Thread Erik Christiansen
On Fri, Apr 08, 2011 at 09:43:16PM -0400, Eric Weir wrote: > > Well, I found time to work through the vim tutor exercise. Pretty > basic. Not sure I remember what I learned -- I liked that it said > don't try to memorize, to learn by doing -- and in a fog about some > things I'm clear about, e.g.,

Re: Questions about: ! and . and lower case and upper case

2011-04-09 Thread Tim Chase
On 04/09/2011 12:58 AM, Tony Mechelynck wrote: On 09/04/11 05:01, Rostyslaw Lewyckyj wrote: 1) Does ! have a single general meaning, when it is added to a command? i.e. Can one make any prediction as to where a ! may show up and how it may change the behaviour of the base command? For a comman

Re: why not remove www? Currently http://vim.org/ doesn't work

2011-04-09 Thread Christian Brabandt
Hi donothing! On Fr, 08 Apr 2011, donothing successfully wrote: > On 8 April 2011 07:58, John Beckett wrote: > […] > > whatever the merits, this is one of those situations where it > > is not worth debating about some theoretical benefit of being > > able to use vim.org without your browser deci

Re: Any non-programmer users of Vim here?

2011-04-09 Thread Eric Weir
On Apr 8, 2011, at 10:39 PM, Ben Fritz wrote: > On Apr 8, 8:43 pm, Eric Weir wrote: >> >> Haven't the faintest idea how to use the manual, i.e., how to open the files >> listed in the table of contents. I think I need to get one of the books. >> > > http://vim.wikia.com/wiki/Learn_to_use_hel

Re: Any non-programmer users of Vim here?

2011-04-09 Thread Eric Weir
On Apr 9, 2011, at 2:53 AM, Tony Mechelynck wrote: > There is also, as I said before, "help on using help", obtained by typing > > :help helphelp.txt Thanks for the reminder, Tony. -- Eric Weir Decatu

Re: Any non-programmer users of Vim here?

2011-04-09 Thread Eric Weir
On Apr 9, 2011, at 4:20 AM, Anthony Campbell wrote: > When I have to import a Vim file into OOWriter (Libreoffice as it now > is) I use this command, kindly supplied by Tim Chase in an earlier > thread (thanks, Tim): > > :g/\%^\|\n\@<=\s*\n/,/\n\n\|\%$/j > > This converts each paragraph into

Re: Any non-programmer users of Vim here?

2011-04-09 Thread Eric Weir
On Apr 9, 2011, at 5:42 AM, lith wrote: > HTML actually is a great format for exchange documents. See here for some > tools that could prove useful: > http://en.wikipedia.org/wiki/Lightweight_markup_language Thanks, Tom. I'll keep it in mind. ---

Re: Any non-programmer users of Vim here?

2011-04-09 Thread Eric Weir
On Apr 9, 2011, at 6:06 AM, Erik Christiansen wrote: > Dunno if it suits your learning style, but many years ago I started > keeping (very brief) notes of the most immediately useful stuff, using > vim. The act of condensing a concept, and writing it down, together with > the relevant commands, h

Re: why not remove www? Currently http://vim.org/ doesn't work

2011-04-09 Thread Erik Christiansen
On Sat, Apr 09, 2011 at 02:24:23PM +0200, Christian Brabandt wrote: > On Fr, 08 Apr 2011, donothing successfully wrote: > > > > A user may well assume the site is down if the url doesn't > > resolve. > > Seconded. This had bugged me many many times with various browsers. "Thirded". Particularly,

Re: why not remove www? Currently http://vim.org/ doesn't work

2011-04-09 Thread Benjamin R. Haskell
On Sun, 10 Apr 2011, Erik Christiansen wrote: On Sat, Apr 09, 2011 at 02:24:23PM +0200, Christian Brabandt wrote: On Fr, 08 Apr 2011, donothing successfully wrote: A user may well assume the site is down if the url doesn't resolve. Seconded. This had bugged me many many times with various b

Re: why not remove www? Currently http://vim.org/ doesn't work

2011-04-09 Thread sal migondis
I don't mind typing the extra www. but I tried this in seamonkey 2.0.13 (linux) and it just works. I don't remember changing these settings manually (under Edit->Preferences->Location Bar) but you can specify adding www and/or com when a web page is 'not found', so I would assume they are the d

Inserting output of Ex command into buffer

2011-04-09 Thread Spiros Bousbouras
How can you insert the output of an Ex command into the buffer at the place where the cursor is ? Say for example in the 1st line here I want to insert right after "you" the output of :chdir .So I place the cursor after "you" and then do what ? -- You received this message from the "vim_use" mai

Re: Inserting output of Ex command into buffer

2011-04-09 Thread Tim Chase
On 04/09/2011 12:11 PM, Spiros Bousbouras wrote: How can you insert the output of an Ex command into the buffer at the place where the cursor is ? Say for example in the 1st line here I want to insert right after "you" the output of :chdir .So I place the cursor after "you" and then do what ? A

Re: Debug tutorial with examples?

2011-04-09 Thread Rostyslaw Lewyckyj
Tony Mechelynck wrote: On 09/04/11 05:22, Rostyslaw Lewyckyj wrote: Would any of you be so kind as to send me pointers on where, online, I can find any tutorials on vim debug which contain full examples to illustrate what is sketched in :h? For example where do I write any of the commands to def

Transfer of control, i.e. go to in a script

2011-04-09 Thread Rostyslaw Lewyckyj
In a vim script of function what is the command to transfer execution control to a specific line/point in the script. I.e the equivalent of GOTO 100 ? -- Rostyk -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For mo

Questions about Source Explore and NERD tree plugin

2011-04-09 Thread Zhang Le
Hi, I am user of gvim of NERD tree and source explore plugin. Currently I am encountering with a problem. When I invoke the NERD tree in gvim, the cursor in the workplace disappears. I have checked my .vimrc, there seems nothing wrong. Could you please lend me a hand? Thanks very much! -- *with

Re: why not remove www? Currently http://vim.org/ doesn't work

2011-04-09 Thread Tony Mechelynck
On 09/04/11 18:40, sal migondis wrote: I don't mind typing the extra www. but I tried this in seamonkey 2.0.13 (linux) and it just works. I don't remember changing these settings manually (under Edit->Preferences->Location Bar) but you can specify adding www and/or com when a web page is 'not fou