Raimondi / delimitMate

Vim plugin, provides insert mode auto-completion for quotes, parens, brackets, etc.
http://www.vim.org/scripts/script.php?script_id=2754
1.98k stars 117 forks source link

use only <Plug>delimitMateS-Tab to jump and disable closing delimiter or quote jumps out of delimiters #220

Open Naitreey opened 9 years ago

Naitreey commented 9 years ago

Sorry if this new issue looks similar to the previous one as I originally thought that they are related issues.

Here is the problem I wish to solve:

I want to disable the feature that typing closing delimiter jumps out of the delimiters. And I only want my mapping of <Plug>delimitMateS-Tab to do this job.

For example, if I have the following delimiters and | is cursor position:

(| )

Then I wish to insert a right parenthesis at the cursor position. But typing ) will jumps out of the parenthesis pair altogether like so:

( )|

The similar things happen to all delimiters and quotes. Generally, I wish not to use ), ] } " etc., to jump out of their respective delimiter pairs. I just want to use a custom mapping of <Plug>delimitMateS-Tab to accomplish this.

So can I disable this closing-delimiters-jumping-out feature altogether?

Thank you (again) for your time and guidance.