voldikss / vim-floaterm

:computer: Terminal manager for (neo)vim
MIT License
2.46k stars 79 forks source link

在floaterm编译code,编译日志太长,怎么可以向上翻看编译日志,目前不知道怎么可以向上翻滚 #407

Closed longway1024 closed 1 year ago

longway1024 commented 1 year ago

Before reporting

Environment

If you are using vim(not neovim), fill in the following blanks

vim --9.0

Configurations related to vim-floaterm in vimrc(i.e. g:floaterm_xxx):

Describe your question, feature request, or bug.

Steps to reproduce

Using the minimal vimrc

set nocompatible
set hidden
set termguicolors
set runtimepath^=/path/to/vim-floaterm
filetype plugin indent on
syntax on

Steps to reproduce the behavior:

Actual behaviour

打开floaterm,然后在shell环境中编译代码,代码编译结束,想查看编译日志

Expected behaviour

希望可以用鼠标滑轮或者其他方式向上翻滚查看日志

Screenshots(Optional, GIF is better)

voldikss commented 1 year ago
longway1024 commented 1 year ago

鼠标有设置滚动的,但是在vim-floaterm里面还是无法滚动,最后执行了exit后才可以滚动,这个算不算是bug

longway1024 commented 1 year ago

另外如果回到normal模式不是,term不就关闭了么,那样就看不到编译的日志了啊

1332927388 commented 1 year ago

实测,ctrl+\进入类似于vim中的normal模式,然后可以进行光标移动,然后按 i 返回正常模式(insert模式)