Re: App to help with Deliberate Practice / Mavis Beacon Teaches Vim?

2010-04-09 Thread Charlie Kester
On Fri 09 Apr 2010 at 17:58:08 PDT Pedro Henrique Linhares wrote: On Thu, Apr 8, 2010 at 7:49 AM, John Little <[1]john.b.lit...@gmail.com> wrote: I think you're swimming against the strengths of vim. In vim if you find yourself doing something over and over again you stop and find a b

Re: Vim accented characters in text based console

2010-04-09 Thread Tony Mechelynck
On 10/04/10 01:48, Luis P. Mendes wrote: Hi, I use Vim everyday, I could say at every hour :-) in X graphical mode. $ vim --version VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Aug 24 2009 20:12:41) Included patches: 1-245 I tried to use Vim with no X, in text base mode, but there was one probl

Re: App to help with Deliberate Practice / Mavis Beacon Teaches Vim?

2010-04-09 Thread Pedro Henrique Linhares
On Thu, Apr 8, 2010 at 7:49 AM, John Little wrote: > > I think you're swimming against the strengths of vim. In vim if you > find yourself doing something over and over again you stop and find a > better way, at the least record a macro. > That's it, I totally agree! -- Att, Pedro Henrique

Re: App to help with Deliberate Practice / Mavis Beacon Teaches Vim?

2010-04-09 Thread Stahlman Family
Tony Mechelynck wrote: On 08/04/10 12:49, John Little wrote: On Apr 8, 2:44 pm, Duane Johnson wrote: When I learned to touch type in high school... ...practice those ones over and over again... I think you're swimming against the strengths of vim. In vim if you find yourself doing some

Vim accented characters in text based console

2010-04-09 Thread Luis P. Mendes
Hi, I use Vim everyday, I could say at every hour :-) in X graphical mode. $ vim --version VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Aug 24 2009 20:12:41) Included patches: 1-245 I tried to use Vim with no X, in text base mode, but there was one problem with accented characters. I could not us

Re: App to help with Deliberate Practice / Mavis Beacon Teaches Vim?

2010-04-09 Thread Charlie Kester
On Fri 09 Apr 2010 at 16:12:10 PDT John Little wrote: On Thu 08 Apr 2010 at 07:28:22 PDT Tony Mechelynck wrote: >Yeah, thinking about it, it looks like we're once more against the >conservative <=> progressive theories of learning (Reminds me of a >recent comment I gave on one of Paul Krugman'

Re: App to help with Deliberate Practice / Mavis Beacon Teaches Vim?

2010-04-09 Thread John Little
> On Thu 08 Apr 2010 at 07:28:22 PDT Tony Mechelynck wrote: > > >Yeah, thinking about it, it looks like we're once more against the > >conservative <=> progressive theories of learning (Reminds me of a > >recent comment I gave on one of Paul Krugman's NYT blog articles). and Charlie Kester replie

Re: Is there a variable containing all tokens that matched a regex search term?

2010-04-09 Thread Adam
On Fri, Apr 9, 2010 at 16:25, tomPorter wrote: > OR is there a variable that contains all items matching the regex > search term > I found this function (CopyMatches) online a while ago from here: http://vim.wikia.com/wiki/Copy_the_search_results_into_clipboard. Just follow the instructions and

Re: Is there a variable containing all tokens that matched a regex search term?

2010-04-09 Thread Tony Mechelynck
On 09/04/10 23:25, tomPorter wrote: If I enter a regex search term, all occurrences of the matched items in a window will be highlighted. Is there a way to create a new window and populate it with only the found items? OR is there a variable that contains all items matching the regex search ter

Re: Is there a variable containing all tokens that matched a regex search term?

2010-04-09 Thread Tim Chase
On 04/09/2010 04:47 PM, Antony Scriven wrote: For a quick a quick hack, try this. :let tokens=[] :%s/&&\S\+/\=add(tokens,submatch(0))/g :undo :new :put=tokens I like it :) As a quick abuse of add(), the :undo can be obviated by making it :let tokens=[] :%s/&&\S\+./\=a

Re: Code changes highlight

2010-04-09 Thread Aarto Matti
On Fri, Apr 9, 2010 at 7:12 PM, Jeff Lanzarotta wrote: > You could give the script > http://www.vim.org/scripts/script.php?script_id=2496 a try... > > I have been using it for some time now and it works pretty well. > Thanks, a good one. Doesn't work in Windows but I will try to figure out why.

Re: Is there a variable containing all tokens that matched a regex search term?

2010-04-09 Thread Antony Scriven
On 9 April 2010 22:25, tomPorter wrote: > If I enter a regex search term, all occurrences of the > matched items in a window will be highlighted. > > Is there a way to create a new window and populate it > with only the found items? > > OR is there a variable that contains all items matchin

Re: Is there a variable containing all tokens that matched a regex search term?

2010-04-09 Thread Tim Chase
On 04/09/2010 04:25 PM, tomPorter wrote: Is there a way to create a new window and populate it with only the found items? not readily (no single-step solution), but it can be hacked. Start by cloning the document into a file you can rip up...either: :%y " yank the whole document :ne

Vim and pseudorandom mail signatures (Was: Top/End of file not active with Ctrl-Home/Ctrl-End with vim on a gnome terminal)

2010-04-09 Thread Tony Mechelynck
On 17/02/10 14:41, Jean Johner wrote: [...] I am delighted by Tony's foot citations. Each time different. Regards. I use Vim (compiled with +clipboard, +viminfo and +windows) to generate them, with the help of: - a file of funny signatures from Bram's site, modified (IIRC) so that each in

Is there a variable containing all tokens that matched a regex search term?

2010-04-09 Thread tomPorter
If I enter a regex search term, all occurrences of the matched items in a window will be highlighted. Is there a way to create a new window and populate it with only the found items? OR is there a variable that contains all items matching the regex search term? Example: A colleague is working o

Re: Code changes highlight

2010-04-09 Thread Ben Fritz
On Apr 9, 9:21 am, Eric Calvayrac wrote: > You can use the vim command :DiffOrig ( see :help DiffOrig ). > It's not exactly what you want, but it may suit your needs. > It seems that if ou continue typing, you need to execute :diffupdate to > refresh colors > This is especially nice if you ope

Re: Code changes highlight

2010-04-09 Thread Aarto Matti
On Fri, Apr 9, 2010 at 4:04 PM, Pedro Henrique Linhares wrote: > Have you tried vimdiff? > > I have, but I would like to see a live update while typing :P -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more info

Re: Vim searches for system syntax.vim at wrong location

2010-04-09 Thread Gary Johnson
On 2010-04-09, Thomas Allen wrote: > On Apr 9, 12:17 pm, Gary Johnson wrote: > > What do these commands show? > > > >     :set rtp? > > runtimepath=~/.vim,/usr/share/vim/vimfiles,/usr/share/vim,/usr/share/ > vim/vimfiles/after,~/.vim/after > > >     :version > > VIM - Vi IMproved 7.2 (2008 Aug

Re: Vim searches for system syntax.vim at wrong location

2010-04-09 Thread Thomas Allen
On Apr 9, 12:17 pm, Gary Johnson wrote: > What do these commands show? > >     :set rtp? runtimepath=~/.vim,/usr/share/vim/vimfiles,/usr/share/vim,/usr/share/ vim/vimfiles/after,~/.vim/after >     :version VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Jun 17 2009 19:45:57) Included patches: 1-22

Re: What's causing this

2010-04-09 Thread Gary Johnson
On 2010-04-09, Ben Kim wrote: > Vimmers, > > I see some strange vim behavior, and would like to see if I can get help > in debugging this problem. Any help is appreciated. > > When I use the right arrow key to go to the next word, after a delay of a > second, the cursor goes to the next charact

Re: Code changes highlight

2010-04-09 Thread Pedro Henrique Linhares
Have you tried vimdiff? -- Att, Pedro Henrique Linhares. -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php To unsubscribe, reply using "remove me" as the s

Re: Vim searches for system syntax.vim at wrong location

2010-04-09 Thread Gary Johnson
On 2010-04-09, Thomas Allen wrote: > On this machine, the simple command "syntax on" fails due to Vim > searching for syntax.vim at the wrong location. This occurs with no > user settings files loaded. > > Vim is looking in /usr/share/vim/syntax/syntax.vim, but the file is > located at /usr/share/

Re: Code changes highlight

2010-04-09 Thread Jeff Lanzarotta
You could give the script http://www.vim.org/scripts/script.php?script_id=2496 a try... I have been using it for some time now and it works pretty well. -Jeff From: Aarto Matti To: vim_use@googlegroups.com Sent: Fri, April 9, 2010 7:48:55 AM Subject: Code ch

What's causing this

2010-04-09 Thread Ben Kim
Vimmers, I see some strange vim behavior, and would like to see if I can get help in debugging this problem. Any help is appreciated. When I use the right arrow key to go to the next word, after a delay of a second, the cursor goes to the next character. For example, with this code: I beg

Re: Code changes highlight

2010-04-09 Thread Andy Wokula
Am 09.04.2010 13:48, schrieb Aarto Matti: Hello, Does any body know if there exists a plugin to highlight code changes. I know at least two IDEs with that feature, few links: http://blog.eveningcreek.com/?p=151 http://edn.embarcadero.com/article/33453#6PersonalDeveloperProductivity Usually it

Vim searches for system syntax.vim at wrong location

2010-04-09 Thread Thomas Allen
On this machine, the simple command "syntax on" fails due to Vim searching for syntax.vim at the wrong location. This occurs with no user settings files loaded. Vim is looking in /usr/share/vim/syntax/syntax.vim, but the file is located at /usr/share/vim/vim70/syntax/syntax.vim. Is there an enviro

Re: Code changes highlight

2010-04-09 Thread Eric Calvayrac
You can use the vim command :DiffOrig ( see :help DiffOrig ). It's not exactly what you want, but it may suit your needs. It seems that if ou continue typing, you need to execute :diffupdate to refresh colors Eric - Mail Original - De: "Aarto Matti" À: "vim use" Envoyé: Vendredi 9 Avri

Code changes highlight

2010-04-09 Thread Aarto Matti
Hello, Does any body know if there exists a plugin to highlight code changes. I know at least two IDEs with that feature, few links: http://blog.eveningcreek.com/?p=151 http://edn.embarcadero.com/article/33453#6PersonalDeveloperProductivity Usually it works so, highlight new lines with green, mo

Re: gui dialogs

2010-04-09 Thread Andy Wokula
Am 02.04.2010 06:49, schrieb Tom Link: I found VIM Form Toolkithttp://www.vim.org/scripts/script.php?script_id=2160, unfortunately it's not under development anymore. There are two more plugins of that kind somewhere on the internet. autoload/forms.vim by Hari Krishna Dara (2006-10-01) http

RE: How to remember end of line when quitting/reopening in insert mode

2010-04-09 Thread JOHNER Jean 066030
On April 8, Andy Wokula wrote: > See attachment for a new approach (lastpos v0.6). > (doesn't need announcement for Insert mode) Please find attached Andy's new miracle plugin. Works with either "set insertmode" or "startinsert" in .vimrc. Works when switching between buffers (with :bp). Works