RE: changing what counts as a paragraph

2009-09-21 Thread Gene Kwiecinski
Right. My point is that most people reading the thread will have already read the previous messages. So, top-posting only slows down the people who haven't, which taking less time for those who have. And simply skipping poorly-formatted posts saves the most time of all. Top-posting where I have

Re: Why the MACRO I defined can not highlight?

2009-09-21 Thread A. S. Budden
2009/9/21 stone lbzha...@gmail.com: 2009/9/16 A. S. Budden abud...@gmail.com Okay!  I think I've figured out what's going on.  Please can you download the latest version from http://sites.google.com/site/abudden/contents/Vim-Scripts/ctags-highlighting and let me know whether it works? There's

latex-suite, custom macro: no proper indentation

2009-09-21 Thread krisse
Hi, I'm hoping there's some latex-suite users -- or perhaps just someone with enough IMAP knowledge -- out there to help me with the following: I've set up a custom macro, adding \item, like so: call IMAP('§i', \C-r=Tex_InsertItem()\CR, 'tex') It basically works, but it indents differently

Re: Mac OS and Unix -- VIM

2009-09-21 Thread Yongwei Wu
2009/9/21 pansz panshi...@routon.com: For any open-source software, developers maintain it because they need it themselves. It really doesn't matter how many *users* want the software, what really counts is how many *developers* want the software. Basically correct. If it really is hard to

Re: latex-suite, custom macro: no proper indentation

2009-09-21 Thread krisse
*sigh* Nevermind. Some dumbass had forgotten to set proper tabstop in the modeline. /the Dumbass On 21 Sep, 10:27, krisse kristian.ni...@gmail.com wrote: Hi, I'm hoping there's some latex-suite users -- or perhaps just someone with enough IMAP knowledge -- out there to help me with the

Return code of a shell command

2009-09-21 Thread marcb
Hello, Get I somehow get the return code of an exectued shell command (started via :!). What I'm trying to achieve is: When the command fails, the hit-enter-prompt should be shown, so one can read the error message. But when the command runs succesfully, the hit-enter should be skipped

Re: Return code of a shell command

2009-09-21 Thread Tim Chase
Get I somehow get the return code of an exectued shell command (started via :!). What I'm trying to achieve is: When the command fails, the hit-enter-prompt should be shown, so one can read the error message. But when the command runs succesfully, the hit-enter should be skipped

Re: Mac OS and Unix -- VIM

2009-09-21 Thread Tony Fitzgerald
On Mon, 21 Sep 2009, Yongwei Wu wrote: Did you miss that GUI VIM exists on Mac OS X, is easy to use, is maintained regularly, and has a lot of users? I myself am a happy user of MacVim. I've refrained from comment so far because I've only been a Mac user for a few months, having migrated

Re: Running some commands on file save

2009-09-21 Thread benjamwelker
Ahhh, ok, so I forgot to tell it which files (or file types) to act on, correct? About the mappings... what is the difference between the following? i.e. why does one work and the other not? and what would each of them do? (the only difference is the bar so don't hurt your eyes looking for

Re: Running some commands on file save

2009-09-21 Thread Tim Chase
About the mappings... what is the difference between the following? i.e. why does one work and the other not? and what would each of them do? (the only difference is the bar so don't hurt your eyes looking for anything else ;) ) map F2 :%s/\r/\r/geBar%s/\s\+$//eCR map F2 :%s/\r/\r/ge |

Re: changing what counts as a paragraph

2009-09-21 Thread Fuzzy Logic
To each, their own, Gene. On Mon, Sep 21, 2009 at 2:09 AM, Gene Kwiecinski gkwiecin...@dclab.com wrote: but me?, sorry, I'm just not going to be bothered, because I don't have the time nor patience for it. --~--~-~--~~~---~--~~ You received this message from

Re: Mac OS and Unix -- VIM

2009-09-21 Thread Jeremy Conlin
On Mon, Sep 21, 2009 at 5:16 AM, Tony Fitzgerald j...@unb.ca wrote: On Mon, 21 Sep 2009, Yongwei Wu wrote: Did you miss that GUI VIM exists on Mac OS X, is easy to use, is maintained regularly, and has a lot of users? I myself am a happy user of MacVim. I've refrained from comment so

Re: get back the file that was open before :make

2009-09-21 Thread Ben Fritz
On Sep 19, 1:01 pm, Daniel Fetchinson fetchin...@googlemail.com wrote: Another thing I was always wondering about is whether it was possible to have in quickfix mode the errors listed first, and the warnings would only come after them? Typically I fix the errors first and only then turn to

c/c++ block fold

2009-09-21 Thread Steven Woody
Hi, Can I fold/unfold c/c++ code blocks? Thanks. -- Life is the only flaw in an otherwise perfect nonexistence -- Schopenhauer narke public key at http://subkeys.pgp.net:11371 (narkewo...@gmail.com) --~--~-~--~~~---~--~~ You received this message from the

Re: syntax highlighting guide

2009-09-21 Thread Hari Krishna Dara
On Sun, Sep 20, 2009 at 7:20 PM, pansz panshi...@routon.com wrote: Hoss 写道: All, Is there a good guide somewhere to writing .vim files, the ones that show up in your /installation/colors directory? AFAIK, there are no good documents on writing color schemes. The one which sucks less is

Make all further opened files read-only

2009-09-21 Thread Steven Woody
Hi, Sometimes when I was working in a project and with some source files opened, then I want to open another vim instance to run 'DirDiff' plug-in for the current directory against another directory (that is an old version of the project tree). When this is the case, some files will be opened by

Re: Mac OS and Unix -- VIM

2009-09-21 Thread Hari Krishna Dara
On Mon, Sep 21, 2009 at 4:16 AM, Tony Fitzgerald j...@unb.ca wrote: On Mon, 21 Sep 2009, Yongwei Wu wrote: Did you miss that GUI VIM exists on Mac OS X, is easy to use, is maintained regularly, and has a lot of users? I myself am a happy user of MacVim. I've refrained from comment so far

Re: Make all further opened files read-only

2009-09-21 Thread Tim Chase
project tree). When this is the case, some files will be opened by DirDiff in another vim, but it will report that files are opened by the first vim instance and ask me for a confirm. So I am thinking, in the later vim instance, if I can however tell vim that all the further opened file will

Re: How to get special characters

2009-09-21 Thread Tim Chase
gvim encoding=latin1 guifont= I suspect the latin1 is the bulk of the problem, and if your default font doesn't support a full compliment of characters, that would compound the issue. Try setting your encoding to utf-8 and then possibly re-pasting. This is where Tony usually jumps in

Re: Make all further opened files read-only

2009-09-21 Thread Hari Krishna Dara
On Mon, Sep 21, 2009 at 10:54 AM, Tim Chase v...@tim.thechases.com wrote: project tree). When this is the case, some files will be opened by DirDiff in another vim, but it will report that files are opened by the first vim instance and ask me for a confirm.  So I am thinking, in the later vim

Re: ANN: Notes plugin version 2.0 release

2009-09-21 Thread Raúl Núñez de Arenas Coronado
Saluton Hari :) Hari Krishna Dara h...@gmail.com skribis: I would like to announce the 2.0 release of notes for the first time here on vim_use list, as I think it is ready for prime time. Thanks for the plugin! I'm going to test it, since the programs I'm using now for taking notes are not

Re: changing what counts as a paragraph

2009-09-21 Thread Matthew Winn
On Sun, 20 Sep 2009 10:30:11 -0400, Fuzzy Logic fuzz...@gmail.com wrote: Right. My point is that most people reading the thread will have already read the previous messages. So, top-posting only slows down the people who haven't, which taking less time for those who have. Untrue. Of the

Re: map Enter to CTRL-WEnter in quickfix window

2009-09-21 Thread Daniel Fetchinson
In the quickfix window I mostly do CTRL-WEnter instead of Enter because mostly I want to open the matching file in a new window. This all works fine. But now I wanted to map Enter to CTRL-WEnter so that by pressing Enter the matching filename would open in a new window (the

Re: Make all further opened files read-only

2009-09-21 Thread CHEN Cheng
On Mon, Sep 21, 2009 at 05:26:53PM +0800, Steven Woody wrote: Hi, Sometimes when I was working in a project and with some source files opened, then I want to open another vim instance to run 'DirDiff' plug-in for the current directory against another directory (that is an old version of the

Re: encoding autodetection in MS Windows

2009-09-21 Thread Tony Mechelynck
On 03/09/09 11:51, Casufi wrote: Hello. Is it possible to configure encoding autodetection for vim in MS Windows? I can't find enca win32 binaries to configure it in usual way. By default, on Windows as on any other platform, Vim will start with 'encoding' set to your locale, i.e., to the

Re: au bufwrite not working?

2009-09-21 Thread Tony Mechelynck
On 05/09/09 17:40, bill lam wrote: (typo) I found that BufWrite event is _not_ triggered when press :w or :x but BufWriteCmd event is triggered instead. Not sure what is the difference of these 2 events. See :help BufWriteCmd :help Cmd-event The difference is that if _any_

Is there have a tool that remember the trace I got through?

2009-09-21 Thread renjun wang
hi forks, I am a new vim user.I am reading linux kernel use ctags and taglist.I found it very useful when I trace the functions in the source code.For example: sys_brk()-do_munmap()-zap_page_range()-zap_omd_range()-zap_pte_range()-

Re: Make all further opened files read-only

2009-09-21 Thread Steven Woody
On Tue, Sep 22, 2009 at 2:01 AM, Hari Krishna Dara hari@gmail.comwrote: On Mon, Sep 21, 2009 at 10:54 AM, Tim Chase v...@tim.thechases.com wrote: project tree). When this is the case, some files will be opened by DirDiff in another vim, but it will report that files are opened by the

Re: c/c++ block fold

2009-09-21 Thread Steven Woody
On Tue, Sep 22, 2009 at 1:21 AM, Charles Campbell charles.e.campb...@nasa.gov wrote: Steven Woody wrote:, Can I fold/unfold c/c++ code blocks? Thanks. :he zo :he zO :he zc :he zC :he 'fdm' These commands only result in an error: No Fold Found. I use the space, myself, with the