Subsitute question

2010-08-09 Thread Bu Rak
Is there a single command to change following patterns at once? %s/AAA/ZZZ/g %s/aaa/zzz/g Burak -- 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: vim.wikia.com is a poor user experience

2010-05-05 Thread Bu Rak
Agreed, not all of us is young enough to see Punched Cards :) 2010/5/2 Jeff Wheeler jeffwhee...@gmail.com On Sat, May 1, 2010 at 3:30 PM, Tim Chase v...@tim.thechases.com wrote: Some of us are only a little more than half that age... And some of us less than 1/3 that age. But I think

Re: Replacing a pattern match with the character preceding it.

2010-02-16 Thread Bu Rak
You can try: :%s/\(.\):/\1\1/g | one character before : Bu it is searching for all occurences of : character. Burak 2010/2/16 kay sam kaysa...@gmail.com Hi All, Help using substitute every abcde:fgh with abcdeefgh in a file. Thanks a lot! -- You received this

Re: To print module's name

2009-12-20 Thread Bu Rak
Thanks all, Burak 2009/12/20 KingTiger ljh...@gmail.com Hi. A simply code . map F8 ESC:echo getline(search('^\s*\\(entity\|module\)\\s*\w\+','bWn'))CR ps: my outlook express can't post bottom.. - -!,, While browsing in verilog or vhdl code, there is a need to get which module or

To print module's name

2009-12-18 Thread Bu Rak
Hi, While browsing in verilog or vhdl code, there is a need to get which module or entity (these are the required keywords) the line is. My solution is maybe writing a function and map a key to call this function. Any example code for the function would be very well... Thanks, Burak PS: The

gvimdiff without sourcing .cshrc in linux/unix

2009-11-11 Thread Bu Rak
Hi, I want to know is there a way to make vim not source .cshrc file when gvimdiff is used... Thanks, Burak --~--~-~--~~~---~--~~ You received this message from the vim_use maillist. For more information, visit http://www.vim.org/maillist.php

Re: gvimdiff without sourcing .cshrc in linux/unix

2009-11-11 Thread Bu Rak
2009/11/11 Matt Wozniski m...@drexel.edu On Wed, Nov 11, 2009 at 5:10 AM, Bu Rak wrote: Hi, I want to know is there a way to make vim not source .cshrc file when gvimdiff is used... Thanks, Burak vim should never source a .cshrc file. I would assume that you're actually

How to use vim tabs like other editors' tabs

2009-09-02 Thread Bu Rak
I want to use vim tabs like the ones in MiniBufferExplorer or other editor tabs (when a file opens, it will open in a new tab, when closes close the tab). I try to use autocmds but no success at all (it will open tabs for files but there are some problems). My .vimrc related to these: autocmd

How to display edited lines of the file

2009-09-01 Thread Bu Rak
Hi, Is there a way to highlight modified lines while editing a file? Burak --~--~-~--~~~---~--~~ You received this message from the vim_use maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---