19 lines
		
	
	
		
			369 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			369 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
| -- Pull in the wezterm API
 | |
| local wezterm = require 'wezterm'
 | |
| 
 | |
| -- This will hold the configuration.
 | |
| local config = wezterm.config_builder()
 | |
| 
 | |
| -- This is where you actually apply your config choices
 | |
| config.keys = {
 | |
|   {
 | |
|     -- F11
 | |
|     key = "raw:454",
 | |
|     action = wezterm.action.ToggleFullScreen,
 | |
|   },
 | |
| }
 | |
| 
 | |
| -- and finally, return the configuration to wezterm
 | |
| return config
 | |
| 
 |