How to active the tab if the file is already opened?

2017-07-18 Thread Zhe Lee
I use the code to open my snippet. But if it already been opened, I just want to active the tab instead of open a new tab. How to do that? tabnew $VIM\vimfiles\bundle\vim-snipmate\snippets\python.snippets -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your

Re: dbext version 20 does not prompt for connection profile

2017-07-18 Thread Stevan Earl
On Monday, July 17, 2017 at 9:56:59 AM UTC-7, David Fishburn wrote: > However, I wonder if I have simply been misinterpreting the functionality. > One helpful site that led me to this plugin in the first place left me with > the impression that the user is prompted for the desired DB connection

Re: set iminsert: why global, not local?

2017-07-18 Thread RingoRangoRongo
On Tuesday, July 18, 2017 at 10:45:13 PM UTC+3, Christian Brabandt wrote: > known bug: > https://groups.google.com/d/msg/vim_dev/HpwZWJojl3E/4zCBH3qWQ5IJ Thanks, Christian! Now, having in mind this and also what Tony has said ("setting 'keymap' on a given buffer also sets 'iminsert' to 1 on

Re: Searching limited to syntax groups

2017-07-18 Thread Tim Chase
On 2017-07-18 15:47, David Fishburn wrote: > http://www.vim.org/scripts/script.php?script_id=848 Excellent...I look forward to experimenting with it. Thanks! -tim -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying

Re: Searching limited to syntax groups

2017-07-18 Thread David Fishburn
On Tue, Jul 18, 2017 at 1:01 PM, Tim Chase wrote: > My digging hasn't been able to turn up anything, but I was hoping for > something that would let me easily search just code or comments to > the exclusion of the other. Something like (imaging a sequence like >

Re: set iminsert: why global, not local?

2017-07-18 Thread Christian Brabandt
On Di, 18 Jul 2017, RingoRangoRongo wrote: > Am I missing something, or is it impossible to set iminsert for a specific > buffer only, not for Vim globally? known bug: https://groups.google.com/d/msg/vim_dev/HpwZWJojl3E/4zCBH3qWQ5IJ Best, Christian -- Ein alter Mann ist ein Kind mit

Re: set iminsert: why global, not local?

2017-07-18 Thread Tony Mechelynck
On Tue, Jul 18, 2017 at 8:34 PM, RingoRangoRongo <9876...@gmail.com> wrote: > Thanks for your reply, Tony! > > 1-2. Then I AM missing something, I assume: http://i.imgur.com/1SqcHwW.gif > Like, why the Russian keymap — even though set locally via "setlocal > iminsert=1" — applies to all buffers?

Re: set iminsert: why global, not local?

2017-07-18 Thread RingoRangoRongo
Thanks for your reply, Tony! 1-2. Then I AM missing something, I assume: http://i.imgur.com/1SqcHwW.gif Like, why the Russian keymap — even though set locally via "setlocal iminsert=1" — applies to all buffers? 3. Well, I seem to understand why exactly this behavior happens ("characters

Re: set iminsert: why global, not local?

2017-07-18 Thread Tony Mechelynck
On Tue, Jul 18, 2017 at 6:48 PM, RingoRangoRongo <9876...@gmail.com> wrote: > Hi, > > > Am I missing something, or is it impossible to set iminsert for a specific > buffer only, not for Vim globally? > > I mean, I have "set keymap=russian-jcukenmac; set iminsert=0", and if I > switch to the

Re: Searching limited to syntax groups

2017-07-18 Thread Christian Brabandt
On Di, 18 Jul 2017, Tim Chase wrote: > My digging hasn't been able to turn up anything, but I was hoping for > something that would let me easily search just code or comments to > the exclusion of the other. Something like (imaging a sequence like > "\%syntax{SyntaxID}" but actual

Searching limited to syntax groups

2017-07-18 Thread Tim Chase
My digging hasn't been able to turn up anything, but I was hoping for something that would let me easily search just code or comments to the exclusion of the other. Something like (imaging a sequence like "\%syntax{SyntaxID}" but actual flavor/implementation is negotiable)

set iminsert: why global, not local?

2017-07-18 Thread RingoRangoRongo
Hi, Am I missing something, or is it impossible to set iminsert for a specific buffer only, not for Vim globally? I mean, I have "set keymap=russian-jcukenmac; set iminsert=0", and if I switch to the Russian keymap via , it does affect all open buffers. I tried creating a [conditional]