Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Autoclose plugin breaks abbreviations expansion
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Matteo Riva  
View profile  
 More options Sep 5 2012, 9:37 am
From: Matteo Riva <mura...@gmail.com>
Date: Wed, 5 Sep 2012 15:37:43 +0200
Local: Wed, Sep 5 2012 9:37 am
Subject: Autoclose plugin breaks abbreviations expansion
I have installed the vim autoclose plugin[1] which is quite useful but
due to the remapping of <Space> now insert mode abbreviations aren't
expanded anymore (must do it with CTRL-]).

Is it possible to have both functionalities together?

  [1] http://www.vim.org/scripts/script.php?script_id=2009


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christian Brabandt  
View profile  
 More options Sep 5 2012, 9:49 am
From: "Christian Brabandt" <cbli...@256bit.org>
Date: Wed, 5 Sep 2012 15:49:38 +0200
Local: Wed, Sep 5 2012 9:49 am
Subject: Re: Autoclose plugin breaks abbreviations expansion

On Wed, September 5, 2012 15:37, Matteo Riva wrote:
> I have installed the vim autoclose plugin[1] which is quite useful but
> due to the remapping of <Space> now insert mode abbreviations aren't
> expanded anymore (must do it with CTRL-]).

> Is it possible to have both functionalities together?

>   [1] http://www.vim.org/scripts/script.php?script_id=2009

Are you sure it is autocloses fault? This plugin doesn't remap <space>
for me.

regards,
Christian


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matteo Riva  
View profile  
 More options Sep 5 2012, 9:54 am
From: Matteo Riva <mura...@gmail.com>
Date: Wed, 5 Sep 2012 15:54:16 +0200
Local: Wed, Sep 5 2012 9:54 am
Subject: Re: Autoclose plugin breaks abbreviations expansion

On Wed, Sep 5, 2012 at 3:49 PM, Christian Brabandt <cbli...@256bit.org> wrote:
> Are you sure it is autocloses fault? This plugin doesn't remap <space>
> for me.

It does (line 456 of plugin/AutoClose.vim):

  inoremap <buffer> <silent> <Space>      <C-R>=<SID>Space()<CR>

also if I disable the plugin, abbreviations work fine.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christian Brabandt  
View profile  
 More options Sep 5 2012, 10:00 am
From: "Christian Brabandt" <cbli...@256bit.org>
Date: Wed, 5 Sep 2012 16:00:15 +0200
Local: Wed, Sep 5 2012 10:00 am
Subject: Re: Autoclose plugin breaks abbreviations expansion

On Wed, September 5, 2012 15:54, Matteo Riva wrote:
> On Wed, Sep 5, 2012 at 3:49 PM, Christian Brabandt <cbli...@256bit.org>
> wrote:
>> Are you sure it is autocloses fault? This plugin doesn't remap <space>
>> for me.

> It does (line 456 of plugin/AutoClose.vim):

>   inoremap <buffer> <silent> <Space>      <C-R>=<SID>Space()<CR>

> also if I disable the plugin, abbreviations work fine.

This must be a differen AutoClose plugin not the one you mentioned
in your first message:
http://www.vim.org/scripts/script.php?script_id=2009

This only has 189 lines (and doesn't remap <space>).

regards,
Christian


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matteo Riva  
View profile  
 More options Sep 5 2012, 10:06 am
From: Matteo Riva <mura...@gmail.com>
Date: Wed, 5 Sep 2012 16:06:34 +0200
Local: Wed, Sep 5 2012 10:06 am
Subject: Re: Autoclose plugin breaks abbreviations expansion

On Wed, Sep 5, 2012 at 4:00 PM, Christian Brabandt <cbli...@256bit.org> wrote:
> This must be a differen AutoClose plugin not the one you mentioned
> in your first message:
> http://www.vim.org/scripts/script.php?script_id=2009

> This only has 189 lines (and doesn't remap <space>).

You are right, there are apparently two plugins with that name and I'm
using this one: https://github.com/Townk/vim-autoclose

I might try the other one, although the automatic insertion of space is
nice.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christian Brabandt  
View profile  
 More options Sep 5 2012, 10:13 am
From: "Christian Brabandt" <cbli...@256bit.org>
Date: Wed, 5 Sep 2012 16:13:51 +0200
Local: Wed, Sep 5 2012 10:13 am
Subject: Re: Autoclose plugin breaks abbreviations expansion

On Wed, September 5, 2012 16:06, Matteo Riva wrote:
> On Wed, Sep 5, 2012 at 4:00 PM, Christian Brabandt <cbli...@256bit.org>
> wrote:
>> This must be a differen AutoClose plugin not the one you mentioned
>> in your first message:
>> http://www.vim.org/scripts/script.php?script_id=2009

>> This only has 189 lines (and doesn't remap <space>).

> You are right, there are apparently two plugins with that name and I'm
> using this one: https://github.com/Townk/vim-autoclose

> I might try the other one, although the automatic insertion of space is
> nice.

I have no access to github currently, but you could open an issue
at github, requesting that the mapping of space should always prepend a
<c-]> to expand abbreviations (this needs at least patch 7.3.489, otherwise
it is quite un-useful).

regards,
Christian


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »