How do I scroll through a terminal using Vim 8.1's new terminal/termpack support?

后端 未结 3 1796
栀梦
栀梦 2021-01-31 01:46

I love the new terminal support that Vim 8.1 offers and I like that up/down are mapped to the terminal, so that you can select prior commands. How can I scroll up and down the t

3条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-31 02:31

    I do this:

    tnoremap  
    

    And then whenever I need to scroll back up, using gg to go all the way up, then G to come back down, (or for page by page). I press 'i' or 'a' from any page to enter commands in the shell. Simplicity itself.

提交回复
热议问题