mirror of
				https://github.com/rbreaves/kinto.git
				synced 2025-11-04 13:24:01 +01:00 
			
		
		
		
	- Corrected VS Code wordwise further
This commit is contained in:
		@@ -118,12 +118,11 @@ define_keymap(lambda wm_class: wm_class not in ("Code"),{
 | 
			
		||||
# Keybindings for VS Code
 | 
			
		||||
define_keymap(re.compile("Code"),{
 | 
			
		||||
    # Wordwise remaining - for VS Code
 | 
			
		||||
    # Keeping Alt is a hack, but works
 | 
			
		||||
    K("M-Left"): K("C-M-Left"),                 # Left of Word
 | 
			
		||||
    K("M-Right"): K("C-M-Right"),               # Right of Word
 | 
			
		||||
    # Alt-F19 hack fixes Alt menu activation
 | 
			
		||||
    K("M-Shift-Left"): [K("M-F19"),K("C-Shift-Left")],       # Select Left of Word
 | 
			
		||||
    K("M-Shift-Right"): [K("M-F19"),K("C-Shift-Right")],     # Select Right of Word
 | 
			
		||||
    K("M-Left"): [K("M-F19"),K("C-Left")],                  # Left of Word
 | 
			
		||||
    K("M-Right"): [K("M-F19"),K("C-Right")],                # Right of Word
 | 
			
		||||
    K("M-Shift-Left"): [K("M-F19"),K("C-Shift-Left")],      # Select Left of Word
 | 
			
		||||
    K("M-Shift-Right"): [K("M-F19"),K("C-Shift-Right")],    # Select Right of Word
 | 
			
		||||
    
 | 
			
		||||
    # VS Code Shortcuts
 | 
			
		||||
    K("C-g"): pass_through_key,                 # cancel Go to Line...
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user