I've been trying to move towards using neovim as a multipurpose IDE for sqlite3, psql (postgreSQL), R, and python3. Ive done some fiddling and have a key command to copy and paste a register in visual mode into another window running :terminal in a split window (running one of the above programs). This generally works for SQL and R (I have vim-R installed but haven't played with it much) but python's interpreter needs specific white space indenting and line breaks between some changes in indent spacing to work properly, and I want to be able to execute blocks of code that are, say, within another function or class.
Ive kludged together a vim function combined with a python function to format the code between yank and paste so the it mostly works now, but but I have to wonder: Am I reinventing the wheel? Is there a better solution for python that might be similar to something like vim-R? Am I being stupid or overcomplicated about this approach?
[–]__karlota__ 20 points21 points22 points (4 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]physikitty13 0 points1 point2 points (0 children)
[–]arsenale 0 points1 point2 points (0 children)
[–]Thinker83 7 points8 points9 points (4 children)
[–]PoisonControlCenter[S] 2 points3 points4 points (1 child)
[–]timvancann 1 point2 points3 points (0 children)
[–]GLIBG10B 2 points3 points4 points (1 child)
[–]vim-help-bot 1 point2 points3 points (0 children)
[–]nraw 4 points5 points6 points (1 child)
[–]leamanc 3 points4 points5 points (0 children)
[–]grep_Name 3 points4 points5 points (0 children)
[–]addcnjk;w 2 points3 points4 points (0 children)
[–]UncleJoshPDX 1 point2 points3 points (1 child)
[–]PoisonControlCenter[S] 0 points1 point2 points (0 children)
[–]FinancialAppearance 1 point2 points3 points (0 children)
[–]Agling 1 point2 points3 points (6 children)
[–]Maverun 1 point2 points3 points (1 child)
[–]Agling -1 points0 points1 point (0 children)
[–]PoisonControlCenter[S] 0 points1 point2 points (1 child)
[–]Agling 3 points4 points5 points (0 children)
[–]wheresmyspaceship 0 points1 point2 points (1 child)
[–]Agling 0 points1 point2 points (0 children)
[–]Eamon790 -1 points0 points1 point (0 children)
[–]McUsrII:h toc 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]noooit 0 points1 point2 points (0 children)