add pane resize
This commit is contained in:
		
							parent
							
								
									38e30af417
								
							
						
					
					
						commit
						f5fc01951b
					
				
					 1 changed files with 8 additions and 2 deletions
				
			
		|  | @ -90,12 +90,18 @@ end | ||||||
| config.keys = { | config.keys = { | ||||||
|   -- Tabs |   -- Tabs | ||||||
|   { key = 't', mods = 'ALT',      action = act.SpawnTab 'CurrentPaneDomain',        }, |   { key = 't', mods = 'ALT',      action = act.SpawnTab 'CurrentPaneDomain',        }, | ||||||
|   { key = 'w', mods = "ALT|CTRL", action = act.CloseCurrentTab { confirm = false }, }, |   { key = 'w', mods = 'ALT|CTRL', action = act.CloseCurrentTab { confirm = false }, }, | ||||||
| 
 | 
 | ||||||
|   -- Panes |   -- Panes | ||||||
|   { key = 'v', mods = 'ALT', action = act.SplitVertical    { domain  = 'CurrentPaneDomain' }, }, |   { key = 'v', mods = 'ALT', action = act.SplitVertical    { domain  = 'CurrentPaneDomain' }, }, | ||||||
|   { key = 'h', mods = 'ALT', action = act.SplitHorizontal  { domain  = 'CurrentPaneDomain' }, }, |   { key = 'h', mods = 'ALT', action = act.SplitHorizontal  { domain  = 'CurrentPaneDomain' }, }, | ||||||
|   { key = 'x', mods = "ALT", action = act.CloseCurrentPane { confirm = false               }, }, |   -- Adjust Size | ||||||
|  |   { key = 'LeftArrow',  mods = 'ALT|CTRL', action = act.AdjustPaneSize { 'Left',  5 }}, | ||||||
|  |   { key = 'RightArrow', mods = 'ALT|CTRL', action = act.AdjustPaneSize { 'Right', 5 }}, | ||||||
|  |   { key = 'DownArrow',  mods = 'ALT|CTRL', action = act.AdjustPaneSize { 'Down',  5 }}, | ||||||
|  |   { key = 'UpArrow',    mods = 'ALT|CTRL', action = act.AdjustPaneSize { 'Up',    5 }}, | ||||||
|  |   -- Close | ||||||
|  |   { key = 'x', mods = "ALT", action = act.CloseCurrentPane { confirm = false }, }, | ||||||
| 
 | 
 | ||||||
|   -- Navigation |   -- Navigation | ||||||
|   { key = 'LeftArrow',  mods = 'ALT', action = act.ActivateTabRelative(-1)       }, |   { key = 'LeftArrow',  mods = 'ALT', action = act.ActivateTabRelative(-1)       }, | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue