Skip to content

Commit

Permalink
fix(neovim): Disabling vi mode in ipython repl, since pasting is very…
Browse files Browse the repository at this point in the history
… buggy on windows

When I paste a chunk of a python file, it puts a character at the end of
the pasted characters. When I paste the whole file, it also cuts out
that character from somewhere. Very inconsistent.
  • Loading branch information
Botond Kalocsai committed Apr 12, 2024
1 parent 9127908 commit 56a1258
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions home/dot_config/nvim/lua/plugins/iron-repl.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,17 @@ return { -- https://dev.to/rnrbarbosa/how-to-run-python-on-neovim-like-jupyter-3
command = {
"ipython",
"--pylab=qt",
"--TerminalInteractiveShell.editing_mode=vi"
-- "--TerminalInteractiveShell.editing_mode=vi", -- Paste Bug
},
format = require("iron.fts.common").bracketed_paste_python,
},
powershell = {
command = { "pwsh -ExecutionPolicy ByPass -NoExit" },
command = {
"pwsh",
"-ExecutionPolicy",
"ByPass",
"-NoExit",
},
format = require("iron.fts.common").bracketed_paste,
},
sh = {
Expand Down

0 comments on commit 56a1258

Please sign in to comment.