All Projects → szymonmaszke → Vimpyter

szymonmaszke / Vimpyter

Licence: mit
Edit your Jupyter notebooks in Vim/Neovim

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Vimpyter

Cocalc
CoCalc: Collaborative Calculation in the Cloud
Stars: ✭ 888 (+188.31%)
Mutual labels:  markdown, jupyter-notebook, jupyter
Markdown Preview.vim
⚠️ PLEASE USE https://github.com/iamcco/markdown-preview.nvim INSTEAD
Stars: ✭ 764 (+148.05%)
Mutual labels:  markdown, plugin, neovim
Sublimetext Markdown Preview
markdown preview and build plugin for sublime text 2/3
Stars: ✭ 2,337 (+658.77%)
Mutual labels:  markdown, plugin
Football Crunching
Analysis and datasets about football (soccer)
Stars: ✭ 252 (-18.18%)
Mutual labels:  jupyter-notebook, jupyter
Icsharp
C# kernel for Jupyter
Stars: ✭ 263 (-14.61%)
Mutual labels:  jupyter-notebook, jupyter
Awesome Scientific Writing
⌨️ A curated list of awesome tools, demos and resources to go beyond LaTeX
Stars: ✭ 162 (-47.4%)
Mutual labels:  markdown, jupyter-notebook
Markdown Preview.nvim
markdown preview plugin for (neo)vim
Stars: ✭ 2,858 (+827.92%)
Mutual labels:  markdown, neovim
Spark Jupyter Aws
A guide on how to set up Jupyter with Pyspark painlessly on AWS EC2 clusters, with S3 I/O support
Stars: ✭ 259 (-15.91%)
Mutual labels:  jupyter-notebook, jupyter
Neuron.vim
📝 Manage your Zettelkasten in {n}vim.
Stars: ✭ 84 (-72.73%)
Mutual labels:  markdown, neovim
Flow Netbeans Markdown
Markdown file support for the NetBeans IDE
Stars: ✭ 276 (-10.39%)
Mutual labels:  markdown, plugin
Gophernotes
The Go kernel for Jupyter notebooks and nteract.
Stars: ✭ 3,100 (+906.49%)
Mutual labels:  jupyter-notebook, jupyter
Gen tags.vim
Async plugin for vim and neovim to ease the use of ctags/gtags
Stars: ✭ 288 (-6.49%)
Mutual labels:  plugin, neovim
Sonar Cnes Report
Generates analysis reports from SonarQube web API.
Stars: ✭ 145 (-52.92%)
Mutual labels:  markdown, plugin
Honkit
📖 HonKit is building beautiful books using Markdown - Fork of GitBook
Stars: ✭ 1,901 (+517.21%)
Mutual labels:  markdown, plugin
Bullets.vim
🔫 Bullets.vim is a Vim/NeoVim plugin for automated bullet lists.
Stars: ✭ 199 (-35.39%)
Mutual labels:  markdown, neovim
Vim Gfm Syntax
GitHub Flavored Markdown syntax highlight extension for Vim
Stars: ✭ 91 (-70.45%)
Mutual labels:  markdown, plugin
Spacy Notebooks
💫 Jupyter notebooks for spaCy examples and tutorials
Stars: ✭ 255 (-17.21%)
Mutual labels:  jupyter-notebook, jupyter
Notebook As Pdf
Save Jupyter Notebooks as PDF
Stars: ✭ 290 (-5.84%)
Mutual labels:  jupyter-notebook, jupyter
Starter Academic
🎓 Easily create a beautiful academic résumé or educational website using Hugo, GitHub, and Netlify
Stars: ✭ 1,158 (+275.97%)
Mutual labels:  markdown, jupyter-notebook
Godot Engine.file Editor
A Godot Engine addon that adds a File Editor for multiple file types editing. Create and Write plain text files, configuration files and csv files with custom visualizers and previews. Also supports file translations!
Stars: ✭ 70 (-77.27%)
Mutual labels:  markdown, plugin

Work on the next version began, post your feature ideas here

vimpyter

  • Input/output cells are displayed using custom syntax file and folding.
  • See your edits by starting Jupyter Notebook/Nteract application with single command/mapping (just remember to save your modifications). You may have to reload browser page/app to see the effects.
  • To see other features click here

Demo

gif

Jupyter preview & more

Installation

Vim8 or Neovim is required (asynchronous features)

Install required external dependency:

Install plugin using plugin manager like vim-plug or Vundle:

Plug 'szymonmaszke/vimpyter' "vim-plug
Plugin 'szymonmaszke/vimpyter' "Vundle

If you want to use different plugin manager/direct instalation please do refer to their respective repositories/documentation.

Configuration

Plugin provides some convenience commands:

  • VimpyterStartJupyter: asynchronously starts jupyter notebook instance from Vim/Neovim
  • VimpyterStartNteract: asynchronously starts nteract instance from Vim/Neovim
  • VimpyterInsertPythonBlock: inserts block of python code (see Demo)

Example mappings (put this in your .vimrc/init.vim):

autocmd Filetype ipynb nmap <silent><Leader>b :VimpyterInsertPythonBlock<CR>
autocmd Filetype ipynb nmap <silent><Leader>j :VimpyterStartJupyter<CR>
autocmd Filetype ipynb nmap <silent><Leader>n :VimpyterStartNteract<CR>

To see all available flags/commands refer to vim's documentation

Options

Following options are provided:

  • g:vimpyter_color: display command line output in colour (0 or 1)
  • g:vimpyter_jupyter_notebook_flags: string describing flags passed to Jupyter notebook
  • g:vimpyter_nteract_flags: string describing flags passed to nteract app
  • g:vimpyter_view_directory: directory where proxy files are created (default: $TMP)

For detailed description type in your editor :help vimpyter-options

Integrations with other plugins

Currently supported plugins:

You can request additional integrations or create them on your own (pull requests are welcomed).

Contributors wanted!

Things you could do to improve this software:

Integrations with other plugins:

  • davidhalter/jedi-vim: Things like go to definition and documentation, maybe autocompletion (available as choice instead of deoplete-jedi).
  • w0rp/ale: Linting/fixing of .ipynb file. Using linters like flake8 from python or maybe custom made linter/fixer specifically for .ipynb file.

Other improvements:

  • Automatically update notebook on save: See this issue for more informations
  • Completion from ipython console: It may be faster to use this one. Check jonathanslenders/ptpython for possibilities.

Known bugs

If you find other bugs please post an issue. If you want to improve this software do not hesitate to cooperate!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].