feat: add initial basic visual block vim mode
This commit is contained in:
		
							parent
							
								
									2cced4fbff
								
							
						
					
					
						commit
						73e026c6f7
					
				
					 1 changed files with 15 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -40,6 +40,7 @@
 | 
			
		|||
 | 
			
		||||
            ["v", "enter_mode", "visual"],
 | 
			
		||||
            ["V", ["enter_mode", "visual line"], ["select_line_vim"]],
 | 
			
		||||
            ["<C-v>", "enter_mode", "visual block"],
 | 
			
		||||
 | 
			
		||||
            ["n", "goto_next_match"],
 | 
			
		||||
            ["N", "goto_prev_match"],
 | 
			
		||||
| 
						 | 
				
			
			@ -225,6 +226,20 @@
 | 
			
		|||
            ["9", "add_integer_argument_digit", 9]
 | 
			
		||||
        ]
 | 
			
		||||
    },
 | 
			
		||||
    "visual block": {
 | 
			
		||||
        "syntax": "vim",
 | 
			
		||||
        "on_match_failure": "ignore",
 | 
			
		||||
        "name": "VISUAL BLOCK",
 | 
			
		||||
        "inherit": "visual",
 | 
			
		||||
        "line_numbers": "relative",
 | 
			
		||||
        "cursor": "block",
 | 
			
		||||
        "selection": "normal",
 | 
			
		||||
        "init_command": ["enable_selection"],
 | 
			
		||||
        "press": [
 | 
			
		||||
            ["k", "add_cursor_up"],
 | 
			
		||||
            ["j", "add_cursor_down"]
 | 
			
		||||
        ]
 | 
			
		||||
    },
 | 
			
		||||
    "insert": {
 | 
			
		||||
        "syntax": "vim",
 | 
			
		||||
        "name": "INSERT",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue