jeffreytse / zsh-vi-mode

💻 A better and friendly vi(vim) mode plugin for ZSH.
MIT License
2.93k stars 102 forks source link

Question: Possible to navigate the terminal lika a buffer? #273

Open Nocxium opened 3 months ago

Nocxium commented 3 months ago

Hi. Im wondering if its possible to move up and down the text output in the terminal, so it kind of behaves like a buffer in vim?

curbol commented 2 months ago

I don't think it's possible with ZVM or any other zsh plugin since they only have control over the prompt from my understanding.

What you want is more in the domain of the terminal and not the shell. It is possible to get this functionality with things like Tmux copy-mode, or use a terminal like WezTerm that has a built-in copy-mode. copy-mode makes the terminal text act like a vim buffer (with limitations).