simple map question for changing window size

2006-06-25 Thread Johannes Schwarz
Hi all, I want to have mappings for resizing splitted windows. For increasing and decreasing the width the following mappings are working: nmap + > nmap - < But the mapping for increasing and decreasing the heights don't work: nmap + nmap - I think I have to escape the + and - somehow and

Re: after :vert sba hide all windows again except the active on

2006-06-22 Thread Johannes Schwarz
>>> Jürgen Krämer <[EMAIL PROTECTED]> 22.06.2006 10:22 >>> >Hi, >Johannes Schwarz wrote: >> I just realized the :sba or even better the :vert sba command. >> >> Is it possible to hide all windows again except the active one, which >&

after :vert sba hide all windows again except the active on

2006-06-22 Thread Johannes Schwarz
I just realized the :sba or even better the :vert sba command. Is it possible to hide all windows again except the active one, which the cursor is in? And another question: When I set the all windows to "scrollbind" and make jump to a special line, I want each window to show that line and no

URL-Encoding

2006-06-14 Thread Johannes Schwarz
Is there a builtin url-encoding function available in vim? Or has s.o. wrote a script already? thanx Joe WIKA Alexander Wiegand GmbH & Co. KG Johannes Schwarz International Consulting & E-Commerce phone:+49

Antw: Re: Loop through all lines in a file

2006-06-01 Thread Johannes Schwarz
-) I'm not that familiar with the global commands yet, maybe I have to read the documentation again. >>> Benji Fisher <[EMAIL PROTECTED]> 01.06.2006 14:41:38 >>> > On Thu, Jun 01, 2006 at 01:43:48PM +0200, Johannes Schwarz wrote: > > Hello, > > >

Loop through all lines in a file

2006-06-01 Thread Johannes Schwarz
Hello, I'm trying to write my first vim-plugin, but I got stucked. I managed to execute an external command, which gives me back a list of filenames. One filename per line. For each of the filenames I want to execute another command. I tried it with code: let line=getline(".") while (strlen(li

execute macro in bufdo command

2006-05-31 Thread Johannes Schwarz
Hi all, I recorded a macro (search for line and paste 3 lines out of the clipboard"*p ) I want to execute the macro in 15 different buffers and tried it with the bufdo - Command, without success :bufdo @a | update Vim prints 30 lines (every first line the filename and every second line th