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

function! delimitMate#JumpAny(...) not working on Mac #218

Open fobbyal opened 9 years ago

fobbyal commented 9 years ago

I use a mac book. 7.4.488 in the terminal 7.4.258 in mvim I initially found the problem thinking that may be mapping is not there however it was not the case. I used :execute "normal \<Plug>delimitMateS-Tab" and it did not do anything for me. Then i tried to dig in the code a little bit and found that <Plug>delimitMateS-Tab was calling delimitMate#JumpAny(...) . Long story short I traced it down to the following code ins:is_jump(...)

    if !s:get('jump_expansion')
        return 0
    endif

My ability with vim script more or less stops here. (You can image my expression when I saw the flood of results coming out of s:get when I put a few lines of echom 'got here ' ) I just started my vim transition about a month ago and have no idea how to write vimscript.

The feature works 100% on my windows machines it is just the mac book that is having the issue. There may be a very simple fix for this but I've spend a decent amount of time without a solution. I would be very happy if you can point me to the right direction. I've done some google search and they did no seem to have helped.

Thank you for all of you hard work on this plugin.