Re: gVim on Windows: Trouble installing spell file(s)

2009-05-09 Thread Cesar Romani
Christian Bogen wrote: > Hi! > > I'm having trouble with the spell file installation for gVim on Windows > (Vista Business, German). > > It seems I have to launch gVim as administrator, otherwise it won't work > at all. > > Then I enter ":set spell spelllang=de" and gVim ask me whether I'd like

pressing saves the editing file without the possibility to undo

2009-05-25 Thread Cesar Romani
If I'm editing a file and then press , I get the help page and when I come back to my editing page, it is saved and without the possibility to undo what I've already written. If I press u, it says "Already at oldest change". Is there the possibility to undo an editing file after I've pressed the

Re: pressing saves the editing file without the possibility to undo

2009-05-26 Thread Cesar Romani
Tim Chase wrote: >> If I'm editing a file and then press , I get the help page >> and when I come back to my editing page, it is saved and >> without the possibility to undo what I've already written. If >> I press u, it says "Already at oldest change". Is there the >> possibility to undo an editi

matchit doesn't work for html files without extension

2009-05-29 Thread Cesar Romani
I'm using vim 7.2.184 on Windows XP. If I load a html file without extension, let's say "test" Test blah blah blah matchit doesn't work on it, notwithstanding the fact that I set set ft=html If I rename the file to "test.html", it works fine. How can I enable matchit on "

Re: matchit doesn't work for html files without extension

2009-05-29 Thread Cesar Romani
Matt Wozniski wrote: > On Fri, May 29, 2009 at 8:35 PM, Cesar Romani wrote: >> I'm using vim 7.2.184 on Windows XP. >> If I load a html file without extension, let's say "test" >> >> >> >> >>Test >> >> >&g

Re: matchit doesn't work for html files without extension

2009-05-30 Thread Cesar Romani
Gene Kwiecinski wrote: >> Without the first line: >> works but not with it. >> If the file has the extension html, it works in all of cases. > > What's *probably* happening is that there's some check on the file > contents itself, failing a .htm/.html extension, to determine > whether/not the fil

Re: matchit doesn't work for html files without extension

2009-05-30 Thread Cesar Romani
Matt Wozniski wrote: > On Sat, May 30, 2009 at 11:14 AM, Cesar Romani wrote: >> Gene Kwiecinski wrote: >>>> Without the first line: >>>> works but not with it. >>>> If the file has the extension html, it works in all of cases. >>> What&#x

Re: matchit doesn't work for html files without extension

2009-05-31 Thread Cesar Romani
Matt Wozniski wrote: > Cesar Romani wrote: >> Matt Wozniski wrote: >>> Cesar Romani wrote: >>>> Gene Kwiecinski wrote: >>>>>> Without the first line: >>>>>> works but not with it. >>>>>> If the file has the

Re: VERY slow writing to network shared drive, but NOTEPAD faster

2009-06-14 Thread Cesar Romani
Cháo wrote: > 2009/6/14 Dominique Pellé > > > > Cháo wrote: > > Thanks Dominique for the suggestions. One thing I overlooked was > to set > > nowritebackup, I thought set nobackup was all the backup. So this > shaved a > > couple of seco

Problems with formatting html text using gw or gq

2010-03-22 Thread Cesar Romani
I'm using vim 7.2.402 on Win XP. I have following text with set tw=72 aaa aaa aa aaa , aa a b - bb bbb bb bb - bb c c cc ccc cc ccc ccc dd d d

Error by installing pluginkiller

2010-03-25 Thread Cesar Romani
I'm using vim 7.2.411 on Win XP When I try to install pluginkiller of Dr. Chip, I get: Error detected while processing C:\Programmi\Vim\vimfiles\plugin\pluginkiller.vim: line 36: E121: Undefined variable: pkhome E116: Invalid arguments for function filereadable(pkhome.'Plug

Re: .exrc in gVimPortable

2010-04-17 Thread Cesar Romani
On 28/03/2010 04:48 p.m., Albert wrote: > In the first edition of Teach Yourself Unix in 24 Hours, Taylor and > Armstrong write that "key mappings are saved in a file called .exrc in > your home directory...You can also save other things...including > the :set number option." How do I implement th

Problem with spell and mouse selecting

2010-07-03 Thread Cesar Romani
Suppose I enable set spell for English and I put some English words mixed with German ones as in: good reason sehr gut befridigend If I select the word «sehr» or «befriedigend» with the mouse and right click and choose copy, it only copies the first letter, not the whole word! It only works if I a

Problem with spell and mouse selecting

2010-07-03 Thread Cesar Romani
Suppose I enable set spell for English and I put some English words mixed with German ones as in: good reason sehr gut befriedigend If I select the word «sehr» or «befriedigend» with the mouse and right click and choose copy, it only copies the first letter, not the whole word! It only works if I

Re: Compiling vim7.2 with python problems

2010-07-09 Thread Cesar Romani
On 07/07/2010 10:48 a.m., Pablo Giménez wrote: > Solved! > > El día 7 de julio de 2010 12:35, Pablo Giménez escribió: >> Hi vimers >> So far I have been using vim 7.1 because we have fedora core 8 at the office. >> but today I tried to install the amazing plugin fuzzy finder >> (http://www.vi

AutoAlign.vim is causing problems with bib files

2010-07-14 Thread Cesar Romani
I'm using the latest release of vim73a on Win XP, AutoAlign v13 Whenever I save a bib file with :w the screen pauses with a -- More -- prompt. It happens with whatever file having the extension .bib If I disable ftplugin/bib/AutoAlign.vim the problem disappears. Many thanks in advance, -- Cesar

Re: AutoAlign.vim is causing problems with bib files

2010-07-15 Thread Cesar Romani
On 14/07/2010 11:40 a.m., Charles Campbell wrote: > Cesar Romani wrote: >> I'm using the latest release of vim73a on Win XP, AutoAlign v13 >> Whenever I save a bib file with :w the screen pauses with a -- More -- >> prompt. >> It happens with whatever file h

Re: AutoAlign.vim is causing problems with bib files

2010-07-16 Thread Cesar Romani
On 15/07/2010 09:45 a.m., Cesar Romani wrote: > On 14/07/2010 11:40 a.m., Charles Campbell wrote: > > Cesar Romani wrote: > >> I'm using the latest release of vim73a on Win XP, AutoAlign v13 > >> Whenever I save a bib file with :w the screen pauses with a --

Re: Tips for remembering command's of scripts

2010-08-14 Thread Cesar Romani
On 10/08/2010 12:25 p.m., Tom Link wrote: >> AK: If I get you right, you've basically implemented a docstring >> parser for VimL... do I read you? Is this code published somewhere? > > I use this ruby script to generate help files from embedded comments > similar to how rdoc works for ruby source

Re: shifting paragraphs by one space

2010-09-09 Thread Cesar Romani
On 08/09/2010 11:46 a.m., sandeep kapse wrote: > Thanks for reply. > > I know these thing. > Actually I need the shift width size of 4. > I don't want to change again and again > while processing text. > May time I need to move set of line to the left or right just by one > place. > Is there other

Error detected while processing modelines

2010-11-16 Thread Cesar Romani
I'm using the latest release of vim 7.3 on Win XP. When I load the following text test.txt: From: unknownmail.com Subject: Re: vim: how to use set indentexpr Date: Sat, 11 Aug 2007 12:50:31 -0500 ... I get the following error: Error

Illegal file name when reading a directory

2010-12-12 Thread Cesar Romani
I'm using vim 7.3.81 on Win XP. When reading a directory using :e I get "Illegal file name" whenever ends in \ Many thanks in advance, -- Cesar -- 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,

Re: Illegal file name when reading a directory

2010-12-13 Thread Cesar Romani
On 13/12/2010 09:46 a.m., Charles Campbell wrote: > Cesar Romani wrote: >> I'm using vim 7.3.81 on Win XP. >> When reading a directory using :e I get "Illegal file name" >> whenever ends in \ >> >> Many thanks in advance, > > The "

Re: Illegal file name when reading a directory

2010-12-13 Thread Cesar Romani
On 13/12/2010 09:46 a.m., Charles Campbell wrote: > Cesar Romani wrote: >> I'm using vim 7.3.81 on Win XP. >> When reading a directory using :e I get "Illegal file name" >> whenever ends in \ >> >> Many thanks in advance, > > The "

latex file and backlash

2011-01-21 Thread Cesar Romani
If I press \\ the cursor remains between the backslashes, not after the second backslash. If I press one backslash and wait a couple of seconds, and then press the second backslash, then I get the cursor after the second backslash. That happens only with filetype set to tex, not when it is set to

latex file and backlash

2011-01-21 Thread Cesar Romani
I'm using vim 7.3.105 on Win XP. If I press \\ the cursor remains between the backslashes, not after the second backslash. If I press one backslash and wait a couple of seconds, and then press the second backslash, then I get the cursor after the second backslash. That happens only with filetype s

Re: latex file and backlash

2011-01-25 Thread Cesar Romani
On 24/01/2011 09:23 a.m., Charles Campbell wrote: > Cesar Romani wrote: >> If I press \\ the cursor remains between the backslashes, not after >> the second backslash. If I press one backslash and wait a couple of >> seconds, and then press the second backslash, then I get th

Re: latex file and backlash

2011-01-25 Thread Cesar Romani
On 25/01/2011 06:29 p.m., Cesar Romani wrote: > On 24/01/2011 09:23 a.m., Charles Campbell wrote: > > Cesar Romani wrote: > >> If I press \\ the cursor remains between the backslashes, not > >> after the second backslash. If I press one backslash and wait a >

Re: latex file and backlash

2011-01-26 Thread Cesar Romani
On 25/01/2011 08:23 p.m., Charles E Campbell Jr wrote: > Cesar Romani wrote: >> After a further analysis, I found out that the problem is with >> AutoAlign. If I remove ~/vimfiles/ftplugin/tex/AutoAlign.vim I don't get >> that bad behavior. > > Needless to say, I

Re: latex file and backlash

2011-01-26 Thread Cesar Romani
On 26/01/2011 10:21 a.m., Charles Campbell wrote: > Cesar Romani wrote: >> On 25/01/2011 08:23 p.m., Charles E Campbell Jr wrote: >> > Cesar Romani wrote: >> >> After a further analysis, I found out that the problem is with >> >> AutoAlign. If I remo

Re: latex file and backlash

2011-01-27 Thread Cesar Romani
On 27/01/2011 01:55 p.m., Charles Campbell wrote: > Cesar Romani wrote: >> On 26/01/2011 10:21 a.m., Charles Campbell wrote: >> > Cesar Romani wrote: >> >> On 25/01/2011 08:23 p.m., Charles E Campbell Jr wrote: >> >> > Cesar Romani wrote: >> &

MkVimball doesn't work on windows

2011-01-31 Thread Cesar Romani
I'm using gvim 7.3.107 on Win XP with vimball v32c If I have the following file: autoload\dbext.vim autoload\dbext_dbi.vim doc\dbext.txt doc\dbext_gpl.dat plugin\dbext.vim and do %MkVimball! dbext I'm getting: ***vimball*** unable to read file but if I

Re: MkVimball doesn't work on windows

2011-02-01 Thread Cesar Romani
On 01/02/2011 02:39 a.m., Christian Brabandt wrote: > On Tue, February 1, 2011 4:59 am, Cesar Romani wrote: >> I'm using gvim 7.3.107 on Win XP with vimball v32c >> >> If I have the following file: >> >> autoload\dbext.vim >> au

dbext, error by helptags

2011-02-01 Thread Cesar Romani
I downloaded dbext_1200. By installing the docs with helptags I'm getting: E154: Duplicate tag "/MyProjectDir/" in file C:\home\Romer\vimfiles\doc/dbext.txt Many thanks in advance, -- Cesar -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text

Delete everything which is not an iskeyword

2011-10-10 Thread Cesar Romani
I tried to do: :%s/[^\k]//g but it just removes everything. Many thanks in advance, -- Cesar -- 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

Re: Delete everything which is not an iskeyword

2011-10-14 Thread Cesar Romani
On 10/10/2011 06:13 p.m., Tim Chase wrote: > On 10/10/11 18:05, Cesar Romani wrote: >> I tried to do: >> >> :%s/[^\k]//g >> >> but it just removes everything. > > Character-classes ([...]) don't take escaped-character-classes (such as > "\k"

Re: Sum

2011-10-17 Thread Cesar Romani
On 12/10/2011 01:52 p.m., Christian Brabandt wrote: > Hi niva! > > On Mi, 12 Okt 2011, niva wrote: > >> Hi >> >> I have some data organized by column in a buffer like that : >> >> >> ; ; ; 48.00 ; >> ; ; ; 32.50

Re: XML Attribute motions

2008-10-18 Thread Cesar Romani
703designs wrote: > That works for the outer element, but I'd love it if I could do this: > > (^ is cursor) > (in normal): dia (delete inner attribute): > > > Is this something that could be reasonably scripted? > > On Oct 17, 12:33 pm, Tony Mechelynck <[EMAIL PROTECTED]> > wrote: >> On 17/10

align doesn't work

2008-11-19 Thread Cesar Romani
I'd like to align the following: a := baaa c := d ee := f Suppose I do an error and do: AlignCtrl w=:= and thereafter :%Align := it wouldn't align like expected and If I try to correct it by doing: AlignCtrl w= := and thereafter :%Align := it doesn't align anyway! Regards, Ce

Re: How to do this?

2008-11-21 Thread Cesar Romani
StarWing wrote: > my idea, combine xulxer and william's > > :%s#\(/oracle/ship/\)\(.*\)\(.dbf .*\)\(logfile=\).\{-}\n\(.*\)# > \1\2\3\r\4./\2.log \5#g > > On 11月22日, 上午6时09分, William Anderson <[EMAIL PROTECTED]> > wrote: >> Jerry, >> >> This should be pretty easy to accomplish with a simple regex.

tw isn't set globally

2012-01-10 Thread Cesar Romani
I'm using vim 7.3.401 on windows 7. I'm trying to edit a list of text files, say test1.txt, test2.txt and test3.txt, with a single vim. When I'm on test1.txt and do: set tw=72, this isn't set on the other files! If I do :n to go to the next file and do set tw? I get 78. Not long ago, before updat

Re: tw isn't set globally

2012-01-10 Thread Cesar Romani
On 10/01/2012 06:10 p.m., Gary Johnson wrote: > On 2012-01-10, Cesar Romani wrote: >> I'm using vim 7.3.401 on windows 7. I'm trying to edit a list of text >> files, say test1.txt, test2.txt and test3.txt, with a single vim. When >> I'm on test1.txt and do: se

Re: tw isn't set globally

2012-01-10 Thread Cesar Romani
On 10/01/2012 07:50 p.m., Gary Johnson wrote: > On 2012-01-10, Cesar Romani wrote: >> On 10/01/2012 06:10 p.m., Gary Johnson wrote: >>> On 2012-01-10, Cesar Romani wrote: >>>> I'm using vim 7.3.401 on windows 7. I'm trying to edit a list of text >>&g

Re: tw isn't set globally

2012-01-10 Thread Cesar Romani
On 10/01/2012 09:06 p.m., Ben Fritz wrote: > > > On Jan 10, 4:50 pm, Cesar Romani wrote: >> I'm using vim 7.3.401 on windows 7. I'm trying to edit a list of text >> files, say test1.txt, test2.txt and test3.txt, with a single vim. When >> I'm on test1.tx

Re: tw isn't set globally

2012-01-10 Thread Cesar Romani
On 10/01/2012 11:45 p.m., Gary Johnson wrote: > On 2012-01-10, Cesar Romani wrote: >> On 10/01/2012 09:06 p.m., Ben Fritz wrote: >>> >>> >>> On Jan 10, 4:50 pm, Cesar Romani wrote: >>>> I'm using vim 7.3.401 on windows 7. I'm trying t

Re: tw isn't set globally

2012-01-12 Thread Cesar Romani
> > [...] > > made just before version 7.3.388 added > > > > au BufNewFile,BufRead *.txt,*.text setf text > > > > to $VIMRUNTIME/filetype.vim. > > > > I haven't tried this, but according to ":help filetype-ignore" you > > can work around this problem by putting this is your .vimrc: > > >

Re: ignore new line in search

2012-01-20 Thread Cesar Romani
On 15/01/2012 06:41 a.m., Pau wrote: > I very frequently have to look for a couple of words in a huge > document to find the place where I have to resume work or do > modifications. Unfortunately, the search function stops in a new line, > so that if I look for "a very interesting place which was

autoalign and html

2012-01-28 Thread Cesar Romani
I'm using wim 7.3.420 on windows 7 with the latest version of AutoAlign. Whenever I edit a html file and try to close "" I get: Error detected while processing function AutoAlign: line 70: E108: No such variable: "b:autoalign" That doesn't happen with

Re: autoalign and html

2012-02-01 Thread Cesar Romani
Best, >>> Marcin >>> >>> On 18:47 Sat 28 Jan , Cesar Romani wrote: >>> >>>> I'm using wim 7.3.420 on windows 7 with the latest version of >>>> AutoAlign. Whenever I edit a html file and try to close ">>> with ">

Re: start cmd doesn't work anymore with vim 7.3.446

2012-02-20 Thread Cesar Romani
On 20/02/2012 05:17 p.m., Michael Ludwig wrote: > andalou schrieb am 20.02.2012 um 14:12 (-0800): >> I'm using vim 7.3.446 on windows 7. >> >> :start cmd >> or >> :start explorer >> >> doesn't work anymore. >> >> It worked fine with vim 7.3.444 > > Maybe those were custom commands of yours? Try th

Re: start cmd doesn't work anymore with vim 7.3.446

2012-02-21 Thread Cesar Romani
On 21/02/2012 09:46 a.m., Axel Bender wrote: > Reverting to the versions below 7.3.446, I found that the first version > the command is no longer working in, is version 7.3.445. It worked for me until version 7.3.444, then by upgrading to 7.3.446 it didn't work anymore. :!start command is very u

Re: start cmd doesn't work anymore with vim 7.3.446

2012-02-21 Thread Cesar Romani
On 21/02/2012 03:05 p.m., Cesar Romani wrote: > On 21/02/2012 09:46 a.m., Axel Bender wrote: > > Reverting to the versions below 7.3.446, I found that the first version > > the command is no longer working in, is version 7.3.445. > > It worked for me until version 7.3.4

substitute problem

2012-03-09 Thread Cesar Romani
How can I convert this: Vaya con Dios to: [VAYA CON DIOS](#vaya-con-dios) Many thanks in advance, -- Cesar -- 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.p

Re: substitute problem

2012-03-09 Thread Cesar Romani
On 09/03/2012 12:43 p.m., Tim Chase wrote: > On 03/09/12 11:40, Tim Chase wrote: >> On 03/09/12 10:45, Cesar Romani wrote: >>> How can I convert this: >>> >>> Vaya con Dios >>> >>> to: >>> >>> [VAYA CON DIOS](#vaya-con-dio

Re: substitute problem

2012-03-09 Thread Cesar Romani
On 09/03/2012 02:34 p.m., Tim Chase wrote: > On 03/09/12 13:11, Cesar Romani wrote: >> On 09/03/2012 12:43 p.m., Tim Chase wrote: >> %s/.*/\='['.toupper(submatch(0)).'](#'.substitute(tolower(submatch(0)), >> ' ', '-', 'g')

Wrong indention for html

2012-05-04 Thread Cesar Romani
I'm using vim 7.3.515 on windows 7. If I try to indent the following code wth gg=G, I get: test Hola which is wrong. How should I modify html.vim, on the indent folder

Re: E484 temporary file when using system() Win 7 64-bit

2012-09-27 Thread Cesar Romani
On 27/09/2012 01:19 p.m., David Fishburn wrote: > On Tue, Sep 25, 2012 at 4:29 PM, David Fishburn wrote: >> New machine, I used to run this code all the time and have never had a problem with it. >> >> Would like a little back ground on how system() calls work. >> >> :ver >> VIM - Vi IMproved

Re: Replacing current line with last-yanked register

2012-10-15 Thread Cesar Romani
On 14/10/2012 09:57 a.m., Dotan Cohen wrote: > On Sun, Oct 14, 2012 at 3:30 PM, Marcin Szamotulski wrote: >> Yes there is one, you could use C at the beginning of a line, but you >> have to yank the line with y$ rather than Y (to not catch the EOL) >> Explicitly you can use this: press C, now y

Re: Ruby 1.9 on Windows?

2012-10-23 Thread Cesar Romani
On 23/10/2012 07:18 a.m., Steve Hall wrote: > On Mon, Oct 22, 2012 at 9:58 AM, talek wrote: >> I have compiled Vim with ruby 1.9 on my Windows box. I did this a >> few months ago and I documented the steps. See: >> https://github.com/talek/vorax/wiki/Installation-Guide > > What was your distribut

How to change the cursor shape in terminal vim

2012-12-03 Thread Cesar Romani
I'm using vim 7.3.646 under a linux terminal. I can change the cursor in insert mode as a vertical bar and in normal mode as as block, using: if &term =~ 'xterm' let &t_SI .= "\[5 q" let &t_EI .= "\[0 q" endif But how can I change it in replace mode as an underscore? Many thanks in advance,

regexp

2012-12-18 Thread Cesar Romani
If I have the following line: http://www.whatever.com";>SomeTitle How to create the file SomeTitle.txt with the content (without the dashes): [InternetShortcut] URL=http://www.whatever.com Many thanks in advance, -- Cesar -- You received this message f

Re: regexp

2012-12-19 Thread Cesar Romani
On 18/12/2012 10:58 p.m., Tim Chase wrote: > On 12/18/12 20:36, Cesar Romani wrote: >> If I have the following line: >> http://www.whatever.com";>SomeTitle >> >> How to create the file SomeTitle.txt with the content (without the >> dashes): >> --

Can I use split() on this?

2013-03-12 Thread Cesar Romani
How to convert from [uno\dos\tres](fijo) to [uno](fijo) [dos](fijo) [tres](fijo) Many thanks in advance, -- Cesar -- -- 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/mai

Re: Can I use split() on this?

2013-03-12 Thread Cesar Romani
Thanks a lot Tim and John, especially the Tim's one-liner. Best Regards, -- Cesar -- -- 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 --- You received this

Re: Can I use split() on this?

2013-03-13 Thread Cesar Romani
On 13/03/2013 06:17 a.m., Kent wrote: > another way, without split and join: > > :s/\v([^)]*)(\(.*)/\=substitute(submatch(1),"\\","]".submatch(2)."\n[","g").submatch(2)/ That's brilliant! Thanks. Best Regards, -- Cesar Romani -- -- You

substitution with accented characters

2013-04-16 Thread Cesar Romani
Suppose I have the following text: Diagonalización de matrices. Formas cuadráticas. El Espacio Afín El problema de la Programación Lineal El Espacio Euclídeo How can I replace the &#...; with their corresponding characters? I know that ó is ó á is á í is í The text can

Re: substitution with accented characters

2013-04-16 Thread Cesar Romani
On 16/04/2013 10:12 p.m., Ben Fritz wrote: > On Tuesday, April 16, 2013 8:52:22 PM UTC-5, andalou wrote: >> Suppose I have the following text: >> >> Diagonalización de matrices. Formas cuadráticas. >> El Espacio Afín >> El problema de la Programación Lineal >> El Espacio Euclídeo >> >> How can I r

Re: Certain commands undock & shift window

2013-08-24 Thread Cesar Romani
On 20/08/2013 02:10 a.m., AndyHancock wrote: > On Mon, Aug 19, 2013 at 12:42 PM, Dan Wierenga wrote: >>> On Sat, Aug 17, 2013 at 6:18 PM, AndyHancock wrote: >>> I Windows 7, when I have the gvim windows docked against the right >>> or left half of the screen, the following commands always seem >>>

External command with arguments

2013-09-21 Thread Cesar Romani
I'm using vim 7.4.31 on Windows 7. I have a file containing names of other files, say canción 1.txt canción 2.txt ... How can I apply an external command to these files. Let's say I want to move them to another directory, as in move "canción 1.txt" c:\foo\Música\ move "canción 2.txt" c:\foo\Música

Re: External command with arguments

2013-09-21 Thread Cesar Romani
On 21/09/2013 02:55 p.m., Tim Chase wrote: > On 2013-09-21 14:37, Cesar Romani wrote: >> I'm using vim 7.4.31 on Windows 7. >> I have a file containing names of other files, say >> canción 1.txt >> canción 2.txt >> ... >> How can I apply an external co

html indent

2013-09-26 Thread Cesar Romani
I'm using vim 7.4.41 on Windows 7. Each time I edit an html file I get the following message: Sourcing html indent Press Enter or type command to continue How can I turn it off? Many thanks in advance, -- Cesar -- -- You received this message from the "vim_use" maillist. Do not top-post! Type

Insert comand output on current text

2013-10-30 Thread Cesar Romani
I want to write the ouptut of 1,.s/^# /&/n into the current text. Let's say that the output of the above command is: 8 matches on 8 lines On the current text I'd like to insert the string "ch007.html" (without quotes) without newlines inserted. Is it possible? Many thanks in advance, -- Cesar

Re: Insert comand output on current text

2013-11-01 Thread Cesar Romani
On 31/10/2013 09:25 p.m., Ben Fritz wrote: > On Wednesday, October 30, 2013 7:26:44 PM UTC-5, andalou wrote: >> I want to write the ouptut of 1,.s/^# /&/n into the current text. >> Let's say that the output of the above command is: >> 8 matches on 8 lines > > You can get this output with the :redi

Re: Insert comand output on current text

2013-11-01 Thread Cesar Romani
On 01/11/2013 01:32 p.m., Ben Fritz wrote: > On Friday, November 1, 2013 10:29:12 AM UTC-5, andalou wrote: >> On the current text I'd like to insert the string "ch007.html" (without quotes) without newlines inserted. Is it possible? >> >>> This request I don't understand at all. Pleas

Re: Save default font on Gvim on Windows 7.

2013-11-02 Thread Cesar Romani
On 02/11/2013 07:45 p.m., John Joche wrote: > Thanks for the clarification. > > Is there a place where I can find the string to substitute in place > of YourFontSettingHere though? Do I need to enclose the string > in double quotes or use some other quotation mechanism? I > would like to use the "

Re: Insert comand output on current text

2013-11-02 Thread Cesar Romani
On 02/11/2013 01:06 p.m., Ben Fritz wrote: > [...] > My comment about doing it manually was because your initial problem > description gave NO indication as to where "ch007" came from, nor how > you wanted to insert it. > > Actually, you STILL give zero indication how you want to insert it. > How

Re: Insert comand output on current text

2013-11-02 Thread Cesar Romani
On 02/11/2013 05:20 p.m., John Little wrote: > Ben has answered your question directly ("I want to write the output > of ...") using redir, but a more natural (to me) approach for this > would be (assuming you want the ch007.html text at the current line) > > :let n = -1 > :1,.g/^# /let n += 1 > '

Re: replace specific character "^@" in a text file

2013-11-17 Thread Cesar Romani
On 17/11/2013 07:43 a.m., milo...@gmail.com wrote: > hi Zyx > ZyX於 2013年11月17日星期日UTC+8下午6時56分48秒寫道: >> I guess you typed two characters: ^ and @. This is incorrect. If you >> see such special symbols and do not know how to type them put the >> cursor on one of them and do "yl" to yank then "CTRL-R

local option to global

2014-09-23 Thread Cesar Romani
I'm using vim 7.4.457 on Windows 7. I am editing a lot of text files on the same window. In one of the buffers I use ':set comments+=n:>' but when I go to the next file, this setting is lost. How can I make it global? I tried to use ':setg comments+=n:>' but it is of no avail. Many thanks in adva

How to make a local option global?

2014-09-28 Thread Cesar Romani
I'm using vim 7.4.461 on Windows. How can I make an option global for the current session? For example, I notices that comments is set as a local option. How can I make it global when editing a bunch of files? Many thanks in advance, -- Cesar -- -- You received this message from the "vim_use" m

Re: How to make a local option global?

2014-09-29 Thread Cesar Romani
On 28/09/2014 03:26 p.m., Ben Fritz wrote: > On Sunday, September 28, 2014 10:53:48 AM UTC-5, andalou wrote: >> I'm using vim 7.4.461 on Windows. >> >> How can I make an option global for the current session? >> For example, I notices that comments is set as a local option. How >> can I make it gl

Re: How to make a local option global?

2014-09-30 Thread Cesar Romani
On 30/09/2014 09:43 a.m., Bee wrote: > On Monday, September 29, 2014 7:36:49 PM UTC-7, andalou wrote: >> On 28/09/2014 03:26 p.m., Ben Fritz wrote: >>> On Sunday, September 28, 2014 10:53:48 AM UTC-5, andalou wrote: >> set again: 'set comments+=n:>' >> >> How can I have the same setting for all fi

Re: Autocommand vs ftplugin

2014-11-06 Thread Cesar Romani
On 05/11/2014 06:47 p.m., Gary Johnson wrote: > On 2014-11-05, Matteo Riva wrote: >> On Wed, Nov 5, 2014 at 7:54 PM, Christian Brabandt wrote: >> >>> Do you actually have a line :filetype on or similar in your .vimrc? >> >> Yes I do, and I could verify that the ftplugin file is executed (I set >>

Problem with 'gx'

2014-12-08 Thread Cesar Romani
I'm using vim 7.4.542 on Windows 7. When I do 'gx' on an url I always get: Press to continue How can I suppress it? Many thanks in advance, -- Cesar -- -- 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 infor

Re: Problem with 'gx'

2014-12-08 Thread Cesar Romani
On 08/12/2014 05:29 p.m., Charles E Campbell wrote: > Cesar Romani wrote: >> I'm using vim 7.4.542 on Windows 7. >> When I do 'gx' on an url I always get: >> Press to continue >> >> How can I suppress it? >> >> Many thanks in advance,

Re: Problem with 'gx'

2014-12-10 Thread Cesar Romani
On 10/12/2014 11:15 a.m., Charles Campbell wrote: > Cesar Romani wrote: >> On 08/12/2014 05:29 p.m., Charles E Campbell wrote: >>> Cesar Romani wrote: >>>> I'm using vim 7.4.542 on Windows 7. >>>> When I do 'gx' on an url I always get

How to highlight a number out of order with a script

2015-01-06 Thread Cesar Romani
I have a text in which all lines end in numbers, like in a table of contents. The numbers are supposed to be in ascending order. I'd like to write a script which would highlight the first number out of order. I don't want to sort the numbers, only to highlight where it is out of order. Many thank

Re: How to highlight a number out of order with a script

2015-01-06 Thread Cesar Romani
On 06/01/2015 06:25 p.m., Tim Chase wrote: > On 2015-01-06 17:50, Cesar Romani wrote: >> I have a text in which all lines end in numbers, like in a table of >> contents. The numbers are supposed to be in ascending order. >> I'd like to write a script which would highlig

Re: How to highlight a number out of order with a script

2015-01-07 Thread Cesar Romani
On 07/01/2015 02:37 a.m., Christian Brabandt wrote: > Am 2015-01-06 23:50, schrieb Cesar Romani: >> I have a text in which all lines end in numbers, like in a table of >> contents. The numbers are supposed to be in ascending order. >> I'd like to write a script which

Problem with command on script

2015-01-14 Thread Cesar Romani
I'm using vim 7.4.580 on Windows 7. I have the following code to delete a displaced range of lines on a text: -- function! Foobar(num) range exe (a:firstline+a:num).','.(a:lastline+a:num).'d' endfunc com! -range -nargs=1 Foobar call Foobar() -- When I select a range of lines an

Re: Problem with command on script

2015-01-15 Thread Cesar Romani
On 15/01/2015 03:05 a.m., Paul Isambert wrote: > Le jeudi 15 janvier 2015 à 01:08, Cesar Romani a écrit: >> I'm using vim 7.4.580 on Windows 7. I have the following code to delete >> a displaced range of lines on a text: >> >> -- >> function! Foobar(n

Problem with AutoAlign

2015-01-22 Thread Cesar Romani
I'm using vim 7.4.589 on Windows 7. I'm editing an html file and type '()' (without quotes) then go back one place and try to type 'a=' (without quotes), then I get immediately after the closing parenthesis! I have to go back one place to continue to type after '=' I discovered that the cause of

Re: Problem with AutoAlign

2015-01-23 Thread Cesar Romani
On 22/01/2015 05:06 p.m., Charles Campbell wrote: > Cesar Romani wrote: >> I'm using vim 7.4.589 on Windows 7. >> >> I'm editing an html file and type '()' (without quotes) >> then go back one place and try to type 'a=' (without quotes)

Problem with matchit when editing html

2015-01-23 Thread Cesar Romani
I'm using vim 7.4.591 on Windows 7. I'm editing an html file with the matchit plugin installed. Using % I can jump from to , to , etc. but not from ( to ), { to }, or [ to ] although "set mps" reports (:),{:},[:],<:> How can I add these pairs whenever I'm editing an html file? If I do, for exam

Re: Problem with matchit when editing html

2015-01-23 Thread Cesar Romani
On 23/01/2015 04:22 p.m., Benji Fisher wrote: > On Fri, Jan 23, 2015 at 4:03 PM, Cesar Romani <mailto:cesar.rom...@gmail.com>> wrote: > > I'm using vim 7.4.591 on Windows 7. > I'm editing an html file with the matchit plugin installed. > Using % I c

Re: Problem with matchit when editing html

2015-01-24 Thread Cesar Romani
On 23/01/2015 04:18 p.m., Christian Brabandt wrote: > Hi Cesar! > > On Fr, 23 Jan 2015, Cesar Romani wrote: > >> I'm using vim 7.4.591 on Windows 7. >> I'm editing an html file with the matchit plugin installed. >> Using % I can jump from to, to, etc.

Re: Problem with AutoAlign

2015-01-27 Thread Cesar Romani
On 23/01/2015 10:41 a.m., Cesar Romani wrote: > On 22/01/2015 05:06 p.m., Charles Campbell wrote: > > Cesar Romani wrote: > >> I'm using vim 7.4.589 on Windows 7. > >> > >> I'm editing an html file and type '()' (without quotes) &g

problem with a map

2016-02-14 Thread Cesar Romani
I'm using vim 7.4.1317 on Windows 7. I often use the following command: :g/^\d\+\.$/normal O jVjjJ and I'd like to use it in a map. How can do it? I tried with: map ,p :g/^\d\+\.$/normal O jVjjJ but it doesn't work. I also noted that exe "g/^\\d\\+\\.$/normal O\jVjjJ" works, but not when it i

Re: problem with a map

2016-02-14 Thread Cesar Romani
On 14/02/2016 11:25 a.m., Sam Burk wrote: > On Feb 14, Cesar Romani wrote: >> I'm using vim 7.4.1317 on Windows 7. >> >> I often use the following command: >> :g/^\d\+\.$/normal O jVjjJ >> >> and I'd like to use it in a map. How can do it? >>

Re: problem with a map

2016-02-14 Thread Cesar Romani
On 14/02/2016 05:16 p.m., Sam Burk wrote: > On Feb 14, Cesar Romani wrote: >> On 14/02/2016 11:25 a.m., Sam Burk wrote: >> >> I already put an escape after the O, but it didn't show up in the email >> message. Using and it'd be >> map ,p :g/^\d\+\.$

  1   2   >