Re: changing buffers on windows

2012-10-22 Thread Ben Fritz
On Monday, October 22, 2012 9:58:06 PM UTC-5, Brandon Coleman wrote: > What is the suggested way to switch a buffer in a window that is displayed, > but not the current window, or windows in other tab pages? > If you're asking how to change what buffer is displayed in a non-current window, you

Re: changing buffers on windows

2012-10-22 Thread Ben Fritz
On Monday, October 22, 2012 10:33:58 PM UTC-5, Tony Mechelynck wrote: > > To switch to the window containing foobar.txt, if there is one, even in > > a different tab, or open the file in a new (split) window if there is none: > > - only this time: > > :let save_swb = &swb > > :set

Re: gvim/unix for Extending Verilog syntax highlighting for SystemVerilog

2012-10-22 Thread John Little
(Please don't top-post on this list.) (Is Saran short for Saravanan?) > What should I do with color scheme ? If :color default works, it means the "color" scheme you were using has highlight commands for colour terminals, like hi Statementctermfg=3 but not for the gui, like hi Statement

Re: dab on escaped backslashes

2012-10-22 Thread Bram Moolenaar
Christian Brabandt wrote: > On Mo, 22 Okt 2012, Andy Wokula wrote: > > > Am 22.10.2012 09:55 und 09:59, schrieb Axel Bender: > > >Is there any possibility to make dib (or dab for that matter) ignore > > >escaped backslashes, e.g. > > > > > >Current behavior: > > >"( \(a[cursor_here]bc) )" -> dib

Re: changing buffers on windows

2012-10-22 Thread Tony Mechelynck
On 23/10/12 04:58, Brandon Coleman wrote: What is the suggested way to switch a buffer in a window that is displayed, but not the current window, or windows in other tab pages? Brandon To switch _to_ window n in the current tabpage, use Ctrl-W w (or :wincmd w) with a count. For instance to

changing buffers on windows

2012-10-22 Thread Brandon Coleman
What is the suggested way to switch a buffer in a window that is displayed, but not the current window, or windows in other tab pages? Brandon -- 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, vis

Re: Fwd: Vim under cygwin

2012-10-22 Thread Tony Mechelynck
On 12/07/12 18:06, Andrew Long wrote: Begin forwarded message: From: "Long, Andrew" Subject: Vim under cygwin Date: 12 July 2012 10:18:32 GMT+01:00 To: andrew.l...@mac.com 0126792@XP037234 ~/NRock/Projects/dbJnlStats/working $ vim -gS Session.vim cygwin warning: MS-DOS style path detected:

Re: Strange behavior using caret or backtick

2012-10-22 Thread Tony Mechelynck
On 22/10/12 18:51, Ben Fritz wrote: On Monday, October 22, 2012 10:27:49 AM UTC-5, Axel Bender wrote: Since some patches I experience the following behavior ([] denotes the cursor position, current patch level: 7.3.709): a[a]aa -> a aa[]aa -> aa []aa -> ^ aa []aa ->" Should result i

RE: gvim/unix for Extending Verilog syntax highlighting for SystemVerilog

2012-10-22 Thread Arumugam, Saravanan
:color default works in gvim. What should I do with color scheme ? -Original Message- From: vim_use@googlegroups.com [mailto:vim_use@googlegroups.com] On Behalf Of John Little Sent: Sunday, October 21, 2012 1:01 PM To: vim_use@googlegroups.com Subject: gvim/unix for Extending Verilog syn

Re: Enforcing coding standards using vim

2012-10-22 Thread Reid Thompson
On Mon, 2012-10-22 at 07:55 -0700, Ben Fritz wrote: > > > > Thanks John. It should be good to follow your work. Perhaps looking at > > > > your code would give me some clue as to what I could do for C/C++. > > > > Yesterday I also found a free package called Artistic Style > > > > (astyle.sourc

Re: dab on escaped backslashes

2012-10-22 Thread Christian Brabandt
On Mo, 22 Okt 2012, Andy Wokula wrote: > Am 22.10.2012 09:55 und 09:59, schrieb Axel Bender: > >Is there any possibility to make dib (or dab for that matter) ignore > >escaped backslashes, e.g. > > > >Current behavior: > >"( \(a[cursor_here]bc) )" -> dib -> "() )" > > > >Desired behavior: > >"( \(

Re: dab on escaped backslashes

2012-10-22 Thread Christian Brabandt
Hi Marcin! On Mo, 22 Okt 2012, Marcin Szamotulski wrote: > On 08:32 Mon 22 Oct , Axel Bender wrote: > > In fact I don't see any influence of cpo+=M either. However I don't know if > > there should be a change... > > On the other hand there seems to be no other place at which we might toggle

Re: dab on escaped backslashes

2012-10-22 Thread Marcin Szamotulski
On 08:32 Mon 22 Oct , Axel Bender wrote: > In fact I don't see any influence of cpo+=M either. However I don't know if > there should be a change... > On the other hand there seems to be no other place at which we might toggle > this behavior. > > -- > You received this message from the "vi

Re: Strange behavior using caret or backtick

2012-10-22 Thread Ben Fritz
On Monday, October 22, 2012 10:27:49 AM UTC-5, Axel Bender wrote: > Since some patches I experience the following behavior ([] denotes the cursor > position, current patch level: 7.3.709): > > a[a]aa -> a > aa[]aa -> > aa []aa -> ^ > aa []aa ->" Should result in "aa ^[]aa" > aa

Re: Vim under cygwin

2012-10-22 Thread Andrew Long
On 18 Oct 2012, at 15:51, Andrew Long wrote: > > On 17 Oct 2012, at 18:19, Gary Johnson wrote: > >> On 2012-10-17, Andrew Long wrote: >>> On 12 Jul 2012, at 17:06, Andrew Long wrote: >> Begin forwarded message: > From: "Long, Andrew" > Subject: Vim under cygwin > Date: 1

Re: Strange behavior using caret or backtick

2012-10-22 Thread Axel Bender
Erratum: The current patch level here is 7.3.709 (not 7.2.709). -- 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: dab on escaped backslashes

2012-10-22 Thread Axel Bender
In fact I don't see any influence of cpo+=M either. However I don't know if there should be a change... On the other hand there seems to be no other place at which we might toggle this behavior. -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the

Strange behavior using caret or backtick

2012-10-22 Thread Axel Bender
Since some patches I experience the following behavior ([] denotes the cursor position, current patch level: 7.2.709): a[a]aa -> a aa[]aa -> aa []aa -> ^ aa []aa ->" Should result in "aa ^[]aa" aa []aa -> aa[ ]aa -> s " gA shows 0x20 []$a aa " Should result

Re: map ... :!/usr/bin/env python3 % in Windows?

2012-10-22 Thread Ben Fritz
On Sunday, October 21, 2012 8:32:22 AM UTC-5, ShayAllen wrote: > I don't know much about Windows. How can I make this work? > > autocmd FileType python map :w:!/usr/bin/env python3 % > > > Incidentally, although others have pointed out your likely problem, I also note that "" in a mapping,

Re: Enforcing coding standards using vim

2012-10-22 Thread Ben Fritz
On Sunday, October 21, 2012 9:54:06 AM UTC-5, Arindam Mukherjee wrote: > On Sun, Oct 21, 2012 at 5:59 PM, John Evans wrote: > > > On Saturday, October 20, 2012 7:05:41 PM UTC+1, Arindam Mukherjee wrote: > > >> Hi, > > >> > > >> > > >> > > >> Is there a way to enforce certain coding standards

Re: Ruby 1.9 on Windows?

2012-10-22 Thread talek
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 Also, I think you need the Ruby Devkit as well. HTH. -- You received this message from the "vim_use" maillist. Do not top-po

Ruby 1.9 on Windows?

2012-10-22 Thread Steve Hall
Is it possible to compile Vim on Windows with Ruby 1.9 or is it still stuck on 1.8? I've never been able to compile Vim with Ruby 1.9, always get the error: gcc -c -O3 -fomit-frame-pointer -freg-struct-return -fno-strength-reduce -DWIN32 -DHAVE_PATHDEF -DFEAT_HUGE -DWINVER=0x 0500 -D_WIN32_

Re: empty lines tildes

2012-10-22 Thread Christian Brabandt
On Mon, October 22, 2012 13:06, Davido wrote: > I wonder if it is possible to display empty lines (tildes) at the top of > a file ? Then, we'd be able to center any line in the screen, including > the first ones. Not really. You can however split the window and set the local statusline option to s

empty lines tildes

2012-10-22 Thread Davido
Hello, I wonder if it is possible to display empty lines (tildes) at the top of a file ? Then, we'd be able to center any line in the screen, including the first ones. -- Regards, Davido -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text

Re: dab on escaped backslashes

2012-10-22 Thread Marcin Szamotulski
On 01:21 Mon 22 Oct , Axel Bender wrote: > I believe to remember that this wasn't so in earlier versions of GVim. Do you > by chance know, why this was changed? It - usually - comes relatively unhandy > when editing, e.g. Windows file names. > > -- > You received this message from the "vim_

Re: dab on escaped backslashes

2012-10-22 Thread Andy Wokula
Am 22.10.2012 09:55 und 09:59, schrieb Axel Bender: Is there any possibility to make dib (or dab for that matter) ignore escaped backslashes, e.g. Current behavior: "( \(a[cursor_here]bc) )" -> dib -> "() )" Desired behavior: "( \(a[cursor_here]bc) )" -> dib -> "( () )" Addendum: I'm not loo

RE: Replacing current line with last-yanked register

2012-10-22 Thread Amit Agarwal
Hi, > Any URLs for the sed 1 liners? First hit for googling on sed 1 liners : http://sed.sourceforge.net/sed1line.txt Thanks, Amit Agarwal Websites: amit-agarwal.co.in amit-agarwal.com Blog: blog.amit-agarwal.co.in -- You received this message from the "vim_use" maillist. Do not top-po

Re: dab on escaped backslashes

2012-10-22 Thread Axel Bender
I believe to remember that this wasn't so in earlier versions of GVim. Do you by chance know, why this was changed? It - usually - comes relatively unhandy when editing, e.g. Windows file names. -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the

Re: dab on escaped backslashes

2012-10-22 Thread Marcin Szamotulski
On 00:59 Mon 22 Oct , Axel Bender wrote: > Addendum: I'm not looking for a macro/function but for a setting. > > -- > 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/

Re: dab on escaped backslashes

2012-10-22 Thread Axel Bender
Addendum: I'm not looking for a macro/function but for a setting. -- 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

dab on escaped backslashes

2012-10-22 Thread Axel Bender
Is there any possibility to make dib (or dab for that matter) ignore escaped backslashes, e.g. Current behavior: "( \(a[cursor_here]bc) )" -> dib -> "() )" Desired behavior: "( \(a[cursor_here]bc) )" -> dib -> "( () )" -- You received this message from the "vim_use" maillist. Do not top-post!

Re: Replacing current line with last-yanked register

2012-10-22 Thread stosss
On Tue, Oct 16, 2012 at 1:11 PM, Christian Brabandt wrote: > Hi Dotan! > > On Di, 16 Okt 2012, Dotan Cohen wrote: > >> On Tue, Oct 16, 2012 at 2:48 PM, ping wrote: >> > this is a really nice tip , even if sound simple, vim-golf best practice so >> > far I heard. >> > I'll start re-train my finger