local ok, iron = pcall(require, "iron.core") if not ok then return end iron.setup({ config = { highlight_last = "IronLastSent", -- If iron should expose `(...)` mappings for the plugins should_map_plug = false, -- Whether a repl should be discarded or not scratch_repl = true, close_window_on_exit = true, -- Your repl definitions come here repl_definition = { sh = { command = { "zsh" }, }, javascript = { command = { "node" }, }, php = { command = { "sail", "tinker" }, }, }, repl_open_cmd = "rightbelow vertical 100 split", -- how the REPL window will be opened, the default is opening -- a float window of height 40 at the bottom. }, keymaps = { send_motion = "sc", visual_send = "sc", send_line = "sl", repeat_cmd = "s.", cr = "s", interrupt = "s", exit = "sq", clear = "cl", }, })