mirror of
				https://github.com/neovim/neovim.git
				synced 2025-11-04 09:44:31 +00:00 
			
		
		
		
	docs: OSC 133
The "end" termcode is not actually needed for our purposes. And the suggested $PS1 has trouble with bash's "reverse find" (CTRL-r) feature, probably because I did it wrong...
This commit is contained in:
		@@ -200,13 +200,10 @@ doesn't interfere).
 | 
			
		||||
- kitty: https://sw.kovidgoyal.net/kitty/shell-integration/
 | 
			
		||||
- vscode: https://code.visualstudio.com/docs/terminal/shell-integration
 | 
			
		||||
 | 
			
		||||
To configure bash to mark the start/end of each prompt, set $PROMPT_COMMAND
 | 
			
		||||
and $PS1 as follows: >bash
 | 
			
		||||
To configure bash to mark the start of each prompt, set $PROMPT_COMMAND: >bash
 | 
			
		||||
 | 
			
		||||
    # Prompt start:
 | 
			
		||||
    PROMPT_COMMAND='printf "\033]133;A\007"'
 | 
			
		||||
    # Prompt end:
 | 
			
		||||
    PS1="$PS1"'\033]133;B\007'
 | 
			
		||||
<
 | 
			
		||||
                                                *terminal_]]* *terminal_[[*
 | 
			
		||||
The |]]| and |[[| motions jump to the next/previous prompts, if your shell
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user