feat: <control><direction> window navigation
This commit is contained in:
		
							parent
							
								
									82dd9c85d5
								
							
						
					
					
						commit
						3fed17452d
					
				
					 1 changed files with 36 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -11,6 +11,42 @@
 | 
			
		|||
      };
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    { # focus window left
 | 
			
		||||
      mode = ["n"];
 | 
			
		||||
      key = "<C-Left>";
 | 
			
		||||
      action = "<C-w>h";
 | 
			
		||||
      options = {
 | 
			
		||||
        silent = true;
 | 
			
		||||
      };
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    { # focus window down
 | 
			
		||||
      mode = ["n"];
 | 
			
		||||
      key = "<C-Down>";
 | 
			
		||||
      action = "<C-w>j";
 | 
			
		||||
      options = {
 | 
			
		||||
        silent = true;
 | 
			
		||||
      };
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    { # focus window up
 | 
			
		||||
      mode = ["n"];
 | 
			
		||||
      key = "<C-Up>";
 | 
			
		||||
      action = "<C-w>k";
 | 
			
		||||
      options = {
 | 
			
		||||
        silent = true;
 | 
			
		||||
      };
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    { # focus window right
 | 
			
		||||
      mode = ["n"];
 | 
			
		||||
      key = "<C-Right>";
 | 
			
		||||
      action = "<C-w>l";
 | 
			
		||||
      options = {
 | 
			
		||||
        silent = true;
 | 
			
		||||
      };
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    { # buffer prefix
 | 
			
		||||
      mode = "n";
 | 
			
		||||
      key = "<leader>b";
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue