![]() ![]() Go to iTerm settings -> 'Advanced' -> 'Scroll wheel sends arrow keys when in. But in case you missed/dismissed this prompt you wont be prompted again, I think. Many more useful options in the article linked below. I found following ways to deal with it (macOS Mojave): Enable tmux scroll mode and then press arrow up key iTerm prompts you to set the aforementioned preference for scrolling. Your scrolling question is covered here, with options like: bind-key -t vi-copy WheelUpPane scroll-upīind-key -t vi-copy WheelDownPane scroll-down When you’re using tmux, you rely on iTerm2 unique features much less This makes it easier to migrate to a different terminal emulator, be it on same OS or another one (Linux) Drawbacks: tmux maintains it’s own scrollback buffer. All the options are tmux-specific, as far as I can tell, and are independent of OSX versions, so using them in Yosemite should be fine. This led me to an excellent article detailing options I wasn't aware of and which look to answer your question more thoroughly than I could hope to. Is there a reason you want to use tmux in iTerm? The built-in OSX Terminal is definitely enhanced by a multiplexer like tmux, but iTerm seeks to alleviate those shortcomings by being a standalone solution.ĮDIT 1: After upgrading to El Capitan, I noticed some unfamiliar behavior when using Terminal.app and tmux. tmux in practice: iTerm2 and tmux integration includes benefits and drawbacks of using iterm2 vs tmux locally. It also discusses tmux features in general, their relevance for local and remote scenarios, and how to setup and configure tmux to support nested sessions. nf set-option -g mouse onĪdditionally, if memory serves, tmux is 'built into' iTerm, and thus features like multiplexing are built in as well. Tmux in practice: explores local and nested remote tmux sessions. ![]() There is an option in relatively recent builds of tmux that allows you to use the mouse while in scrolling mode.Īdd this to your. In this mode, you can use arrow keys, PageUp, PageDown, Ctrl-U, Ctrl-D, hjkl (vi-mode), or other configurable movement keys to scroll forward or back through the buffer. You'll see a little yellow box in the upper, right-hand corner of your terminal window. In tmux, scrolling is accomplished by first sending 'prefix-['. Tmux scrolling is a little different than just scrolling with a mouse wheel or a trackpad. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |