Re: quickfix / clist question

2015-05-27 Thread Jeri Raye
Hi Ben, Thanks!. You answer pointed me into the right direction. by setting the errorformat correctly, the error disapeared. Rgds, Jeri On Tue, May 26, 2015 at 4:51 PM, Ben Fritz wrote: > On Tuesday, May 26, 2015 at 6:11:29 AM UTC-5, Jeri Raye wrote: > > Hi, > > > >

quickfix / clist question

2015-05-26 Thread Jeri Raye
Hi, I'm using gvim under windows 7 I'm having a mapping that compiles my file in the current buffer like this: set makeprg=vcom\ % :map :w:make:clist! When I press F5 it compiles and gives the results back into "quick-fix" window. For example: +--+ :!vom D:\counter.vhd >C:\Users\tmp 2>&

Re: S&R with search input from a file

2014-04-27 Thread Jeri Raye
" the text we captured ("&") " " and do all replacements on the line ("/g") " "This assumes that your input list is all just whole words, no funky "regexp metachars (periods, backslashes, asterisks, or "open-square-brackets come

Re: Compare files, save differences

2014-04-26 Thread Jeri Raye
at 5:14 AM, Jeri Raye wrote: > >> Hi, >> >> I have a file allwords.txt. >> And I have another file mywords.txt >> >> How can I filter the differences, and safe them in another file called >> difwords.txt? >> >> Example: >>

Re: S&R with search input from a file

2014-04-23 Thread Jeri Raye
Hi Tim, I'm trying to make a function out of your commands. Perhaps that that is the reason why it's not working straight away. Rgds, Jeri On Mon, Apr 21, 2014 at 4:42 PM, Tim Chase wrote: > On 2014-04-21 08:37, Jeri Raye wrote: > > :s/..$ > > doesn't work

Compare files, save differences

2014-04-21 Thread Jeri Raye
Hi, I have a file allwords.txt. And I have another file mywords.txt How can I filter the differences, and safe them in another file called difwords.txt? Example: +-- allwords.txt ---+ James Richard Anna Claude Ben ++ +--mywords.txt-+ Anna Ben +---+ T

Re: S&R with search input from a file

2014-04-20 Thread Jeri Raye
already used in another plugin. Is there a workaround for? Rgds, Jeri On Fri, Apr 18, 2014 at 9:44 PM, Tim Chase wrote: > On 2014-04-18 20:07, Jeri Raye wrote: > > FileNAME: INPUT.TXT > > Containing: > > +--+ > > james > > quebec > > canada > >

How to call mappings in a function

2014-04-19 Thread Jeri Raye
Hi, I have two mappings: CTRL-A, which selects everything in the buffer CTRL-F3, which makes everything lowercase How to execute this within the call of a function? The function below gives E488 function! MakeEveryThingLowerCase() " , Select everything gggHG ", Makelower case gvgu

S&R with search input from a file

2014-04-18 Thread Jeri Raye
Hi, Is it posible to search for a list of words, from a file and replace them if found in the buffer that is open, and making the first letter a uppercase For example: FileNAME: INPUT.TXT Containing: +--+ james quebec canada +--+ :%s//replace found word with same word but first

Re: Another SRT questions

2014-04-15 Thread Jeri Raye
Hi John, What is the meaning of the & in the \u&? I see that if I remove it that my match is deleted, but I can't find the meaning of the & in this context. Rgds, Jeri On Mon, Apr 14, 2014 at 11:55 AM, John Beckett wrote: > Jeri Raye wrote: > > For example: > &

Re: Another SRT questions

2014-04-15 Thread Jeri Raye
Hi Paul, How do I add this to the function you send in your reply on my previous SRT question? Rgds, Jeri On Mon, Apr 14, 2014 at 11:56 AM, Paul Isambert wrote: > Le lundi 14 avril 2014 10:58:19 UTC+2, Jeri Raye a écrit : > > Hi, > > > > I have an SRT file that have

Re: Another SRT questions

2014-04-15 Thread Jeri Raye
Hi Tony, On this one I get the error: "E486: pattern not found: \p\.\s\+zs\l " Why is that? Rgds, Jeri On Mon, Apr 14, 2014 at 11:53 AM, Tony Mechelynck < antoine.mechely...@gmail.com> wrote: > On 14/04/14 10:58, Jeri Raye wrote: > >> Hi, >> >> I hav

Another SRT questions

2014-04-14 Thread Jeri Raye
Hi, I have an SRT file that have dialog sentences that sometimes ends halve way with a dot. And then a next sensentence starts. This text doesn't start then with a uppercase character, but with a lower case letter. For example: I want to tell you this. and also this. How to change this into: I w

Re: How to change an SRT file

2014-04-12 Thread Jeri Raye
Paul, This works fantastic. Thanks Jeri On Sun, Apr 13, 2014 at 8:45 AM, Paul Isambert wrote: > Jeri Raye a écrit: > > Hi, > > > > I have an srt file where every new subtitle starts with a capital letter. > > See here an example. > > > > +-+ &

How to change an SRT file

2014-04-12 Thread Jeri Raye
Hi, I have an srt file where every new subtitle starts with a capital letter. See here an example. +-+ 12 00:01:35,095 --> 00:01:38,598 The people you see actually lived. 13 00:01:38,598 --> 00:01:41,601 All the words they speak 14 00:01:41,601 --> 00:01:44,604 Were spoken or written by the

How to do math in vim ?

2013-05-19 Thread Jeri Raye
Hi, Can you do math in Vim? Can you do subtractions? I have a srt file where I want to subtract 7 from all the seconds in the file. So this: ++ 24 00:07:55,641 --> 00:07:58,393 You can't do that to us! We'll tell you a secret. 25 00:07:58,603 --> 00:07:59,769

Re: How to let gvim start on 2nd monitor

2013-02-01 Thread Jeri Raye
Reid [...] >> I'm using windows 7 on a laptop with a secondairy monitor which I >> prefer to use for coding. [...] > This is generally controlled by the desktop/window manager, rather than the > application -- so look at the options that your desktop/window manager > offers. > > i.e. linux/openbo

How to let gvim start on 2nd monitor

2013-02-01 Thread Jeri Raye
Hi, Is it possible to let gvim Launch on the secondairy monitor? I'm using windows 7 on a laptop with a secondairy monitor which I prefer to use for coding. Rgds, Jeri -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying

Re: how to make a file relative to $VIM

2013-02-01 Thread Jeri Raye
> :let expects and an expression and so you need to quote strings and > append them: >:let MRU_File = expand($VIM). "/_vim_mru_files" > > alternatively, you can use: > :let my_path = "$VIM/_vim_mru_files" > :let MRU_FILE = expand(my_path) > > > regards, > Christian Christian Thanks. I

Re: how to make a file relative to $VIM

2013-02-01 Thread Jeri Raye
Hi, [...] > E121: Undefined variable: _vim_mru_files > E15: Invalid expression: expand($VIM)/_vim_mru_files [...] let MRU_File = expand('$VIM')'/_vim_mru_files' solves E121. But E15 stil remains. I think I have to concatenate the two strings, but I don't know how to do that in vim Rgds, Jeri --

Re: how to make a file relative to $VIM

2013-02-01 Thread Jeri Raye
On Fri, Feb 1, 2013 at 9:59 AM, Christian Brabandt wrote: > Hi Jeri! > [...] > You need to expand the environment variables using expand() [...] When I type : let MRU_File = expand($VIM)/_vim_mru_files a) it creates errors E121: Undefined variable: _vim_mru_files E15: Invalid expression: expand

how to make a file relative to $VIM

2013-02-01 Thread Jeri Raye
Hi, I can make a directory relative to $VIM with this command set bdir=$VIM/vimfiles/backup I can make a file location with an absolute path available bij saying: let MRU_File = 'C:\vim\_vim_mru_files' How can I make a file location relative to $VIM? let MRU_File = "$VIM/_vim_mru_files"'doesn't

Re: Create own ALT+H mapping, disabling the help menu

2012-03-31 Thread Jeri Raye
Tim Chase wrote on 30-3-2012 22:38: On 03/30/12 15:03, Jeri Raye wrote: I've put this line in mu vimrc set winaltkeys=no But the window still responds on an ALT key. :set guioptions-=m I don't really lose much functionality (menus usually just replicate functionality available f

Re: ALT+ SHIFT mapping doesn't work

2012-03-30 Thread Jeri Raye
Thanks Ben, that does the trick Ben Fritz wrote on 30-3-2012 17:06: On Friday, March 30, 2012 12:40:25 AM UTC-5, Jeri Raye wrote: Hi, I have the following mappings: inoremap _ inoremap - When I do I get - (the dash char), what is what I expected When I do I get | (the pipe char) I

Re: Create own ALT+H mapping, disabling the help menu

2012-03-30 Thread Jeri Raye
Hi I've put this line in mu vimrc set winaltkeys=no But the window still responds on an ALT key. Why's that? Rgds, Jeri Jan Larres wrote on 30-3-2012 8:19: Hi Jeri, Jeri Raye: I would like to make a mapping to ALT+H. But this brings up the help menu in gvim on windows 7, as the H

Create own ALT+H mapping, disabling the help menu

2012-03-29 Thread Jeri Raye
Hi, I would like to make a mapping to ALT+H. But this brings up the help menu in gvim on windows 7, as the H from Help is the underlined key (don't know the right terminology) Can you disable this in gvim, so that I can create my own ALT+H mapping? Rgds, Jeri -- You received this message from t

ALT+ SHIFT mapping doesn't work

2012-03-29 Thread Jeri Raye
Hi, I have the following mappings: inoremap _ inoremap - When I do I get - (the dash char), what is what I expected When I do I get | (the pipe char) I would except _ (the underscore char) When I type :verbose map! Vim replies withL: I *_-7> Last set in c:… myfile Why do I

Re: How to create a mapping that makes vim go into selec-mode

2012-03-29 Thread Jeri Raye
Hi Christian Thanks Rgds, Jeri -- 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

How to create a mapping that makes vim go into selec-mode

2012-03-28 Thread Jeri Raye
Hi, How can I make a mapping that "select mode" is used in insert mode when I press a certain mapping? I now see when I press CTRL and SHIFT and an arrow key that this select mode is used. At the bottum of the screen the following appears -- (insert) SELECT -- Can I make a mapping that CTRL + SH

how to map CTRL with none-letter keys

2012-03-27 Thread Jeri Raye
Hi I'm having difficulties with mapping CTRL + none-letter keys Is it possible to make a mapping for CTRL + the ( character? Something like imap Hello This doesn't work for me. Then I thought apparently shift needs to be added imap Hello This doesn't work either. How to do that? And what abou

Re: verbose map doesn't always shows the mapping

2012-03-27 Thread Jeri Raye
Hi Christian, Thanks. Rgds, Jeri -- 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

verbose map doesn't always shows the mapping

2012-03-26 Thread Jeri Raye
Hi, I have certain mappings defined in a file +-- mapping file --+ " F8 is Select all noremap gggHG inoremap gggHG cnoremap gggHG onoremap gggHG snoremap gggHG xnoremap ggVG inoremap inoremap inoremap inoremap +-- mapping file --+ I recently discovered the command :verbose map W

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

Re: How to strip a logfile

2012-03-21 Thread Jeri Raye
Hi, Sorry for not being so clear Assuming that the interesting part of a block starts with AAA end with BBB Another block interesting block starts with CCC end with DDD And a line that starts with EEE is also interresting +--START OF TEXT --+ Boring line Not interesting line Useless line Bl

How to strip a logfile

2012-03-21 Thread Jeri Raye
Hi I have a compiler log with too many lines. I would like to strip that document to only the lines I want. How to that? For example, I have a text like this +--START OF TEXT --+ Boring line Not interesting line Useless line Blabla THIS IS REALLY AN INTERESTING BLOCK OF TEXT [111] [222] [333] LA

emacs-like vhdl for vim

2012-01-21 Thread Jeri Raye
Hi, For emacs there seems to be a plugin for VHDL. See http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.gif Is something also available for vim? Rgds, Jeri -- 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 in

filetype dynamic color high lightning

2012-01-21 Thread Jeri Raye
Hi, Is it possible to do "filetype dynamic color high lightning" in vim? In other words, can vim detect dynamicly variable's from a certain type? when I have the following vhdl code: [...] -- signal declarations signal aaa : std_logic; signal iii : integer; [...] -- use of signals aaa

question about c.vim

2011-01-22 Thread Jeri Raye
Hi, I'm using gvim on windows XP. The version is 7.3 and it has a gui apparence. I'm trying to use the c.vim plugin. In the gui a Menu "C/C++" is added by the plugin and there are a lot of c/c++ commands that can be found there. For example: - if you do C/C++ -> Comments -> end-of-line comment

Modifying many lines in many files

2010-12-24 Thread Jeri Raye
Hi, I need to modify a many files, all in the same way. The modification is to - add one space-character at the beginning of every line. - delete the space-character at the end of every line. In other words: If the line looks like this: [start of line]12345 [end of line] It needs to become: [st

filter txt file based on start and ending marks

2010-11-28 Thread Jeri Raye
Hi, When I compile my VHDL design I get a large log file which I want to filter. Is it possible to do this? I was wondering to search for certain patterns in the log file and provide a start and end mark for the interresting stuff. And then delete all that isn't in the selected sections. Is that p

Keep cursor at current location with a BufWrite function

2010-11-18 Thread Jeri Raye
Hi, I have a function which removes double lines in my vhdl code when I save my file. It is like this: au BufWritePre *.vhd :%s/^\n\{2,}/\r/ge But I assume that this is also the cause that my cursor goes to the end of my file when I save my file. What must I do to keep the cursor where it was w

Re: selection to upper case or lower case

2010-10-30 Thread Jeri Raye
With gUU you can change a line to all upper case words. With guu you can change a line to all lower case. How can you apply this to a selection? Meaning: When I have a piece of code selected to status line shows --SELECT-- This seems to work for the text selected when your in select mode vmap

Why does smap and vmap behave different then imap and map

2010-10-30 Thread Jeri Raye
Hi I have mapping like :map :w:make:clist With set makeprog set correctly (which is ":set makeprg=vcom\ -work\ C:\\projects\\iic_slave_pa_top_a0\\modelsim\\work\ -2002\ -explicit\ %") this show my compiler output, and at the end vim says: Press Enter to continue (in green colors) This i

selection to upper case or lower case

2010-10-30 Thread Jeri Raye
Hi, With gUU you can change a line to all upper case words. With guu you can change a line to all lower case. How can you apply this to a selection? Meaning: When I have a piece of code selected to status line shows --SELECT-- When I then press gUU, it removes my selection and give me the text g

mappings for "insert mode " and other mapping for "overwrite mode"

2010-10-22 Thread Jeri Raye
Hi, Is it possible to make different mappings based on "insert mode" or "overwrite mode" Meaning with insert-mode the cursor is a vertical stripe in between chars. With overwrite-mode the cursor is horizontal stripe below the char. Rgds Jeri -- You received this message from the "vim_use" ma

Re: How to get cursor movement in insert mode the same as in normal mode

2010-10-21 Thread Jeri Raye
movement. Try starting gvim from a command prompt as gvim -u NONE and see if that works as you think it should. If that works, then you could try starting gvim as gvim --noplugin to load your _vimrc but not your plugins to try to determine whether the culprit is your _vimrc or a pl

How to get cursor movement in insert mode the same as in normal mode

2010-10-20 Thread Jeri Raye
Hi In normal mode the cursor is a black box (in windows gvim). In insert mode its a line under the current char (in windows gvim).. Then you can go with the cursor arrow keys vertical over 0 1 and 2 in the example text below A(3 downto 0) B(4 downto 1) C(5 downto 2) Is this also possible in i

keyword to upper/lower case

2010-10-17 Thread Jeri Raye
Hi, Is it possible to search for a keyword and change the case of it? I'm using vim for VHDL. VHDL is not case sensitive. I'm using keywords always in lower case, my collegue in upper case. To get to the same style I want to search my text for keywords and change it to upper case. As Vim alre

Permission denied in clist window causing vim to open a new buffer

2010-10-15 Thread Jeri Raye
Hi I have the following to compile my vhdl files ++ :set makeprg=C:\\modelsim_6.6b\\win32\\vcom\ -work\ C:\\projects\\vhdl\\work\ -2002\ -explicit\ % :nmap :w:make:clist :imap if exists("current_compiler") finish endif let current_compiler = "modelsim_vcom" if exists(":CompilerSet") !=

Changing the indention of the command "gg=G"

2010-10-13 Thread Jeri Raye
Hi, gg=G does reindent a file. Question 1: Is it possible to make this command filetype dependend? Question 2: Is it possible to change the way the indent-ion is done? Reason for asking is: I don't like how the indent is done on VHDL files. I would like to change it. Rgds, Jeri -- You receive

Re: external compiler output into window/buffer/quickfix from vim

2010-09-09 Thread Jeri Raye
For example like this output: # Model Technology ModelSim ALTERA vcom 6.5b Compiler 2009.10 Oct 1 2009 # -- Loading package standard # -- Loading package textio # -- Loading package std_logic_1164 [...] # -- Compiling entity cntrlio_module # -- Compiling architecture rtl of cntrlio_module # -- Co

Re: external compiler output into window/buffer/quickfix from vim

2010-09-06 Thread Jeri Raye
[...] > To fix this, first of all I would put all the compiler options into > 'makeprg' and set 'makeprg' once rather than each time you compile. > >    :set makeprg=vcom\ -work\ work\ -2002\ -explicit\ % > > Then to compile your file, just execute > >    :make > > or if you want to just hit , map

external compiler output into window/buffer/quickfix from vim

2010-09-03 Thread Jeri Raye
Hi, I'm experimenting in getting my compiler output redirected into vim, while editing my file to get it bugfree. When I compile my file in my other program the command is as below: vcom -work work -2002 -explicit C:/projects/iic_slave_pa_a0.vhd In this line you can see that: 1) vcom is the

Re: Windows version with Python, Ruby and Lua support?

2010-08-29 Thread Jeri Raye
[snip] [snip] I'm also trying to use the command-t plugin. I have now the vim without cream but with ruby support. The plugin however does not work yet. I've contacted the writer of this plugin. He created an "error ticket" See for the progress the following:https://wincent.com/issues/1652 Rg

Re: How to get ruby support for gvim73 on a windows XP machine.

2010-08-23 Thread Jeri Raye
Ben Fritz wrote on 23-8-2010 17:42: On Aug 23, 3:02 am, Jeri Raye wrote: gvim 7.2.0 (offical release aug 2008) and 7.3 (just relaesed) give boths -ruby when I asked it with: "vim --version" Yes, but at least the gvim 7.3 installer I grabbed from vim.org has "+ruby/dyn"

Re: Windows version with Python, Ruby and Lua support?

2010-08-23 Thread Jeri Raye
On Aug 23, 2:18 pm, Adam Duck wrote: On 23.08.2010 13:19, Didlybom wrote: Hi, [snip] I am trying to use some vim scripts that require python or ruby support (such as command-t) but when I try to use them on a fresh install of Vim 7.3 on windows they do not work. [snip] I'm also trying to

Re: How to get ruby support for gvim73 on a windows XP machine.

2010-08-23 Thread Jeri Raye
Tony Mechelynck wrote on 22-8-2010 22:10: Jeri Raye wrote on 20-8-2010 17:03: Hi, I'm using gvim73 on windows xp. [snip] I'm a complete newbie on compiling gvim. But how to do that on windows XP? [snip] [snip] - You can now download the latest Vim sources from Bram&#

Re: How to get ruby support for gvim73 on a windows XP machine.

2010-08-22 Thread Jeri Raye
Compiling gvim to get ruby support is not needed. I read in the documentation of the command-t plugin that you can download the installer from http://rubyinstaller.org/download.html Rgds, Jeri -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below t

Re: How to get ruby support for gvim73 on a windows XP machine.

2010-08-21 Thread Jeri Raye
Jeri Raye wrote on 20-8-2010 17:03: Hi, I'm using gvim73 on windows xp. [snip] I'm a complete newbie on compiling gvim. But how to do that on windows XP? [snip] If not, which (open source?) compiler do you need for that on a windows XP machine? I'll give

Silly question maybe: What's the purpose of color schemes

2010-08-20 Thread Jeri Raye
Hi, I see many times people create color schemes for vim. With special names as well. To me personally I have only one scheme with my personal prefferences. And for all my filetypes it's all the same. Why do you use several different color schemes? What does it help you? Why for example do you p

How to get ruby support for gvim73 on a windows XP machine.

2010-08-20 Thread Jeri Raye
Hi, I'm using gvim73 on windows xp. I tried to use the command-t plugin. This gives the message that vim needs to be compiled with ruby support. I'm a complete newbie on compiling gvim. I understand it's possible on a linux machine. But how to do that on windows XP? Or can you give a ruby.dll or

What is the function of a 'greater-then' character in an expression

2010-08-19 Thread Jeri Raye
Hi, I'm trying to understand certain expressions in a script. But I can't find out what the function/meaning is of a 'greater-then' character in an expression. So in the expression below, what does the > char do/mean? In other words : What happens when I leaf it out? let g:ruby_simplefold_

How to merge two mappings into one

2010-08-19 Thread Jeri Raye
Hi, I have certain scripts in my plugin directory. And for them I have several mappings. Nothing special. But now I want to merge two mappings into one. In script 1 I have a mapping f "{{{ mappings and default options if !hasmapto("SimpleFold_Foldsearch") map f SimpleFold_Foldsearch en

string expression question

2010-08-16 Thread Jeri Raye
Hi, I'm playing with expression but can't get it right. The start and end expression seems not to be unique. I have the following: let g:start_expr = '\v^\s*(def>|if.*then>|case.* is>)' let g:end_expr = '\v((^\s*(end|\But when I nest the if statement then it doesn't work anymore. I assume

Re: Do any people use gVim with C.vim in windows?

2010-08-16 Thread Jeri Raye
2010/8/16 eliweiq001 : > Thank you so much. > Inspired by your c.vim, now I've found the real reason. Glad I could help. I'm mostly on the asking side on this group. ;-) > > I hope the editor will add the automatic detection for mswin too. > Drop him an email I would say. Rgds, Jeri -- You rec

Fold display configuration. Is that possible?

2010-08-16 Thread Jeri Raye
Hi, Is it possible to configure vim how you want to have your folds displayed? I would like to see child folds as an indented fold of it's parent fold. In other words I would like to see the following code: if () { [] if () { [] } } Be folded as: if() +-- [...] { -

how to read let expression with starting \ and ending .

2010-08-15 Thread Jeri Raye
Hi, I'm reading some vim script. I was wondering about the following It says let g:expression = \ . \ . \ Question 1: Is this \ a 'line-continuation' character? In other words should it be read as one line? Question 2: And what is the function of the dot? To give an example: let g:jeri = \

Re: syn region question

2010-08-15 Thread Jeri Raye
On Sat, Aug 14, 2010 at 11:02 PM, Benjamin R. Haskell wrote: > > You left out the second instruction... > > :echo orig_syntax > :syn list vhdlStatement > > The ':echo' gives you the original syntax entry for vhdlStatement. > The ':syn' command gives you the current entry. > > (So you can compare t

Re: syn region question

2010-08-13 Thread Jeri Raye
Hi Ben, On Fri, Aug 13, 2010 at 8:45 PM, Benjamin R. Haskell wrote: > The attached file seems to do what you want, w.r.t. both the multiple > block keywords, and not modifying the original > $VIMRUNTIME/syntax/vhdl.vim.  To use it, put it in your > ~/.vim/after/syntax/ directory (create if needed

Re: syn region question

2010-08-13 Thread Jeri Raye
I can imagine something like this: sy match vhdlFoo "\" sy match vhdlBar "\" sy region vhdlFooBarFold \ start="" \ end="" \ fold transparent \ keepend What to fill in for the start and end parameter of the region, to get the folding as: +-- x lines: foo -

Re: syn region question

2010-08-13 Thread Jeri Raye
Hi Andrew, On Fri, Aug 13, 2010 at 1:21 PM, Christian Brabandt wrote: > Hi Andrew! > > On Fr, 13 Aug 2010, Andrew Long wrote: > >> Are they declared as 'syntax keyword'? Yes they are. >> If so, I think that trumps any >> attempt to redefine them as regions/matches/etc. I had that problem >> when

Re: Do any people use gVim with C.vim in windows?

2010-08-13 Thread Jeri Raye
On Fri, Aug 13, 2010 at 2:19 PM, winterTTr wrote: > On 13 August 2010 18:57, eliweiq001 wrote: >> >> I use gvim in windows. >> C.VIM has a folder named "c-support". >> >> This folder can only be put in $VIM\vimfiles\  in my compter. >> >> If I put this folder in $HOME\vimfiles\ or $HOME\.vim\ , w

Re: syn region question

2010-08-13 Thread Jeri Raye
> entity is a VHDL word, as well as if. > foo is a made up word. > It's also for the VHDL reserved words process, case, architecture. I can't believe VIM can't fold reserved words? Or is this a bug? I did change entity into entit (so removing the y char) in the given syn region. When I now type e

syn region question

2010-08-12 Thread Jeri Raye
Hi, I have in my after\syntax directory a vhdl.vim file defined as below +-+ syn sync fromstart set foldmethod=syntax "syntax match vhdlEndIf "end\s\+if" syn region vhdlFold \ start="\z(\\)" \ end="\http://www.vim.org/maillist.php

Re: folding question

2010-08-12 Thread Jeri Raye
Hi Christian, >> folds into: >> # Start of text # >> +-- 4 lines: if- >> end if >> # End of Text # >> Notice the not included 'end if' > > That is because of the keepend. There was a reason why I left it out, in > my previous message ;) But when I re

Re: folding question

2010-08-12 Thread Jeri Raye
> or else (untested) > >        syn region vhdlFold >                \ start='\z(\\)' >                \ end='\                \ contains=vhdlFold >                \ fold transparent > > to make it recursive? > > > Best regards, > Tony. > -- Unfortantly the adding of \ contains=vhdlFold doesn't do

Re: folding question

2010-08-11 Thread Jeri Raye
Christian Brabandt wrote on 11-8-2010 19:36: Hi Jeri! # Start of text # if if end if end if if end if # End of Text # folds into # Start of text # +-- 3 lines: if +-- 6 lines: if end if # End of Text # Notice the

Re: VIM Recent Script Updates - RSS Feed request

2010-08-11 Thread Jeri Raye
for me http://feed43.com/vim-scripts.xml works as RSS feed. Regards, Jürgen If I go this site and add it to my Mozilla FireFox browser (Version 3.6.8) on Windows XP I get the following error message. script:Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2

Re: VIM Recent Script Updates - RSS Feed request

2010-08-11 Thread Jeri Raye
Jeri Raye wrote on 11-8-2010 19:03: for me http://feed43.com/vim-scripts.xml works as RSS feed. Regards, Jürgen If I go this site and add it to my Mozilla FireFox browser (Version 3.6.8) on Windows XP I get the following error message. script:Can't connect to local MySQL server th

Re: folding question

2010-08-11 Thread Jeri Raye
Hi Christian I am no expert in syntax highlighting. But this should be possible using \z() (see :h :syn-ext-match) Something like this should work then for you: :syn region myFOLD2 start="\z(if\)" end="end \z1" transparent fold I'm going to try this. Thanks for the suggestion. This is the f

Re: folding question

2010-08-11 Thread Jeri Raye
Hi Christian Hi Jeri! On Di, 10 Aug 2010, Jeri Raye wrote: Hi Christian Thanks, but that doesn't do it for me. Please don't top post. What exactly "does not do it" for you? Sorry, you are right. Ans also for "does not do it". This is a useless remark from

Re: folding question

2010-08-10 Thread Jeri Raye
Hi Christian Thanks, but that doesn't do it for me. I discovered that in a syn region the 'start value' is not allowed also in the 'end value'. So in ---> syn region myFold2 start="foo" end="end foo;" transparent fold the second foo is not allowed. Is there a way to work around this? I'm tryin

Re: Visual bell in VIM

2010-08-09 Thread Jeri Raye
2010/8/4 Ricky J. Wu : > > In my system, I add these two lines into vimrc: > > set noerrorbells novisualbell > autocmd VimEnter * set vb t_vb= > This does the trick for me also! Thanks Jeri -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text y

Re: fold c++ style comment

2010-08-09 Thread Jeri Raye
Hi Wayne Can you do something with a fold expression? Assuming that a fold expression works as an extra mode when syntax foldmethod is on. Or something like done in http://vim.wikia.com/wiki/Syntax-based_folding I'm a complete newbie wrt to folding in vim, I'm just experimenting with it. HTH

folding question

2010-08-08 Thread Jeri Raye
Hi, I'm trying to make a fold region that looks for the following - when a line contains the word "foo" that's the start of the fold - when one or more lines later the word "end" is found that should close the line - or when the words "end foo" is found that should close the line So the followin

how to change ctags defaults?

2010-08-08 Thread Jeri Raye
Hi I have trouble to change the default output of ctag (version 5.8) for VHDL With ctags --list-kinds=vhdl it gives the parameters. It gives amongst others C as a parameter This gives Component Declarations. When I do: ctags -R vhdl-kinds=[+C] --extra=+q . And check the tags file it doesn't ad

how to deal with a space in a directory path in vim

2010-08-06 Thread Jeri Raye
Hi, I would like add a path in a setting for example: set tags=c:\my projects\test\tags (notice the space char between my and projects) Can this be done into vim? Rgds, Jeri -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replyi

Tips for remembering command's of scripts

2010-08-06 Thread Jeri Raye
Hi, Maybe a stupid question but do you have any tips on rembering all the command's provided by plugin scripts? How to do that? Do you write them on a paper besides your PC? Or on another way. There are a lot of scripts with fantastic functionality. But me personaly find it hard to remember

How to extrat a vba file?

2010-08-05 Thread Jeri Raye
Hi One of the vim scripts is stored as a vba file See for example http://www.vim.org/scripts/script.php?script_id=1643 How to un-vba such a file? It says :vim myvimball.vba But when I do that in gVim it gives some kind of file error. I'm on Windows XP Rgds. Keri -- You received this message f

Re: how to make ctags work in vim

2010-08-05 Thread Jeri Raye
Hi, I managed to creat a tag file. If that tag file is on location c:\projects\test how do I tell vim then that it should look there for tag information? Rgds, Jeri -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For

What is "the after/syntax vim file"

2010-08-04 Thread Jeri Raye
Hi, On : http://vim.wikia.com/wiki/Syntax_folding_of_Vim_scripts it has half way a pargraph named: Syntax definitions There is stated the following: "As mentioned above, place the following in your after/syntax Vim file: " Where is the after/syntax vim file located? I'm using gvim under xp/vista

how to make ctags work in vim

2010-08-04 Thread Jeri Raye
Hi, I'm new to ctags. I want to use it within vim (as omni completion requires it, IIUC) I have downloaded it from sourceforge. How do I now let vim know that I have ctags? Do I need to store the executable ctags.exe somewhere in vim? Or do I need to specify a path where ctags is stored? I'm usin

(Local)Leader

2010-07-30 Thread Jeri Raye
Hi, Can you echo your Leader? And our LocalLeader? Rgds, Jeri -- 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

Questions on c.vim plugin

2010-07-30 Thread Jeri Raye
Hi, I'm trying to use the c.vim plugin And I see some errors when I use it (on gVim, Vista) When I have line like this: This is a comment line And then I press trough the cut-off menu the button: code -> comment /* */ \c* Then I get this /* This is a comment line :nohlsearch j*/ Why is that

how to rearrange text file

2010-05-11 Thread Jeri Raye
Hi I have a large text file which I want to rearrange. How to do that I want - every senstence on a single line, where a sentence is a line that ends on a . or ." This is sentence can be in the orignal text file go over several lines - Every space that's in a line must be counted, placed upfront th

how to expand the = command for other filetypes

2010-03-12 Thread Jeri Raye
Hi Is it possible to make the = command file type dependend. For example if the file is called my_design.vhd the filteype is then VHDL End then the = command should 'clean up' the code into the VHDL style below So - after the word begin an indent should occur on the next line - the same applies

how to use the = command smarter

2010-03-12 Thread Jeri Raye
Hi, I have C code that I need to clean up With the = command I can do one or several lines . But is it possible to do this in one click for the complete file? In others words I have if { if { if { ... } } } i want if { if b { if {

How to 'soft-break' lines if file has extensions txt

2009-10-25 Thread Jeri Raye
Hi, I use vim for C and VHDL files. And I don't want to let vim break the lines. I recently also started it to use it frequently for txt files. And now this not 'soft-breaking the lines is not what I want for txt files. How can I configure vim that it does 'soft-break' the lines when the file e

how to change everything to lower case

2009-10-23 Thread Jeri Raye
Hi, I have a list which contains uppercase and lower case letters. How can I change everything to lowercase. For example: AAA BBB CCC aaa bbb ccc Then then High high should be come aaa bbb ccc aaa bbb ccc then then high high Rgds, Jeri --~--~-~--~~~---~--~~ Yo

appending dynamic leading zero's

2009-10-19 Thread Jeri Raye
Hi I have a long list with lines that start with a number in random order followed by tekst. Something like this: 109 AAA 23 blabla 1 xyzxyz 45 BBB What I want is that all number get one or more 0 needed then the largest (in character size) number So in the list above the 'largest' number is 3

  1   2   >