Thursday, February 14, 2019

Command history scrolling after less

":<up>" normally scrolls through command history. However, after I pipe the buffer to less, that no longer happens. With or without any LESS* environment variables set:

1. vim -Nu NONE
2. :<up> " Fine
3. <esc> " To cancel the scrolling from step 2
4. :w !less
5. Press "q", "enter", or whatever to get back to Vim
5. :<up> " Not fine, back to normal mode

This doesn't appear to be an issue in gvim, nor does it happen when piped to more or cat instead of less, so I'm wondering if this is a less issue rather than a vim one.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: