Git Product home page Git Product logo

iron.nvim's Introduction

iron.nvim

CircleCI Maintainability

Interactive Repls Over Neovim

Support iron.nvim

Support iron.nvim development by sending me some bitcoins at 1Dnb3onNAc4XK4FL8cp7NAQ2NFspTZLNRi. Cheers!

What is iron.nvim

Iron is both a plugin and a library to allow users to deal with repls.

It keeps mechanisms to track REPLs for different file types and bindings to send data directly from the current buffer to it.

It is build on top of neovims terminal feature. The default terminal keybindings are kept for the terminal, meaning that to exit the insert mode, you need to use <C-\><C-N>.

How to configure

Create a lua configuration file on your ~/.config/nvim folder (for example named plugins.lua) like this:

local iron = require('iron')

iron.core.add_repl_definitions {
  python = {
    mycustom = {
      command = {"mycmd"}
    }
  },
  clojure = {
    lein_connect = {
      command = {"lein", "repl", ":connect"}
    }
  }
}

iron.core.set_config {
  preferred = {
    python = "ipython",
    clojure = "lein"
  }
}

And on your init.vim, simply do the following:

luafile $HOME/.config/nvim/plugins.lua

Important notice

The python remote plugin mechanism was dropped and removed from master. The latest commit containing it was ead377f.

If you want to use that instead, please for the repository or use the stale branch legacy for that.

iron.nvim's People

Contributors

akuhnregnier avatar alok avatar bpetri avatar calopter avatar cmcaine avatar doubleloop avatar f3fora avatar gcballesteros avatar hhoeflin avatar hkupty avatar hyunggyujang avatar ianliu avatar jduc avatar jrolfs avatar lucc avatar lugoues avatar lunik1 avatar mike325 avatar mtikekar avatar nicodebo avatar p10q avatar randomizedthinking avatar resolritter avatar rickysaurav avatar spencerwi avatar travonted avatar tsfoster avatar wbthomason avatar xvrdm avatar zegervdv avatar

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.