Wikia

Vim Tips Wiki

Script:1849

Talk0
1,612pages on
this wiki
Revision as of 01:52, December 8, 2011 by 114.32.70.3 (Talk)

Use this page to discuss script 1849 AutoClose: insert matching bracket, paren, brace or quote

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on vim.org).
  • This page may be out of date: check the script's vim.org page above, and its release notes.

Comments

Thanks Karl Guertin for creating such a useful plugin, I like it!
I've one tip for improvement: can we define our own paired character?

--

This plugin is great! But i've one tip for improvement:

When deleting a previously typed brace, the automatically added brace doesn't get deleted. so if you type a wrong brace by mistake, you also have to delete the automatically inserted one. never mind, it's working now.

--

Hi man !

Another improvement i'd like to see implemented:

After typing the brace (or any other element that will auto close) the cursos only jumps to the closing brace if I type <ESC>, but it doesn't do that when I type <CTRL>+C, which does the same as <ESC> and is a faster combination to type.

Thanks from Brazil for the plugin! And I'm sorry about my english... :D

--

Hi. Two bugs I found after using this great plugin for a while:

1. In INSERT mode, press any of the arrow keys, it prints one of letters A, B, C, D. I see these are the ANSI escape sequences for the arrow keys, e.g. "\033[A" is the up arrow key.

Are you sure this is the plugin's fault? What happens if you actually press the arrow keys? Usually this problem occurs because your terminal is misconfigured. Luckily, it is easy to fix the arrow keys in terminal Vim.

2. Occasionally, I get this error when pressing the toggle keybinding, which is <leader>a:

Error detected while processing function <SNR>25_ToggleAutoCloseMappings:
line 10:
E31: No such mapping
line 11:
E31: No such mapping

I just kept doing <leader>a to reproduce this error.

Around Wikia's network

Random Wiki