Re: syntaxcomplete#Complete() and nested filetypes

2021-06-21 Thread David Fishburn
Life, I am not sure I quite understand your use case for the plugin. :h ft-syntax-omni In the example I provide there, I am editing a PHP file, which has embedded HTML and JavaScript. So I need syntaxComplete to also provide JavaScript functions, not just PHP functions. That examples

Re: Quickfix window clearing on any change

2021-04-27 Thread David Fishburn
This appears to be fixed in the ALE 3.1.0 release (only on GitHub). vim.org has version 1.7.1 from Feb 2018 as it's last release. David On Tue, Apr 27, 2021 at 9:29 PM David Fishburn wrote: > Are you using any kind of linter or syntax checker plugins? I know >> syntastic caused

Re: Quickfix window clearing on any change

2021-04-27 Thread David Fishburn
> > Are you using any kind of linter or syntax checker plugins? I know > syntastic caused a similar problem in the past. Nailed it. I am using: ALE - Asynchronous Lint Engine -- Lint while you type in Vim http://www.vim.org/scripts/script.php?script_id=5449 :ALEDisable Was enough to get me

Re: Quickfix window clearing on any change

2021-04-16 Thread David Fishburn
, Apr 15, 2021 at 5:40 AM David Fishburn > wrote: > > > > My quickfix window is being cleared anytime a file is modified, this is > a new behaviour and I don't want it. > > > > Work flow: > > :grep something * > > :copen > > Work through each file

Quickfix window clearing on any change

2021-04-15 Thread David Fishburn
My quickfix window is being cleared anytime a file is modified, this is a new behaviour and I don't want it. Work flow: :grep something * :copen Work through each file in the list But (it has been a while now maybe 6 months), when I click on one of the entries in the :copen quickfix window, it

Perl and job support

2019-02-11 Thread David Fishburn
Vim 8.1.699 One of my plugins uses Vims dynamic perl modules to load my scripts and run them inside of Vim. This has many advantages for flexibility and speed. One of the disadvantage of this is it is synchronous. Just wondering if it is possible to tie this into Vims job support and make it

ANN: YankRing 20.0

2019-01-12 Thread David Fishburn
YankRing.vim : Maintains a history of previous yanks, changes and deletes http://www.vim.org/scripts/script.php?script_id=1234 What does it do? Inspired by the Emacs kill ring. Allows you to retrieve previous yanks, deletes and changed text and cycle through them choosing which item you need.

Re: Dynamically creating an autocmd group

2019-01-02 Thread David Fishburn
Thanks Andy, didn't notice you can add additional command like that, even though that is essentially what we are doing when you run the command. Go figure. > > -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For

Dynamically creating an autocmd group

2019-01-02 Thread David Fishburn
:ver VIM - Vi IMproved 8.1 (2018 May 18, compiled Dec 30 2018 14:48:55) MS-Windows 32-bit GUI version with OLE support Included patches: 1-662 I have the following augroup: augroup MyTest autocmd! autocmd FocusGained * :if has('clipboard') | echomsg "has clipboard" | endif autocmd

Re: Compiling Vim on Ubuntu

2018-11-08 Thread David Fishburn
>> I did a --prefix=/usr > That's a bad idea. You should never put your own > things in /usr/bin since it's meant to be managed by > apt packages. You can mess up your Ubuntu packages > when doing that. Point taken. On my next VM I will leave the prefix and see why I may have changed it so long

Re: Compiling Vim on Ubuntu

2018-11-07 Thread David Fishburn
oot root 3 Nov 7 12:48 /usr/bin/gvim -> vim* David On Tue, Nov 6, 2018 at 1:48 PM Dominique Pellé wrote: > On Tue, Nov 6, 2018 at 2:30 AM David Fishburn > wrote: > > > > I am having a hard time getting gvim to compile on Ubuntu 16.04 > ...snip... > > I ca

Re: Compiling Vim on Ubuntu

2018-11-06 Thread David Fishburn
v 6, 2018 at 1:46 AM Christian Brabandt wrote: > > On Mo, 05 Nov 2018, David Fishburn wrote: > > > I am having a hard time getting gvim to compile on Ubuntu 16.04 > > > > When I run this: > > > > ./configure --enable-gui > > > > checking for

Compiling Vim on Ubuntu

2018-11-05 Thread David Fishburn
I am having a hard time getting gvim to compile on Ubuntu 16.04 When I run this: ./configure --enable-gui checking for X... (cached) no checking if X11 header files can be found... yes checking --enable-gui argument... no GUI support checking for X11/SM/SMlib.h... (cached) no This is a

Re: Syntax Completion works only for one language

2018-07-12 Thread David Fishburn
On Tue, Jul 10, 2018 at 2:56 PM 'Ameesh Oza' via vim_use < vim_use@googlegroups.com> wrote: > ... > :syntax list > verilogStatement xxx highz0 highz1 always_comb force automatic pullup > genvar parameter table input this alias >config import tagged generate rtran

Re: Syntax Completion works only for one language

2018-07-10 Thread David Fishburn
On Mon, Jul 9, 2018 at 6:21 PM 'Ameesh Oza' via vim_use < vim_use@googlegroups.com> wrote: > On Friday, July 6, 2018 at 6:23:15 AM UTC-7, David Fishburn wrote: > > On Thu, Jul 5, 2018 at 12:38 PM 'Ameesh Oza' via vim_use < > vim...@googlegroups.com> wrote: > > On W

Re: Syntax Completion works only for one language

2018-07-06 Thread David Fishburn
On Thu, Jul 5, 2018 at 12:38 PM 'Ameesh Oza' via vim_use < vim_use@googlegroups.com> wrote: > On Wednesday, July 4, 2018 at 5:08:51 AM UTC-7, David Fishburn wrote: > ... > : version output > > :version > VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jul 24 2015 02:22:44) &

Re: Syntax Completion works only for one language

2018-07-04 Thread David Fishburn
On Tue, Jul 3, 2018 at 11:55 PM 'Ameesh Oza' via vim_use < vim_use@googlegroups.com> wrote: > On Tuesday, July 3, 2018 at 7:21:27 PM UTC-7, David Fishburn wrote: > > On Tue, Jul 3, 2018 at 8:59 PM 'Ameesh Oza' via vim_use < > vim...@googlegroups.com> wrote: >

Re: Syntax Completion works only for one language

2018-07-03 Thread David Fishburn
On Tue, Jul 3, 2018 at 8:59 PM 'Ameesh Oza' via vim_use < vim_use@googlegroups.com> wrote: > I am trying to use syntax completion for two separate languages on Linux, > say A & B. I have these directories > > ... > Syntax highlighting works for both languages without problems. But syntax >

Re: dbext: unable to connect to MySQL database

2018-05-02 Thread David Fishburn
> > ... > mysql -h localhost -u myusername -p > select * from lter10_arthropods_production.sites; > > mysql -h localhost -u myusername -p -D lter10_arthropods_production > select * from sites; > > I have a similar config in my vimrc for for the MySQL localhost, here > trying naming the database

Re: dbext: unable to connect to MySQL database

2018-05-02 Thread David Fishburn
> > > Thanks very much for responding. Yep, all on the same machine, and I see > the exact same behavior regardless of whether I am attempting to query my > localhost or a remote server. > > No problems outside of Vim: queries work fine via CLI or a client such as > MySQL Workbench. > > Can you

Re: dbext: unable to connect to MySQL database

2018-05-02 Thread David Fishburn
On Tue, May 1, 2018 at 1:38 PM, Stevan Earl wrote: > > > My MySQL connection looks like the following but I have tried every > combination that I can think of: with and without passwd, -t, port, dbname. > > let g:dbext_default_profile_mysql_local =

Re: ANN: dbext.vim version 26.00 - Database access from within Vim

2017-11-20 Thread David Fishburn
On Mon, Nov 20, 2017 at 12:58 PM, Josef Fortier wrote: > Would you be willing to create a github (or alternative public repo) copy > of dbext to aid package managers? > Never considered it as I don't use a package manager. No idea how much work it would be to bundle

Re: ANN: dbext.vim version 26.00 - Database access from within Vim

2017-11-20 Thread David Fishburn
On Fri, Nov 17, 2017 at 6:22 PM, Philip Rhoades wrote: > This looks very interesting but even the tutorial is overwhelming - for a > quick start, what is the simplest way for me to connect to: > > /home/phil/src/ruby/sqlite.db > > and execute a query like: > >

Re: dbext: sql not executed

2017-11-17 Thread David Fishburn
Hello Wietse. Thanks for reaching out. On Fri, Nov 17, 2017 at 8:16 AM, wietse wrote: > > I'm having trouble getting `dbext` to work. I installed dbext_2500 from > https://vim.sourceforge.io/scripts/script.php?script_id=356. > > My vim version: > VIM - Vi IMproved 8.0 (2016

ANN: dbext.vim version 26.00 - Database access from within Vim

2017-11-17 Thread David Fishburn
What is it? --- dbext.vim : Provides database access to most databases. http://www.vim.org/scripts/script.php?script_id=356 This plugin contains functions/mappings/commands to enable Vim to access several databases. Currently Mysql, PostgreSQL, Ingres, Oracle, Sybase Adaptive Server

Re: dbext hangs with sqlplus connection

2017-08-11 Thread David Fishburn
On Fri, Aug 11, 2017 at 1:20 PM, Dan Wierenga wrote: > > Any update on this? > > Hey Dan. I have been working away at improving the async job support. I think I have made some good headway. Would you be willing to try a pre-release and do some testing for me. I will

Re: Configure DBext mac for SQLite

2017-08-08 Thread David Fishburn
> > > On Sun, Jul 23, 2017 at 5:43 PM, Brian Libgober > wrote: > >> ... >> select * from CIK limit 5; >> >> The error I get back >> >> Connection: T(SQLITE) D(/Users/brianlibgober/Dropbox >> /Collaborations/CleanMake/Main.sqlite) at 17:32 >> Error: near "<": syntax error >>

Re: dbext hangs with sqlplus connection

2017-08-04 Thread David Fishburn
On Fri, Aug 4, 2017 at 3:50 PM, Dan Wierenga wrote: > Hi, > > I'm using the dbext plugin, and trying to get the results from an Oracle > query. However, dbext never returns a result. The async job just runs > forever (hangs?), and without any output. > > Hmm, I am seeing

Re: Configure DBext mac for SQLite

2017-08-02 Thread David Fishburn
Glad you managed to get it working using DBI. I would like to resolve this issue though Brian. If there are any Mac users who might have some input into this I would appreciate it. Please read below. On Sun, Jul 23, 2017 at 5:43 PM, Brian Libgober wrote: > ... > select *

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: dbext version 20 does not prompt for connection profile

2017-07-17 Thread David Fishburn
> > > 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 from > the list of connections detailed in the vimrc when you

Re: dbext version 20 does not prompt for connection profile

2017-07-14 Thread David Fishburn
On Thu, Jul 13, 2017 at 8:24 AM, David Fishburn <dfishburn@gmail.com> wrote: > ... >> I have just discovered this old post but have run into the same problem >> with version 23.00 (just installed for the first time). The functionality >> works fine

Re: dbext version 20 does not prompt for connection profile

2017-07-13 Thread David Fishburn
> > ... > I have just discovered this old post but have run into the same problem > with version 23.00 (just installed for the first time). The functionality > works fine if I set a default profile but it will connect only to that > default and I am not prompted to choose among the several

Re: Maven errors spanning multiple lines

2017-05-19 Thread David Fishburn
On Fri, May 19, 2017 at 10:06 AM, David Fishburn <dfishburn@gmail.com> wrote: > My mvn compile returns some errors that are a single line, and some error > messages that span over multiple lines. > > ... > > " Java related build messages > CompilerSet erro

Maven errors spanning multiple lines

2017-05-19 Thread David Fishburn
My mvn compile returns some errors that are a single line, and some error messages that span over multiple lines. Single line: [ERROR] /C:/my/path/MyClass.java:[184,37] incompatible types: java.lang.String cannot be converted to java.lang.Integer Multi line (2 examples): [ERROR]

Maven errorformat on windows

2017-05-19 Thread David Fishburn
I have tried 2 different maven compiler plugins, both have the same issue, so I believe it is related to how the filename is returned from maven on windows. When I run mvn from the command line I get this output: [ERROR] /C:/my/path/to/MyClass.java:[178,26] cannot find symbol [ERROR] symbol:

Re: how to find out what the current vim's servername is?

2017-03-29 Thread David Fishburn
On Wed, Mar 29, 2017 at 10:39 AM, Charles E Campbell < drc...@campbellfamily.biz> wrote: > Hello: > > I've looked through the help for some way to find out what the current > gvim's server name is (in my case, under X). The serverlist() function > gives a list of all such server names, and one

Re: Matchit plugin modifying virtualedit

2017-03-21 Thread David Fishburn
> > ... > > I triggered it by simply hitting % on a { in a Java file. > > It's very possible that it's set somewhere else. The problem is that > the matchit plugin always sets it empty, also when it already was empty. > > let restore_options = " ve=" . . restore_options > set

Matchit plugin modifying virtualedit

2017-03-20 Thread David Fishburn
:ver VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Jan 24 2017 13:37:57) MS-Windows 32-bit GUI version with OLE support Included patches: 1-233 I have realized virtualedit keeps getting set on me, so I ran: :verbose set virtualedit? virtualedit=all Last set from

Re: viminfo file location for Vim 8

2017-03-09 Thread David Fishburn
On Wed, Mar 8, 2017 at 4:40 PM, Bram Moolenaar <b...@moolenaar.net> wrote: > > David Fishburn wrote: > > > On Thu, Jan 26, 2017 at 8:52 AM, David Fishburn <dfishburn@gmail.com > > > > wrote: > > > > > I use the following line in my vimrc (W

Re: Why is Menubar and Toolbar gone?

2017-03-07 Thread David Fishburn
On Tue, Mar 7, 2017 at 5:17 AM, Joey Ling wrote: > I uninstalled Vim and Reinstall it, the Menubar and Toolbar is gone! See > the Attachment! > > Depends on what your (g)vimrc settings are. These are controlled via guioptions. :h guioptions ... 'm' Menu bar is present.

Re: Sed substitution did not go as planned...

2017-02-05 Thread David Fishburn
On Sat, Feb 4, 2017 at 8:14 AM, Marcus Martinez < marcus.martinez@gmail.com> wrote: > ... > :1,10 s/^/--/ > > After running this command the beginning of lines 1 through 10 do have the > "--" correctly placed. However, the first character of each line in the > file is now highlighted (as

ANN: dbext.vim version 25.00 - Database access from within Vim

2017-01-30 Thread David Fishburn
What is it? --- dbext.vim : Provides database access to most databases. http://www.vim.org/scripts/script.php?script_id=356 This plugin contains functions/mappings/commands to enable Vim to access several databases. Currently Mysql, PostgreSQL, Ingres, Oracle, Sybase Adaptive Server

viminfo file location for Vim 8

2017-01-26 Thread David Fishburn
I use the following line in my vimrc (Windows): set viminfo=\"50,'500,:500,/500,h,f1,rA:,r$TEMP:,r$TMP:,r$TMPDIR:!,n$VIM/_viminfo For Vim 5,6,7 this works as expected and the _viminfo file is created in my $VIM root directory. When I upgraded to Vim 8, now the _viminfo is being created in

libiconv - Vim 8 - entry point not found

2016-11-18 Thread David Fishburn
I just compiled the latest of Vim 8 (8.0.92). My previous version was 8.0.46 (also compiled by my machine). When I start it up (gvim) I get a message box: "The procedure entry point libiconv could not be located in the dynamic link library c:\vim\vim80\libintl-8.dll" Has something (very)

Re: vim8 can't be set as default program in win7 pro

2016-10-05 Thread David Fishburn
On Wed, Oct 5, 2016 at 9:23 AM, dfab1954 wrote: > vim is not displayed in the dialog as one of the default applications > after browsing and selecting the vim executable. > > My old install of vim7.4 works but not vim8. > > Typically you must "Browse" to the executable the

ANN: dbext.vim version 24.00 - Database access from within Vim

2016-09-11 Thread David Fishburn
What is it? --- dbext.vim : Provides database access to most databases. http://www.vim.org/scripts/script.php?script_id=356 This plugin contains functions/mappings/commands to enable Vim to access several databases. Currently Mysql, PostgreSQL, Ingres, Oracle, Sybase Adaptive Server

Re: Compiling Vim GUI on Ubuntu

2016-09-08 Thread David Fishburn
On Thu, Sep 8, 2016 at 1:03 AM, Dominique Pellé <dominique.pe...@gmail.com> wrote: > David Fishburn wrote: > > ... > > > I assume configure failed for some reason, just looking for a heads up on > > how to check. > > You must be missing the libraries to b

Compiling Vim GUI on Ubuntu

2016-09-07 Thread David Fishburn
I have a script which builds Vim for me. Right now, it is only installing console Vim and not the GUI. uname -a Linux ubuntu-virtualbox 4.2.0-42-generic #49~14.04.1-Ubuntu SMP Wed Jun 29 20:22:11 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux It is a VM, I am not even certain what my Window manager

Re: dbext with DBI and SQLite

2016-09-07 Thread David Fishburn
On Wed, Sep 7, 2016 at 9:24 PM, Josef Fortier wrote: > I'm attempting to use DBI with SQLite and am seeing an error: > ... > I've tested with a simple perl connection with the same connection string > (driver=SQLite:dbname=db.sq3) which works. > > Looking at the help, I

Re: SQLUtilities / Align bug

2016-07-13 Thread David Fishburn
On Wed, Jul 13, 2016 at 1:45 PM, Paul <google1...@rainslide.net> wrote: > On Tuesday, 12 July, 2016 at 17:42:45 BST, David Fishburn wrote: > >> :echo g:loaded_sqlutilities >> 700 >> > > My apologies, I was apparently using version 6.00, which is the latest

Re: SQLUtilities / Align bug

2016-07-12 Thread David Fishburn
On Mon, Jul 11, 2016 at 2:43 PM, Paul <google1...@rainslide.net> wrote: > On Monday, 11 July, 2016 at 17:45:11 BST, David Fishburn wrote: > >> On Sun, Jul 10, 2016 at 2:36 PM, Paul <google1...@rainslide.net> wrote: >> That is intended to format 1 single SQL

Re: SQLUtilities / Align bug

2016-07-11 Thread David Fishburn
On Sun, Jul 10, 2016 at 2:36 PM, Paul wrote: > Using 7.4.2022, setting sqlutil_align_first_word to 0 causes Vim to hang > when SQLUFormatter is issued over a range. Control-c interrupts it, > whereupon it leaves many lines of "-@-". I've tested this with nothing but >

Re: dbext result window: column width size problem

2016-05-19 Thread David Fishburn
For the listeners: dbext.vim : Provides database access to many DBMS (Oracle, Sybase, Microsoft, MySQL, DBI,..) http://www.vim.org/scripts/script.php?script_id=356 > I'm using sqlite database and sometimes the column data width displayed > has the size of the column's name. I wanted to cut for a

Re: ftdetect for a new SQL dialect

2016-01-08 Thread David Fishburn
On Wed, Jan 6, 2016 at 9:59 AM, Nicola wrote: > I have defined my own PostgreSQL dialect and I would like to use it with > .pgsql files by default. Currently, I have this in my ftdetect/pgsql.vim: > >au BufNewFile,BufRead *.pgsql setfiletype sql | SQLSetType pgsql > >

ANN: dbext.vim version 23.00 - Database access from within Vim

2016-01-03 Thread David Fishburn
What is it? --- dbext.vim : Provides database access to most databases. http://www.vim.org/scripts/script.php?script_id=356 This plugin contains functions/mappings/commands to enable Vim to access several databases. Currently Mysql, PostgreSQL, Ingres, Oracle, Sybase Adaptive Server

Re: Switching syntax highlighting

2015-10-28 Thread David Fishburn
> > > Didn't quite follow what you are tying to do with whitespace. > > > ... > > I use this plugin: > > > > cream-showinvisibles : Toggle view of invisible tabs, returns, trailing > > spaces > > http://vim.sourceforge.net/scripts/script.php?script_id=363 > > > > > > Anytime I want to see that

Re: Switching syntax highlighting

2015-10-28 Thread David Fishburn
On Tue, Oct 27, 2015 at 7:52 PM, sycc wrote: > Hello all! > I'm trying to write a function for switching between the current buffer > syntax highlighting and whitespace, but I'm really new to vim scripting and > such and am having a hard time. > I switch to whitespace syntax

Re: vim and touch typing

2015-10-06 Thread David Fishburn
On Tue, Oct 6, 2015 at 1:44 PM, Josef Fortier wrote: > This online tutor is the best I've found: > > http://www.keybr.com/#!game > > - > > That is addictive! -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text

Re: Looking for a robust 'search for visual selection' implementation

2015-10-02 Thread David Fishburn
This is what I use: " See also: " http://vim.wikia.com/wiki/Search_for_visually_selected_text vnoremap * : \let old_reg=getreg('"') \let old_regmode=getregtype('"') \gvy/=substitute(substitute( \escape(@",

remote_send - client ids - all lost on busy server

2015-09-30 Thread David Fishburn
:ver VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Sep 23 2015 09:51:11) MS-Windows 32-bit GUI version with OLE support Included patches: 1-873 Thanks for all the help so far, I making it farther using the clientserver features of Vim. The general flow is this: 1. A different Vim instance

Re: Capitalizing SQL keywords

2015-09-29 Thread David Fishburn
> > > Thanks for the multiple suggestions. I particularly liked David > Fishburn's suggestion; I am now motivated to learn Vimscript to hack his > plugin to my particular formating fancy > The plugin is configurable (to a point), so feel free to start a dialogue on it. David -- -- You

Re: remote_read() never returns

2015-09-28 Thread David Fishburn
> > ... > It looks like for this to work, your "MyFunc" function will need to call > server2client() internally. The value you send with this function should be > received by your remote_read call. Is this how you MyFunc works, or are you > expecting to receive the return value instead? Note that

remote_read() never returns

2015-09-27 Thread David Fishburn
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Sep 23 2015 09:51:11) MS-Windows 32-bit GUI version with OLE support Included patches: 1-873 I am making a remote_send() call to a different server and I really want to get the value returned from the function I am calling. The help indicates I can do

Re: Bug: Inconsistent result with searchpair()?

2015-09-25 Thread David Fishburn
On Thu, Sep 24, 2015 at 1:22 AM, Christian Brabandt <cbli...@256bit.org> wrote: > Hi David! > > On Mi, 23 Sep 2015, David Fishburn wrote: > > > Christian, do you think it is worth putting together a reproducible > > that should work with basic Vim? > > Sure,

Bug: Inconsistent result with searchpair()?

2015-09-23 Thread David Fishburn
Windows 8.1 Vim 7.4.1-873 In one of my plugins I am seeing inconsistent behaviour with searchpair() When it runs, it returns 0, when the cursor is in the exact same position and I run it a second time, it correctly finds the matching ). When I run it myself from :echo searchpair() it always

Re: Bug: Inconsistent result with searchpair()?

2015-09-23 Thread David Fishburn
On Wed, Sep 23, 2015 at 12:24 PM, Christian Brabandt <cbli...@256bit.org> wrote: > > On Mi, 23 Sep 2015, David Fishburn wrote: > > > > > I am about to run this searchpair() function > > line 38: let indent_to = searchpair( '(', '', ')', 'W', 'synID(line >

Re: Capitalizing SQL keywords

2015-09-23 Thread David Fishburn
On Wed, Sep 23, 2015 at 3:09 PM, Sonny Chee wrote: > Hey Guys, > > I've defined a bunch of (SQL) keywords I would like to capitalize using > "abbreviate". This works great when I am typing in fresh new file. > > Is there a way to apply these abbreviations to an existing

Re: Bug: Inconsistent result with searchpair()?

2015-09-23 Thread David Fishburn
> > ... > When I choose :SQLSetType plsql.vim instead of :SQLSetType > sqlanywhere.vim, the problem also goes away. > > I take that back, if I use a more complex query with more ()s in it, using the runtime\syntax\plsql.vim, the same error is reported, just a little later on. So it seems that the

Re: Execute command on multiple ranges found by regex

2015-09-18 Thread David Fishburn
BOOMsicle (as my daughter would say) +100 ! -- -- 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 message because you are subscribed to

Re: syntax highlighting for sql: "Capability" is keyword

2015-09-14 Thread David Fishburn
> > > I'm coding for MS Access with SQL-92 support enabled. However, I > posted the question not so much about my specific situation, but > rather, why a simple web search seems to unearth no evidence of > Capability being a keyword in any dialect. Though it's not of direct > relevance to the

Re: Making matchit.vim work properly in angularjs

2015-09-11 Thread David Fishburn
On Fri, Sep 11, 2015 at 5:13 PM, 'Dave Land' via vim_use < vim_use@googlegroups.com> wrote: > On Sep 3, 2015, at 1:14 PM, Christian Brabandt wrote: > > ... > The answer was in :h matchit-details, specifically, > >"The pattern '<' comes first, so it is preferred over '',

i_CTRL-R to the end of current line (and related stuff)

2015-09-11 Thread David Fishburn
I routinely use i_CTRL-R CTRL-w while typing in a command and grabbing the contents of the current word my cursor is on. I wanted a few more options, for example, I wanted to grab from my cursor to the end of the line (i.e. y$). To do this of course I could y$, before typing the command, which I

Re: syntax highlighting for sql: "Capability" is keyword

2015-09-07 Thread David Fishburn
On Sun, Sep 6, 2015 at 7:48 PM, Paul wrote: > Why is "Capability" a key word? I haven't been able to find > evidence that it is a key word in an SQL dialect. > > What SQL database are you coding for? What SQL dialect are you using in Vim (the default is for Oracle).

Re: vim - how to enable searching in vim editor and finding/highlighting pattern that is only in non-commented block/line

2015-08-25 Thread David Fishburn
On Sun, Aug 23, 2015 at 7:02 PM, 'Annis Monadjem' via vim_use vim_use@googlegroups.com wrote: Hi, I am looking for a way to search in vim editor and to find text highlighted only for pattern found in non-commented blocks/lines. ... Is there a more productive way of

ANN: SrchRplcHiGrp version 7

2015-08-25 Thread David Fishburn
What is it? --- SrchRplcHiGrp.vim - Search and Replace based on a highlight group *http://www.vim.org/script.php?script_id=848 http://www.vim.org/script.php?script_id=848* SR = Search and/or Replace This plugin defines some commands to allow you to: 1. Search for characters with a

Re: DBext cursor jump after execution

2015-08-23 Thread David Fishburn
On Sat, Aug 22, 2015 at 11:47 AM, Josef Fortier josef.fort...@gmail.com wrote: My typical workflow with dbext: 1) Write a query 2) Visually select the block and execute the query (via leaderse) 3) Go back to edit the query repeat as needed. However something in my usage pattern, or

ANN: dbext.vim version 22.00 - Database access from within Vim

2015-08-10 Thread David Fishburn
What is it? --- dbext.vim : Provides database access to most databases. http://www.vim.org/scripts/script.php?script_id=356 This plugin contains functions/mappings/commands to enable Vim to access several databases. Currently Mysql, PostgreSQL, Ingres, Oracle, Sybase Adaptive Server

Re: dbext.vim bug: jumplist pollution caused by BufRead handler

2015-07-27 Thread David Fishburn
On Sun, Apr 12, 2015 at 4:43 PM, Justin M. Keyes justi...@gmail.com wrote: dbext's BufRead handler (and maybe others) adds a spurious mark at line 1 of each buffer. This is very annoying. Steps to reproduce: :h h :h a c-o The c-o step will go to the top of the file instead of the previous

helptag escaping

2015-07-24 Thread David Fishburn
I have the following in one of my documentation files for my plugin: autocmd BufRead */MyProjectDir/* DBSetOption variable=blah But when I run :helptags on that directory I get: E154: Duplicate tag /MyProjectDir/ in file c:\vim\vimfiles\doc/dbext.txt Any idea how to escape something so

Is www.vim.org down?

2015-07-16 Thread David Fishburn
I can't reach it. David -- -- 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 message because you are subscribed to the Google Groups

Re: how to get the function:line of calling script

2015-07-15 Thread David Fishburn
I'd forgotten about slnum and will look into using sfile for the stack. If you figure out how to use this in a script, please post, I have wanted this ability as well. Thanks, David -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below

Preventing Vim from loading files from arglist

2015-07-07 Thread David Fishburn
This is a specific scenario from a thread Ben and I have been having from the Diff mode via Tabs thread. What I would like to do is use Windows SendTo menu, which allows the user to choose n number of files and send them to Vim. Easy to do, create a SendTo item which has gvim.exe, highlight

Re: Diff mode via Tabs

2015-07-07 Thread David Fishburn
On Mon, Jul 6, 2015 at 11:02 AM, Ben Fritz fritzophre...@gmail.com wrote: On Monday, July 6, 2015 at 10:01:31 AM UTC-5, Ben Fritz wrote: On Friday, July 3, 2015 at 2:20:06 PM UTC-5, David Fishburn wrote: Now, what I _really_ want it to do is this: C:\Vim\vim74\gvim.exe --servername

Re: Diff mode via Tabs

2015-07-03 Thread David Fishburn
On Thu, Jun 18, 2015 at 11:31 AM, Ben Fritz fritzophre...@gmail.com wrote: ... (Adapted from a .bat file I use in my send to menu on Windows, for choosing files one at a time for diff). This is my first time trying to use Windows SendTo with Vim. I created a SendTo short cut and created

Catching swap file exists and dealing with it in code

2015-06-29 Thread David Fishburn
Windows 32bit Vim 7.4.1-729 My work flow is this. Have gVim open, editing a file. Flip over to my revision system (Perforce) and do a diff on the file to have a look at the changes I have made with what is currently in the repository. P4 just launches gvim -O -d %1 %2. I am writing my own

Re: Catching swap file exists and dealing with it in code

2015-06-29 Thread David Fishburn
On Mon, Jun 29, 2015 at 10:45 AM, Tim Chase v...@tim.thechases.com wrote: On 2015-06-29 10:25, David Fishburn wrote: What I want to be able to do is catch this message and deal with it in my own code and show a message. Sounds like you want to do things on the SwapExists event: Yes sir

Re: Diff mode via Tabs

2015-06-18 Thread David Fishburn
On Thu, Jun 18, 2015 at 2:57 AM, John Beckett johnb.beck...@gmail.com wrote: David Fishburn wrote: I use gVim for diffing from my source control system using: gvim.exe -O -d file1.txt file2.txt I avoid problems by working in Vim. I use some external tool to generate a list of files I want

Diff mode via Tabs

2015-06-17 Thread David Fishburn
Windows 8.1 64-bit using a 32-bit gVim 7.4.1-729. I use gVim for diffing from my source control system using: gvim.exe -O -d file1.txt file2.txt This works great. I was hoping to extend this a bit. When I diff a changelist, it runs the above command on all files in the changelist. This might

Re: Set highlight colours according to screen

2015-05-13 Thread David Fishburn
On Wed, May 13, 2015 at 4:17 PM, Paul paul.domas...@gmail.com wrote: My local laptop monitor isshall we say, different from an external monitor. I find that I have to adjust the screen colours. However, I switch between the native monitor and an external monitor a lot. In vim, is there

Re: Vim completion using reverse engineering Eclipse

2015-03-06 Thread David Fishburn
On Tue, Mar 3, 2015 at 4:42 PM, Marc Weber marco-owe...@gmx.de wrote: Excerpts from David Fishburn's message of Tue Mar 03 21:22:47 + 2015: I am hoping someone on this list has a passing familiarity with Eclipse. Lookup eclim.org project I had looked into eclim at one point before but

Re: How to cancel [count] prefix?

2015-03-03 Thread David Fishburn
... The only solution for Visual mode i've found so far is to press '@_'. Is there a better way? ... The @_ is a nice trick though (files that away). ... Okay, I have tried: :h @ :h @_ :h registers :h \@_ I have tried it after visually selecting some text. I can't figure out what

Vim completion using reverse engineering Eclipse

2015-03-03 Thread David Fishburn
I am hoping someone on this list has a passing familiarity with Eclipse. Eclipse knows how to complete lots of different languages. Vim already has XML / HTML completion and Mikolaj made it generic enough so that I can use the same gear for other languages. Eclipse already knows which tags and

Re: Capturing setting ro/noro

2015-02-26 Thread David Fishburn
On Thu, Feb 26, 2015 at 12:17 PM, Salman Halim salmanha...@gmail.com wrote: On Feb 26, 2015 11:36 AM, Tim Chase v...@tim.thechases.com wrote: On 2015-02-26 12:01, Christian Brabandt wrote: I had to dismiss a solution based on CursorHold as it isn't immediate. Sadly there is no

Re: dbext without a password

2015-02-25 Thread David Fishburn
On Wed, Feb 25, 2015 at 12:02 PM, Paul google1...@rainslide.net wrote: On Sunday, 22 February, 2015 at 17:42:55 GMT, David Fishburn wrote: Outside of dbext, can you concoct a mysql command line that does what you want without using a password. That usually helps when coming up

Re: dbext without a password

2015-02-22 Thread David Fishburn
On Sun, Feb 22, 2015 at 11:37 AM, Paul google1...@rainslide.net wrote: How can I use dbext.vim without a MySQL password? I've tried using let g:dbext_default_profile_mySQL = 'type=MYSQL:user=root:dbname=test' and let g:dbext_default_profile_mySQL = 'type=MYSQL:user=root:passwd=:

Re: Regex to find case differences

2015-02-06 Thread David Fishburn
... You've got a couple options depending on what you want to do with them. You can use a decorate-those-that-match approach such as :g/^\(\S*\)\s\+\\1\/sil! Thanks Tim, I didn't release we could use the \1 that way. Once again I just assumed it could only be used in the replacement

Re: dbext 20.0 pgsql cmd_terminator not set to ; for pgsql

2015-02-04 Thread David Fishburn
On Wed, Feb 4, 2015 at 1:22 PM, Brandon Humpert brandon.hump...@gmail.com wrote: I am also having this issue. DBSetOption works, but anything in the .vimrc (connection profile and dbext_default_PGSQL_cmd_terminator=';') seems to be discarded. Is there any news on the release of 21.0? Just

ANN: dbext.vim version 21.00 - Database access from within Vim

2015-02-04 Thread David Fishburn
What is it? --- dbext.vim : Provides database access to most databases. http://www.vim.org/scripts/script.php?script_id=356 This plugin contains functions/mappings/commands to enable Vim to access several databases. Currently Mysql, PostgreSQL, Ingres, Oracle, Sybase Adaptive Server

Re: dbext 20.0 pgsql cmd_terminator not set to ; for pgsql

2015-01-29 Thread David Fishburn
On Thu, Jan 29, 2015 at 11:55 AM, martinosis chab...@gmail.com wrote: When I execute a multiple line query under the cursor for a Postgresql query, dbext only picks up the current line. I order to fix this I have to use to following command each time that i start vim: :DBSetOption

  1   2   3   4   5   >