Re: random :set noet

2012-03-23 Thread elhassan . wanas
On Fri, Mar 23, 2012 at 09:45:06PM -0400, AK wrote: > I have :set expandtab in my .vimrc but sometimes 'noet' gets set in > other files, for example in .html files. I searched all of my plugins > and I don't see any obvious offenders. > Did you try disabling all your other plugins? elw -- You r

Re: random :set noet

2012-03-23 Thread AK
On 03/23/2012 11:54 PM, Tim Chase wrote: On 03/23/12 22:51, AK wrote: Checked for 'cp', it's not being set anywhere.. I should add that this happens very rarely Since it happens rarely and doesn't seem to be easily reproducible, it would be interesting to see what :verbose set cp? It says

Re: random :set noet

2012-03-23 Thread Tim Chase
On 03/23/12 22:51, AK wrote: Checked for 'cp', it's not being set anywhere.. I should add that this happens very rarely Since it happens rarely and doesn't seem to be easily reproducible, it would be interesting to see what :verbose set cp? returns in addition to the results of :verbo

Re: random :set noet

2012-03-23 Thread AK
On 03/23/2012 11:27 PM, Tim Chase wrote: On 03/23/12 20:45, AK wrote: I have :set expandtab in my .vimrc but sometimes 'noet' gets set in other files, for example in .html files. I searched all of my plugins and I don't see any obvious offenders. I also tried doing :verbose set et? , but that d

Re: random :set noet

2012-03-23 Thread Tim Chase
On 03/23/12 20:45, AK wrote: I have :set expandtab in my .vimrc but sometimes 'noet' gets set in other files, for example in .html files. I searched all of my plugins and I don't see any obvious offenders. I also tried doing :verbose set et? , but that doesn't tell me where it was set from, I'm

Re: About vam-known-repo policy

2012-03-23 Thread hermitte
Please, ignore my previous message. I think I've understood how it works. I'll just need to fix the json file to reflect the actual names. My mistake ^^' --Luc Hermitte > De: Luc Hermitte > À: "vim use" > > Hello, > > My question is mainly for Marc, but as I suspect other people may > have th

Re: survey - snippet engines - should snipmate be merged with ultisnips or xptemplate?

2012-03-23 Thread hermitte
Hello, Sorry for the delay, I'll try to be constructive regarding your question. As the survey text box is too restrictive I'll elaborate here. Marc Weber wrote: > [...] > Do we need at least three? Should they be merged so that more effort > will be put into less engines? I wouldn't put effort

random :set noet

2012-03-23 Thread AK
I have :set expandtab in my .vimrc but sometimes 'noet' gets set in other files, for example in .html files. I searched all of my plugins and I don't see any obvious offenders. I also tried doing :verbose set et? , but that doesn't tell me where it was set from, I'm not sure why? Thanks! -ak

About vam-known-repo policy

2012-03-23 Thread hermitte
Hello, My question is mainly for Marc, but as I suspect other people may have the answer, or be interested in it, I'll ask here. In the process of updating and cleaning my home installation of vim, I've notice a few regressions. The typical one is that I cannot do a ":UpdateAddons lh-cpp" any m

Re: E172 error

2012-03-23 Thread Marcin Szamotulski
On 13:45 Fri 23 Mar , Ben Fritz wrote: > On Friday, March 23, 2012 2:47:22 PM UTC-5, Christian Brabandt wrote: > > Hi Marcin! > > > > On Fr, 23 M�r 2012, Marcin Szamotulski wrote: > > > > > Hello, > > > > > > I'm trying to make a nice interface for :call system(...). For this I > > > made t

Re: vims source repository gone?

2012-03-23 Thread Phil Dobbin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 24/03/2012 00:25, meino.cra...@gmx.de wrote: > Hi, > > when pulling the newest vim source from the repository I get this: > > hg pull > pulling from https://vim.googlecode.com/hg/ > abort: HTTP Error 404: Not Found > 0 files update

Re: vims source repository gone?

2012-03-23 Thread John Little
On Saturday, March 24, 2012 1:25:10 PM UTC+13, (unknown) wrote: > hg pull > pulling from https://vim.googlecode.com/hg/ > abort: HTTP Error 404: Not Found Works for me, except I use $ hg fetch --switch-parent pulling from https://vim.googlecode.com/hg/ searching for changes adding

Re: Bash's vi command line editing mode

2012-03-23 Thread AK
On 03/23/2012 08:21 PM, John Little wrote: Also set -o vi enables a lot of simple vi-like stuff (f.ex., gets you to the fourth previous command). Regards, John Numbered commands like 4k work too, of course. I use 2k very often, but I don't think I ever use higher numbers than that. -

vims source repository gone?

2012-03-23 Thread meino . cramer
Hi, when pulling the newest vim source from the repository I get this: hg pull pulling from https://vim.googlecode.com/hg/ abort: HTTP Error 404: Not Found 0 files updated, 0 files merged, 0 files removed, 0 files unresolved This is since version 7.3.471 (470 was the last working

Re: Bash's vi command line editing mode

2012-03-23 Thread John Little
On Saturday, March 24, 2012 4:05:34 AM UTC+13, vtadipatri wrote: > ... when I do the "set -o vi" in the bash command line shell, if I hit > and v on the command line, it goes into vi editing mode. This is kind of > cool, as I can exercise the full editing power of vi, and when I exit the > edit

Re: E172 error

2012-03-23 Thread Ben Fritz
On Friday, March 23, 2012 2:47:22 PM UTC-5, Christian Brabandt wrote: > Hi Marcin! > > On Fr, 23 M�r 2012, Marcin Szamotulski wrote: > > > Hello, > > > > I'm trying to make a nice interface for :call system(...). For this I made > > the > > following function: > > > > function! System(arg) >

Re: E172 error

2012-03-23 Thread Christian Brabandt
Hi Marcin! On Fr, 23 Mär 2012, Marcin Szamotulski wrote: > Hello, > > I'm trying to make a nice interface for :call system(...). For this I made the > following function: > > function! System(arg) > " Expand %, %:p (all modifiers are allowed except :s?pat?sub? and > " :gs?pat?sub? >

Re: Bash's vi command line editing mode

2012-03-23 Thread AK
On 03/23/2012 11:26 AM, Gary Johnson wrote: On 2012-03-23, Ven Tadipatri wrote: Hi, This may sound like a real newbie question, but when I do the "set -o vi" in the bash command line shell, if I hit and v on the command line, it goes into vi editing mode. This is kind of cool, as I can exer

E172 error

2012-03-23 Thread Marcin Szamotulski
Hello, I'm trying to make a nice interface for :call system(...). For this I made the following function: function! System(arg) " Expand %, %:p (all modifiers are allowed except :s?pat?sub? and " :gs?pat?sub? return system(substitute(a:arg, '\(%\%(:[p8~.htre]\)*\)', '\=expand(submatc

Re: Horizontal Ruler in interface?

2012-03-23 Thread Ben Fritz
On Friday, March 23, 2012 11:11:05 AM UTC-5, rameo wrote: > I would like to know if it is possible in a future gvim release to add > a horizontal ruler like the actual vertical ruler (set ruler) > (p.e. set:coruler --> set column ruler) > > I would like to see always the columnnumbers > 123456789*

Re: Bash's vi command line editing mode

2012-03-23 Thread Christian Brabandt
Hi Ven! On Fr, 23 Mär 2012, Ven Tadipatri wrote: > Hi, >This may sound like a real newbie question, but when I do the "set -o > vi" > in the bash command line shell, if I hit and v on the command line, > it goes into vi editing mode. This is kind of cool, as I can exercise > the full editing

Horizontal Ruler in interface?

2012-03-23 Thread rameo
I would like to know if it is possible in a future gvim release to add a horizontal ruler like the actual vertical ruler (set ruler) (p.e. set:coruler --> set column ruler) I would like to see always the columnnumbers 123456789*123456789*123456789* etc I know there is a plugin to add a horizontal

Re: Edit the US Code

2012-03-23 Thread Ben Fritz
On Friday, March 23, 2012 10:26:12 AM UTC-5, Ben Fritz wrote: > On Thursday, March 22, 2012 9:14:21 PM UTC-5, thdq wrote: > > Hi all, > > > > I downloaded some copies of US Code. Since I am only interested in the > > statute, not revision history and other information, I'd like to > > delete anyth

Re: Bash's vi command line editing mode

2012-03-23 Thread Gary Johnson
On 2012-03-23, Ven Tadipatri wrote: > Hi, >This may sound like a real newbie question, but when I do the "set -o vi" > in the bash command line shell, if I hit and v on the command line, > it goes into vi editing mode. This is kind of cool, as I can exercise > the full editing power of vi, an

Re: Edit the US Code

2012-03-23 Thread Ben Fritz
On Thursday, March 22, 2012 9:14:21 PM UTC-5, thdq wrote: > Hi all, > > I downloaded some copies of US Code. Since I am only interested in the > statute, not revision history and other information, I'd like to > delete anything enclosed by a pair of '-SOURCE-' and '-End-'. How can > I do it in vim

Re: Bash's vi command line editing mode

2012-03-23 Thread Taylor Hedberg
You want the :cq command, which causes vim to exit with non-zero status. This makes the shell think something went wrong with the editor, so it won't execute the command. pgpb1pfah0NpM.pgp Description: PGP signature

Re: Bash's vi command line editing mode

2012-03-23 Thread Ven Tadipatri
Well...duh..there's an easy fix for this. Just prefix the command with '#' Then hit :wq to save it and "run" it. Still...why does it behave this way? Shouldn't I be able to choose not to run the command when I exit from Bash's vi editing mode? This is on a Centos 5 machine, and the terminal is a

Edit the US Code

2012-03-23 Thread thdq
Hi all, I downloaded some copies of US Code. Since I am only interested in the statute, not revision history and other information, I'd like to delete anything enclosed by a pair of '-SOURCE-' and '-End-'. How can I do it in vim? Thanks. Example text: -CITE- 21 USC Sec. 321a 01/07/2011 -EXP

Bash's vi command line editing mode

2012-03-23 Thread Ven Tadipatri
Hi, This may sound like a real newbie question, but when I do the "set -o vi" in the bash command line shell, if I hit and v on the command line, it goes into vi editing mode. This is kind of cool, as I can exercise the full editing power of vi, and when I exit the editor it runs the command.

Re: Statusline function quirks

2012-03-23 Thread Thilo Six
Hello Benjamin, Excerpt from Benjamin R. Haskell: > Three related questions about statusline: > > 1. The help for 'stl' states that the statusline will be evaluated with· > each window (and buffer) set to the current window (and buffer). So, is· > it a bug in the following that the local setti

Statusline function quirks

2012-03-23 Thread Benjamin R. Haskell
Three related questions about statusline: 1. The help for 'stl' states that the statusline will be evaluated with· each window (and buffer) set to the current window (and buffer). So, is· it a bug in the following that the local settings of the current window· are mirrored in all statusline entr

Re: "Press ENTER or type command to continue" behavior is different between gvim and terminal vim

2012-03-23 Thread H Xu
On 03/23/2012 02:21 PM, John Beckett wrote: John Little wrote: This is probably related to 'cmdheight'. How so? cmdheight=1 in both cases. That was not mentioned by the OP, and while it's possible/likely to be the case, I was guessing that the vim and the gvim might have different configs.

Getting press enter prompt upon every file save

2012-03-23 Thread Neil Bird
This is driving me barmy, and I can't really pin it down. I've commented out my .vimrc, the system /etc/vimrc and moved all plugins directories out of the way, and it's still doing it. Since installing Scientific Linux 6.2 on my box (was CentOS 5), every time I save a file *that already

Re: Present output of external script in dropdown

2012-03-23 Thread Phil Dobbin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 23/03/2012 08:41, Christian Brabandt wrote: > On Fri, March 23, 2012 09:33, Phil Dobbin wrote: >> There is also a link I found which is primarily for mutt & Vim >> made by its author for OS X but can be adjusted that as well as >> incorporating lbdb

Re: Present output of external script in dropdown

2012-03-23 Thread Christian Brabandt
On Fri, March 23, 2012 09:33, Phil Dobbin wrote: > There is also a link I found which is primarily for mutt & Vim made by > its author for OS X but can be adjusted that as well as incorporating > lbdb, uses several other utilities (urlview, Mairix & Mailcap) to > handle grabbing urls & sending them

Re: Present output of external script in dropdown

2012-03-23 Thread Phil Dobbin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 23/03/2012 06:17, Christian Brabandt wrote: > On Thu, March 22, 2012 10:42, Jostein Gogstad wrote: >> I'm using Vim as my default text editor for writing e-mail. I >> have an external perl script that does LDAP-lookup and outputs a >> list of names

Re: How to strip a logfile

2012-03-23 Thread Jeri Raye
Tim, Thanks. This is what I was looking for. Ben, The compiler(s) are from Altera. I''m doing digitital designs for FPGA's . The tool it self is quartus and uses atleast these steps quartus_map quartus_fit quartus_asm quartus_sta I'm a general user. I'm not experienced in vim programming. So wr