diff options
| author | Ariel D'Alessandro <ariel.dalessandro@auto1.com> | 2023-01-10 11:03:17 +0100 |
|---|---|---|
| committer | Ariel D'Alessandro <ariel.dalessandro@auto1.com> | 2023-01-10 11:03:17 +0100 |
| commit | 3ada6b4267f29a09c8bc240c2a75b194d51ff008 (patch) | |
| tree | d72e80b99fdf90edc059b6395442548caf5d9f0b /after/plugin/iron.lua | |
| parent | 82aecf18310666f099fb72531ada7a405bc06bc4 (diff) | |
| download | nvim-conf-3ada6b4267f29a09c8bc240c2a75b194d51ff008.tar.gz nvim-conf-3ada6b4267f29a09c8bc240c2a75b194d51ff008.zip | |
feat: remove more after config plugins
Diffstat (limited to 'after/plugin/iron.lua')
| -rw-r--r-- | after/plugin/iron.lua | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/after/plugin/iron.lua b/after/plugin/iron.lua deleted file mode 100644 index 972ccbc..0000000 --- a/after/plugin/iron.lua +++ /dev/null @@ -1,61 +0,0 @@ -local ok, iron = pcall(require, "iron.core") - -if not ok then - return -end - -iron.setup({ - config = { - 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 = { "psysh" }, - }, - tinker = { - command = { "php", "artisan", "tinker" }, - }, - sail = { - 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 = "<space>sc", - visual_send = "<space>sc", - send_file = "<space>sf", - send_line = "<space>sl", - send_mark = "<space>sm", - mark_motion = "<space>mc", - mark_visual = "<space>mc", - remove_mark = "<space>md", - cr = "<space>s<cr>", - interrupt = "<space>s<space>", - exit = "<space>sq", - clear = "<space>cl", - }, - highlight = { - italic = true, - }, -}) - --- Idea --- create a menu to ask which console wants to start --- for php example we have --- psysh | tinker | tinker on sail --- base on that save the expected filetype on a buffer variable --- add the parameter to the command for the IronRepl and all commands to send --- or beter use my own functions useing the core.* functions --- not all functions takes the ft as parameter |