kak: name clipboard sync hook
This commit is contained in:
		
							parent
							
								
									99e4b713ce
								
							
						
					
					
						commit
						51659f4273
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -47,7 +47,7 @@ hook global BufOpenFile .*/COMMIT_EDITMSG %{
 | 
				
			||||||
hook global RegisterModified '"' %{ nop %sh{ {
 | 
					hook global RegisterModified '"' %{ nop %sh{ {
 | 
				
			||||||
    printf %s "$kak_reg_dquote" | wl-copy -n
 | 
					    printf %s "$kak_reg_dquote" | wl-copy -n
 | 
				
			||||||
    printf %s "$kak_reg_dquote" | xclip -i -selection clipboard
 | 
					    printf %s "$kak_reg_dquote" | xclip -i -selection clipboard
 | 
				
			||||||
} > /dev/null 2>&1 < /dev/null & }}
 | 
					} > /dev/null 2>&1 < /dev/null & }} -group sync-clipboard
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Trim trailing whitespace
 | 
					# Trim trailing whitespace
 | 
				
			||||||
hook global BufWritePre .* %{ try %{
 | 
					hook global BufWritePre .* %{ try %{
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue