Re: avoid "Press Enter..." with new z= from function

2006-05-08 Thread Suresh Govindachar
Bram Moolenaar wrote: > Suresh Govindachar wrote: > >>> Actually I was trying to avoid writing all the wrapper code >>> that this code omits. :) z= does more than this snippet, it >>> figures out what word it is, displays the list, requests user >>> input, processes user input, an

Re: VIM7.0: How to switch off the spell check function? Thanks a lot.

2006-05-08 Thread Ricky Zhou
On 5/8/06, Japerlh <[EMAIL PROTECTED]> wrote: VIM7.0: How to switch off the spell check function? I think the commands are: Enable- :set spell Disable- :set nospell

VIM7.0: How to switch off the spell check function? Thanks a lot.

2006-05-08 Thread Japerlh
VIM7.0: How to switch off the spell check function? The following command can be used to switch on the spell check. What is the command to turn it off? :setlocal spell spelllang=en_us Thanks a lot. -- Besh wishes, Japerlh

Re: Minor issues folding, autocomplete, scroll wheel

2006-05-08 Thread Bryce Wagner
Silent1 wrote: Moving around: For some reason using the scroll wheel to move up and down is usually slow, especiall scrolling past closed folds. The Page up and down keys are fast, just they scroll alittle to much. BTW this is with both current line highlighting on or off. I've been running the

Re: Minor issues folding, autocomplete, scroll wheel

2006-05-08 Thread Mikolaj Machowski
Dnia poniedziałek, 8 maja 2006 18:03, Silent1 napisał: > > Lastly, usually i'm using vim for php, and i'm trying to get the omni > completion working. In insert mode when i type ctrl+X ctrl+O it just > cuts the current line. Can i remap the keys to start the completion or > can i just call it thru

Re: Vim 7, windows, and tab and space settings

2006-05-08 Thread Stephen Boulet
On Mon, 8 May 2006 17:30:08 -0500, Stephen Boulet wrote > I'm trying to get four spaces when I hit the tab key for python code. > > In my _vimrc, I have: > > set expandtab > set tabstop=4 > set softtabstop=4 > > This doesn't seem to work though. I get 8 spaces instead. > > Interestingly, when I hav

Vim 7, windows, and tab and space settings

2006-05-08 Thread Stephen Boulet
I'm trying to get four spaces when I hit the tab key for python code. In my _vimrc, I have: set expandtab set tabstop=4 set softtabstop=4 This doesn't seem to work though. I get 8 spaces instead. Interestingly, when I have an existing python file with tab indentation and run the 'retab' command

announcement on yahoo blocked; perhaps political dissidents shouldn't be on Yahoo?

2006-05-08 Thread Linda W
I note that Yahoo is blocking (traffic overflow given as reason) the VIM announcement. Given Yahoo's track record with human rights, maybe it's time to think about moving the group to another host, like Google? Sorry, I really don't like yahoo's track record in this area, and I can't think they'

Re: File Explorer and Tabs

2006-05-08 Thread Sven Brueggemann
Matt Tuzzolo wrote: > Anyone figure out a way to open up files from the file-explorer in a > new tab yet? If you're talking about the standard plugin netrw, CTRL-W gf should do the job in most cases. Give it a try. Kind regards Sven

Re: Vim uninstaller missing some new directories

2006-05-08 Thread Georg Dahn
Bram Moolenaar wrote: David Fishburn wrote: When you run the Vim uninstaller the following directories are missed during the cleanup: vim70g\autoload vim70g\spell Well, that's one of the "why didn't anybody notice this before the release" problems... It's easy to fix. Well, this is also one

Re: Diff with window titles

2006-05-08 Thread Gary Johnson
On 2006-05-08, Sven Brueggemann <[EMAIL PROTECTED]> wrote: > Hello, > > Gary Johnson wrote: > > On 2006-05-06, Sven Brueggemann <[EMAIL PROTECTED]> wrote: > >> But when diffing two versions of a file that are both > >> saved to temp files (say temp1.txt and temp2.txt) it's > >> often hard to say w

File Explorer and Tabs

2006-05-08 Thread Matt Tuzzolo
Anyone figure out a way to open up files from the file-explorer in a new tab yet? -Matt

Re: get key name from keycode

2006-05-08 Thread Eric Arnold
Here's another version with a check for obscure cases where a bad key string is given. charset.c.patch Description: Binary data

Re: Diff with window titles

2006-05-08 Thread Sven Brueggemann
Hello, Gary Johnson wrote: > On 2006-05-06, Sven Brueggemann <[EMAIL PROTECTED]> wrote: >> But when diffing two versions of a file that are both >> saved to temp files (say temp1.txt and temp2.txt) it's >> often hard to say which is which. >> The VCS can provide window titles for both files, e.g.

Re: VIM on Windows Mobile 5.0/Dell Axim?

2006-05-08 Thread Hari Krishna Dara
On Sat, 6 May 2006 at 11:45am, Paul Kirkaas wrote: > Hi; > > I searched the forums, but didn't find an answer... > > Does anyone have any experience with vim on a Dell Axim (x51v) or other > pocket PC running Windows Mobile? > > I've found two releases for pocket PC platforms, one for the HP Jorn

vim 7.0 Compile Issues on IRIX 6.5

2006-05-08 Thread Zachary Davis
Has anyone run into any problems, or have successfully compiled and installed the latest vim executable on a *nix platform? I began trying to configure and make an executable with the limited configure options, and get the following compiling errors: gui_xmebw.c: In function `set_pixmap': g

Re: 7.0 crash if invalid file date

2006-05-08 Thread Bram Moolenaar
Daniel Einspanjer wrote: > Bram, first of all, I'd like to say I'm very sorry to report this crash days > after you manage to release the gold version. :/ I've been running the beta > for a month or two now and I swear to you I would have reported this right > away if I would have run across

Re: Runtime error in explorer.exe when right clicking with vim70f gvimext.dll installed

2006-05-08 Thread Daniel Einspanjer
"George V. Reilly" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Daniel Einspanjer wrote: Installed the build exes and dlls to c:\bin\vim\vim70f and ran install.exe. When I right click on a file in explorer I get an MSVC Runtime error dialog: Microsoft Visual C++ Runtime Library

7.0 crash if invalid file date

2006-05-08 Thread Daniel Einspanjer
Bram, first of all, I'd like to say I'm very sorry to report this crash days after you manage to release the gold version. :/ I've been running the beta for a month or two now and I swear to you I would have reported this right away if I would have run across it earlier. I have a file I extra

Re: Drag and Drop and Tabs

2006-05-08 Thread Charlie Savage
Thanks, I thought that might be the answer.  For most IDE's, at least on windows, every time you open a file (or drop a file) it goes into its own tab.  This is true for Visual Studio, Eclipse (except Eclipse doesn't support drag and drop), the Borland IDEs, etc. For other applications it va

Re: file path in tabs

2006-05-08 Thread Eric Arnold
Look at TabLineSet.vim on sourceforge. It has lots of options. On 5/8/06, Mark Volkmann <[EMAIL PROTECTED]> wrote: Is there a way to configure Vim 7 so it doesn't attempt to display compressed file paths in tabs? I rather just see the file name. For example, instead of "C:\P\L\C\S\c\TestResult

vim7 spell none file

2006-05-08 Thread Richard Emberson
with a file with no extension when ss is executed regardless of whats in the file I get: Spell check done: 1 possible spell errors in 1 words. For a *.java file I get spelling errors highlighted in comments so spell is working - at least for java comments. How do I get spell to work on a "none

Minor issues folding, autocomplete, scroll wheel

2006-05-08 Thread Silent1
Hi all, I'm just wondering if these minor annoyances for me can be fixed either thru some setting or something else. BTW this vim 7.0 on winxp sp2 machine First is with folding while i'm editing a file and all folds are closed and i'm going to create a new function inside my class. After i type t

Re: Vim uninstaller missing some new directories

2006-05-08 Thread Bram Moolenaar
David Fishburn wrote: > Vim 7.0 GA > WinXP SP2 > > When you run the Vim uninstaller the following directories are missed during > the cleanup: > vim70g\autoload > vim70g\spell Well, that's one of the "why didn't anybody notice this before the release" problems... It's easy to fix. -- hundred

file path in tabs

2006-05-08 Thread Mark Volkmann
Is there a way to configure Vim 7 so it doesn't attempt to display compressed file paths in tabs? I rather just see the file name. For example, instead of "C:\P\L\C\S\c\TestResult.xml", I'd rather just see "TestResult.xml". -- R. Mark Volkmann Object Computing, Inc.

Re: Commenting out a block of text

2006-05-08 Thread Charles E Campbell Jr
Gerald Lai wrote: Yes, I see. You have 'ignorecase' set. I don't. You could either do :set noignorecase or change these lines if a:mode[1] == "T" a lot ... elseif a:mode[1] == "t" to if a:mode[1] ==# "T" ... elseif a:mode[1] ==# "t" Well, this makes me wonder how many script

Re: Auto-Commands popup message

2006-05-08 Thread Mark Volkmann
On 5/8/06, Gerald Lai <[EMAIL PROTECTED]> wrote: On Mon, 8 May 2006, Mark Volkmann wrote: > On 5/8/06, Bram Moolenaar <[EMAIL PROTECTED]> wrote: >> >> Mark Volkmann wrote: >> >> > When I start Vim 7 under Windows XP, I always get a popup message >> > dialog that says "Auto-Commands". Is there a

Vim uninstaller missing some new directories

2006-05-08 Thread David Fishburn
Vim 7.0 GA WinXP SP2 When you run the Vim uninstaller the following directories are missed during the cleanup: vim70g\autoload vim70g\spell

Re: Auto-Commands popup message

2006-05-08 Thread Gerald Lai
On Mon, 8 May 2006, Mark Volkmann wrote: On 5/8/06, Bram Moolenaar <[EMAIL PROTECTED]> wrote: Mark Volkmann wrote: > When I start Vim 7 under Windows XP, I always get a popup message > dialog that says "Auto-Commands". Is there a way to prevent this? Check your startup scripts for a lonely "

Re: Auto-Commands popup message

2006-05-08 Thread Mark Volkmann
On 5/8/06, Bram Moolenaar <[EMAIL PROTECTED]> wrote: Mark Volkmann wrote: > When I start Vim 7 under Windows XP, I always get a popup message > dialog that says "Auto-Commands". Is there a way to prevent this? Check your startup scripts for a lonely "au" command. You can use ":scriptnames" to

Re: Auto-Commands popup message

2006-05-08 Thread Bram Moolenaar
Mark Volkmann wrote: > When I start Vim 7 under Windows XP, I always get a popup message > dialog that says "Auto-Commands". Is there a way to prevent this? Check your startup scripts for a lonely "au" command. You can use ":scriptnames" to see what scripts are being used. -- Microsoft is to s

Auto-Commands popup message

2006-05-08 Thread Mark Volkmann
When I start Vim 7 under Windows XP, I always get a popup message dialog that says "Auto-Commands". Is there a way to prevent this? -- R. Mark Volkmann Object Computing, Inc.

Re: Backspace in ICEWM

2006-05-08 Thread James Oliver
Hi, Mittu Kocherry wrote: The backspace key in Gvim6.3 in ICEWM doesn't delete a character in Insert mode but functions like the left arrow key. How do I get it to work? Maybe ":he fixdel" helps. HTH, James

Backspace in ICEWM

2006-05-08 Thread Mittu Kocherry
Hi All The backspace key in Gvim6.3 in ICEWM doesn't delete a character in Insert mode but functions like the left arrow key. How do I get it to work? -Mittu -- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not

Re: get key name from keycode

2006-05-08 Thread Eric Arnold
On 5/8/06, Bram Moolenaar <[EMAIL PROTECTED]> wrote: Eric Arnold wrote: > How do I get the key name, i.e. from the 3 byte keycode > returned by getchar()? > > strtrans() doesn't seem to deal with these. > > ^Qkey does this, but I was looking for a functional method. In Insert and command-lin

Re: get key name from keycode

2006-05-08 Thread Bram Moolenaar
Eric Arnold wrote: > How do I get the key name, i.e. from the 3 byte keycode > returned by getchar()? > > strtrans() doesn't seem to deal with these. > > ^Qkey does this, but I was looking for a functional method. In Insert and command-line mode using CTRL-K mostly works. You could make som

Re: Drag and Drop and Tabs

2006-05-08 Thread Bram Moolenaar
Charlie Savage wrote: > I'm using Vim 7.0f beta on Windows XP. > > When I drag and drop a file from the Windows Explorer onto an open Vim > window I would like the file to always be opened in a new tab (similar > to the default in Visual Studio 2005). I looked through the 7.0 docs > and this

RE: avoid "Press Enter..." with new z= from function

2006-05-08 Thread Bram Moolenaar
Suresh Govindachar wrote: > > Actually I was trying to avoid writing all the wrapper code that this > > code omits. :) z= does more than this snippet, it figures out what > > word it is, displays the list, requests user input, processes user > > input, and changes the word. > > > > The only th

Vim 7!

2006-05-08 Thread Bram Moolenaar
Announcing: Vim (Vi IMproved) version 7.0 Vim 7 is ready! After years of development this feature packed editor is waiting for you. Since Vim 6.4 many new features have been added. To mention a few: - Spell checking support for about 50 languages - Intelligent completion for C, HTML, Ruby,

Fwd: get key name from keycode

2006-05-08 Thread Eric Arnold
I think the mailer daemon may have bounced this. -- Forwarded message -- From: Eric Arnold <[EMAIL PROTECTED]> Date: May 8, 2006 1:06 AM Subject: get key name from keycode To: "vim.org user list" , vim-dev@vim.org How do I get the key name, i.e. from the 3 byte keycode returned

Drag and Drop and Tabs

2006-05-08 Thread Charlie Savage
I'm using Vim 7.0f beta on Windows XP. When I drag and drop a file from the Windows Explorer onto an open Vim window I would like the file to always be opened in a new tab (similar to the default in Visual Studio 2005). I looked through the 7.0 docs and this newsgroup but didn't see a way to

get key name from keycode

2006-05-08 Thread Eric Arnold
How do I get the key name, i.e. from the 3 byte keycode returned by getchar()? strtrans() doesn't seem to deal with these. ^Qkey does this, but I was looking for a functional method. Let me know if I've missed something, otherwise please consider the following patch to make strtrans() retu