Giter Site home page Giter Site logo

Comments (6)

jalvesaq avatar jalvesaq commented on June 26, 2024

Note: I almost never use any REPL other than R. That is, I almost never use vimcmdline. That said, I installed and tested ipython in a Neovim buffer, and noted that it has Normal and Insert modes, like Vim.
I noted this because when sending %cpaste ipython actually only "receives" ste, as Vim would do if it was in Normal mode.

If I send to ipython a line containing only the letter a, it enters Insert mode and, then, I can send commands normally. If it is not in Insert mode, nothing works, including sending

%cpaste -q
The_Python_line
--

So, it seems that users have to make sure that ipython is in Insert mode before sending commands to it.

from vimcmdline.

alok avatar alok commented on June 26, 2024

I use it in emacs mode actually, since nested modes are a pain. In emacs mode, I still run into issues.

from vimcmdline.

jalvesaq avatar jalvesaq commented on June 26, 2024

Is https://github.com/ivanov/vim-ipython a better alternative than vimcmdline for ipython? I did not install it.

from vimcmdline.

1o0ko avatar 1o0ko commented on June 26, 2024

@jalvesaq vim-ipython is a little cumbersome. It requires you to open ipython kernel/console beforehand.

from vimcmdline.

alok avatar alok commented on June 26, 2024

I've not used vim-ipython, so I can't really speak to that.

from vimcmdline.

jalvesaq avatar jalvesaq commented on June 26, 2024

The incompatibility between vimcmdline and ipython was discussed at #18, and there is no solution for it (so, I'm closing this issue).

from vimcmdline.

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.