I am not sure what constitutes an issue vs an incident.However, I did not find an explanation or description of this action in the documentation or in a web search. This is probably not an actual issue* but a new feature I don't understand. What does this message mean (to a non-shell programmer), why is it appearing, and how should I respond? I am hesitant to act on the message without knowing what is going on. Without knowing why this message appears, I assume that the message should never appear. For now, I just ignore the message, which means it pops up every time I quit vim. The message says: "A control sequence attempted to clear scrollback." I don't understand what that means, therefore I don't know whether to accept or deny. Then I get the following message at the top of the iTerm2 window:.(Note: I get the same weird message if I just type ":q" in vim.) Meaning you can still scroll back and see it. However, all this does is push the current screen content back one screen height and reset the cursor/input at the first line. I then exit the file, using the vim command sequence ":wq". Viewed 48k times 64 When using Terminal.app, you can clear the screen by using the shell builtin clear or by pressing L (Control-L).I opened a file using vim, for example, my bashrc file.In short, I just needed to uncheck Prefs > Profiles > Terminal > Save lines to scrollback in alternate screen mode in the iTerm2 menu. Are you reporting excessive memory usage? No George Nachman, the iTerm2 guy, ended up solving my problem here.Are you reporting a performance issue, excessive CPU usage, or a hang? No.Attach a screen capture video if it would make the reproduction steps clearer.Attach ~/Library/Preferences/ here (drag-drop from finder into this window) Here's my plist file:.iTerms imgcat overrides this program by default. Rr, gg, bb are 2-digit hex value (for example, "ff").Thanks for filing an issue! Please answer the questions below so I can help you. If you install iTerm2s shell integration, chances are you also installed its additional scripts, including one called imgcat. To reset the window title and tab color, use this code: ^6 1 bg * default^Gįor example: echo -e "\033]6 1 bg * default\a" Replace N with a decimal value in 0 to 255.Įxample in bash that turns the background purple: echo -e "\033]6 1 bg red brightness 255\a"Įcho -e "\033]6 1 bg green brightness 0\a"Įcho -e "\033]6 1 bg blue brightness 255\a" To set the window title and tab color use this escape sequence: ^6 1 bg red brightness N^G Set window title and tab chrome background color After this is sent, all text received is placed in the pasteboard until this code comes in: ^50 EndCopy^G Where name is one of "rule", "find", "font", or empty to mean the general pasteboard (which is what you normally want). select Window tab just change Scrollback to Limit number of rows to. To place text in the pasteboard: ^50 CopyToClipboard=name^G To change the session's profile on the fly: ^50 SetProfile=NewProfileName^G This will have no effect if Growl is not running. To post a Growl notification: ^9 Message content goes here^G To inform iTerm2 of the current directory to help semantic history: ^50 CurrentDir=/the/current/directory^G To erase the scrollback history: ^50 ClearScrollback^G To bring iTerm2 to the foreground: ^50 StealFocus^G The following escape code has the same effect as that command: ^50 SetMark^G The "Set Mark" (cmd-shift-M) command allows you to record a location and then jump back to it later (with cmd-shift-J). vimrc to change cursor shape in insert mode: let
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |