Closed petobens closed 7 years ago
@kassio thanks! However when I use let g:neoterm_autoscroll = 1
I get the following error
Error detected while processing function <SNR>150_RunPython[70]..neoterm#do[2]..neoterm#exec[2]..118[3]..115:
line 3:
E490: No fold found
Note that :term
in Nvim 0.2 (unreleased, current master) should do this automatically if the most-recent cursor position in the buffer was the last line.
@justinmk thank's for the update, that's great news!
@petobens have you tried this with that init.vim? I tried on my machine and wasn't able to replicate this error.
@kassio I can reproduce it with:
set nocompatible
let $DOTVIM = expand('$HOME/.vim')
set runtimepath+=$DOTVIM/bundle/repos/github.com/kassio/neoterm
filetype plugin indent on
let g:neoterm_size = 10
let g:neoterm_autoinsert = 0
let g:neoterm_autoscroll = 1
nnoremap <silent> G Gzo$
I believe that adding a something similar to normal!G
in your commit will fix my issue.
@kassio please add nnoremap <silent> G Gzo$
to your init.vim
file.
BTW: what do you use to record such a great gif?
@petobens got it now, it's fixed. I used Licecap for the gif recording. 😄
Great. Thank you!
Consider the following
init.vim
file:now open vim and edit the following
foo.py
file:Once in the file run
:T python3 foo.py
. You will see that the terminal only shows numbers until7
, ideally i would expect it to scroll the bottom (i.e updating the terminal buffer as new numbers are printed until the last number is reached). Thanks in advance!