No, sorry for this abrupt assertion but indentation is no good in this
case. That's why there are many plugins based on expr. Folding is simply
too rigid for this job.
I just want to write a wrapper function to fold those long ducts. Any
thoughts?
On Feb 10, 2015 10:15 AM, "Tim Chase" wrote:
> O
On 10 Feb 2015, at 18:17, John Culleton wrote:
> On Tue, 10 Feb 2015 17:56:29 +
> Andrew Long wrote:
>
>> On 10 Feb 2015, at 15:57, John Culleton wrote:
>>>
>>
>> I've had problems with COBOL.vim if smarttabs
>> are switched on, after starting a new line. The
>> problem is that the smart ta
On 10 Feb 2015, at 18:17, John Culleton wrote:
> On Tue, 10 Feb 2015 17:56:29 +
> Andrew Long wrote:
>
>> On 10 Feb 2015, at 15:57, John Culleton wrote:
>>>
>>
>> I've had problems with COBOL.vim if smarttabs
>> are switched on, after starting a new line. The
>> problem is that the smart ta
On Wednesday, February 11, 2015 at 4:48:12 AM UTC+13, Paul wrote:
> I'm using Cygwin's X-windows.
Seems like you have an insufficiently visible cursor. In gvim I use
set guicursor=n-c:hor20,v:hor25,ve:ver35,o:hor50,i-ci:ver25,
\r-cr:hor35-ErrorMsg,sm:block
" this look
Paul gmail.com> writes:
> Erik Christiansen internode.on.net> writes:
>|On 10.02.15 04:15, Paul wrote:
>|> I don't suppose that some kind vim-script savvy soul could suggest
>|> how one might other windows from flashing, i.e., have only the
>|> window with the focus flash?
>|
>| Well, if you're
On Tue, 10 Feb 2015 10:03:21 -0800
Gary Johnson wrote:
> On 2015-02-10, John Culleton wrote:
>
> > In any case cobol.vim should be fixed for all
> > users. Rather than trying to chase down the
> > maintainer myself I thought I would ask here.
> >
> > Maybe there isn't a current maintainer
> >
On Tue, 10 Feb 2015 17:56:29 +
Andrew Long wrote:
> On 10 Feb 2015, at 15:57, John Culleton wrote:
> > There is an annoying error in cobol.vim when
> > used with the traditional layout (i.e. first
> > 6 columns reserved for a line number and all
> > statements in upper case.) The occurrence o
I'd go with an autocommand:
`au BufEnter * silent! edit!`
That, of course, requires you to write changes when you
leave the buffer (e.g. also through an autocommand).
-Nathan
--
/"\ ASCII Ribbon Campaign
\ / - against HTML emails
X - against proprietory attachments
/ \ http://en.wikipedia
On 2015-02-10 09:57, Ben Fritz wrote:
> On Monday, February 9, 2015 at 10:37:33 PM UTC-6, Bao Niu wrote:
> > I'm looking for a plugin in that can fold something like this:
> >
> > config = {
> > '/': {
> > 'tools.db.on': True
> > },
> > "/UI_JS": {
> > "tools.static
On 2015-02-10, John Culleton wrote:
> In any case cobol.vim should be fixed for all users. Rather than
> trying to chase down the maintainer myself I thought I would ask
> here.
>
> Maybe there isn't a current maintainer (gloomy thought.)
Tim Pope didn't respond to e-mail? His address is at t
On Tuesday, February 10, 2015 at 2:22:35 AM UTC-6, Enno wrote:
> Hello,
>
> There is a thread on StackOverflow labelled
>
> "How to get visually selected text in VimScript"
>
> The naive and stable approach would be
>
> let old_reg = @v
> normal! gv"vy
> let raw_search = @v
> let @v = o
On Monday, February 9, 2015 at 10:39:09 PM UTC-6, Bao Niu wrote:
> Is there a function/variable in Vim that tell you what the biggest foldlevel
> number is in a buffer? When I set FoldLevel I often need to try many times
> before it shows any effects, because the current foldlevel is way bigger t
On 10 Feb 2015, at 15:57, John Culleton wrote:
> There is an annoying error in cobol.vim when used
> with the traditional layout (i.e. first 6 columns
> reserved for a line number and all statements in
> upper case.) The occurrence of the IF verb causes
> the statement containing it to be red highl
On Monday, February 9, 2015 at 10:37:33 PM UTC-6, Bao Niu wrote:
> I'm looking for a plugin in that can fold something like this:
>
> config = {
> '/': {
> 'tools.db.on': True
> },
> "/UI_JS": {
> "tools.staticdir.on": True,
> "tools.staticdir.root": os.path
Hello,
I would like to edit the same file between multiple vim instances. I already
saw http://www.vim.org/sponsor/vote_results.php #11, which would simply answer
this use case.
However, I would like to find a solution before this feature maybe arrive.
What I want to achieve is the following:
There is an annoying error in cobol.vim when used
with the traditional layout (i.e. first 6 columns
reserved for a line number and all statements in
upper case.) The occurrence of the IF verb causes
the statement containing it to be red highlighted
as a syntax error.
As a result I have to turn off
Erik Christiansen internode.on.net> writes:
|On 10.02.15 04:15, Paul wrote:
|> I don't suppose that some kind vim-script savvy soul could suggest
|> how one might other windows from flashing, i.e., have only the
|> window with the focus flash?
|
| Well, if you're using gnome, then the simplest po
On 10.02.15 04:15, Paul wrote:
> I don't suppose that some kind vim-script savvy soul could suggest how
> one might other windows from flashing, i.e., have only the window with
> the focus flash?
Well, if you're using gnome, then the simplest pointer location method
is to GUI select:
System->Pref
Hello,
There is a thread on StackOverflow labelled
"How to get visually selected text in VimScript"
The naive and stable approach would be
let old_reg = @v
normal! gv"vy
let raw_search = @v
let @v = old_reg
return raw_search
but that only works if `set nosecure`. If `set secure` then
19 matches
Mail list logo