Giter Club home page Giter Club logo

Comments (9)

xanderdunn avatar xanderdunn commented on May 23, 2024

@carlobaldassi It looks like the bit about neq can be ignored. It's defined as ne, which works the same as all the other defined symbols:
screen shot 2015-11-29 at 16 23 01

So, the issue is simply that it looks like the escape sequence to get out of completion mode isn't working in neovim, hence the <91>.

from julia-vim.

carlobaldassi avatar carlobaldassi commented on May 23, 2024

Thanks for the report, I'll have to try out neovim and see what can be done.

from julia-vim.

carlobaldassi avatar carlobaldassi commented on May 23, 2024

I just installed neovim and I can't reproduce the problem, everything works in my setup.
Could you provide more details about your system? In particular, the OS, the neovim version (I just cloned the most recent from github) and possibly a minimal nvim/init.vim for which you see the problem.

Did you maybe try this with vim as well?

from julia-vim.

xanderdunn avatar xanderdunn commented on May 23, 2024

@carlobaldassi Thanks for looking at this. I've also installed neovim from HEAD on GitHub. It's version:

NVIM 0.1.0-dev (compiled Nov 29 2015 21:04:24)
Commit: 7d42e9b7e8169da45e32c415babc27b197a26f8a

After doing a binary search commenting out lines in my init.vim, I discovered it was specifically this line and no more or less that caused it:
"inoremap <silent> <c-h> <Esc>:TmuxNavigateLeft<cr>I

Wow! These are commands I use to navigate between tmux panes from within vim from this plugin. Does this make any sense to you?

from julia-vim.

carlobaldassi avatar carlobaldassi commented on May 23, 2024

Good catch. It doesn't make sense to me but I can reproduce this, even in vim. I'll investigate.

from julia-vim.

carlobaldassi avatar carlobaldassi commented on May 23, 2024

Ok I found out what happens. In vim, <C-H> in insert mode is the same as backspace \b. The auto-L2U code uses \b (the escape sequence inserts a character and then deletes it), and that's what triggers the problem.
I assume you don't use backspace in your workflow (if you did, it should call your tmux navigation code).
I'm not sure how to get out of this. I'll see if I can come up with some way to avoid using \b.

from julia-vim.

xanderdunn avatar xanderdunn commented on May 23, 2024

@carlobaldassi

Very cool, thanks.

from julia-vim.

carlobaldassi avatar carlobaldassi commented on May 23, 2024

Should be fixed now. I just forgot an option in the feedkeys call to avoid remapping.

from julia-vim.

xanderdunn avatar xanderdunn commented on May 23, 2024

I updated my plugin and it works even with my Tmux key mapping. Many thanks!

from julia-vim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.