Skip to content

A two-way integration between Vim and Jupyter Kernels. Main development of this plugin happens on:

Notifications You must be signed in to change notification settings

szkny/jupyter-vim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jupyter-Vim

A vim plugin for developing python code without leaving the terminal.

Installation

If you don't have a preferred installation method, I recommend installing pathogen.vim, and then run:

    $ cd ~/.vim/bundle
    $ git clone https://github.com/broesler/jupyter-vim.git

Once help tags have been generated, you can view the manual with :help jupyter-vim.

Quickstart

To begin:

	$ jupyter qtconsole &  # open a jupyter console window
	$ vim <your_script>.py

In vim: :JupyterConnect

Then, use :JupyterRunFile, or :[range]JupyterSendRange to execute lines of code!

Info

Once I fell in love with Vim, I couldn't bear having to jump back and forth between the ipython/jupyter console and editor anymore. I modeled this simple interface off of the ideas in vim-ipython, but have pared down many of the features, like the replication of the Jupyter console in a vim buffer, to make the plugin much more 'lightweight'.

Still a work in progress!

CONTRIBUTING

Please feel free to contact me at [email protected], with the subject line: "[jupyter-vim]: Contributing".

CREDITS

I owe significant thanks to the original developer of this plugin: Paul Ivanov, as well as Marijn van Vliet. It is far easier to update something that already works well than to forge a new path from scratch.

About

A two-way integration between Vim and Jupyter Kernels. Main development of this plugin happens on:

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 77.7%
  • Vim Script 22.3%