Closed vegabook closed 2 years ago
You can use <mods>
to manipulate how neoterm window will be created. For instance you could use: :vert T ls
to open a vertical neoterm window that'll run a ls
command.
Check :h <mods>
for more information.
yeah okay vert T ls
kinda gets me somewhere by using the left of the screen, but is there a horizontal equivalent of :vert
modifier? I cannot see one in the help.
@vegabook, check vim's docs for botright
and belowright
.
This is a feature request, if it does not already exist. If it does exist, could you explain how to invoke this functionality.
Right now in my nvimrc I have this macro:
which is bound to F8 and runs the python script in the buffer in a split window below the code. The problem is the split happens right at the top of the nvim code buffer, like this:
So I have to use the mouse to drag it to down to the middle of the screen, so that I can at the same time see my code, like this:
Is there any command to make this happen without having to do it manually? If not, could I ask for such a parameter to the
:T
command to be added to the code?