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 116 forks source link

jumping with <s-tab> and <c-g>g doesn't work when both delimitMate_expand_cr and delimitMate_jump_expansion are set #275

Open grr opened 6 years ago

grr commented 6 years ago

This is similar to #222, which the reporter closed without comment, so it's unclear if or how that was resolved.

with:

function() {
    function() {
        |
    }
};

shift-tab results in:

function() {
    function() {

        |  }
};

also, <c-g>g has no effect in this case.

tested on terminal vim and macvim 8..0.1633 with only delimitMate and pathogen installed. relevant settings: let g:delimitMate_expand_cr = 1 let g:delimitMate_jump_expansion = 1