mirror of
				https://github.com/tmux-plugins/tmux-resurrect.git
				synced 2025-11-04 00:46:04 +00:00 
			
		
		
		
	ctrl key mappings; deprecate alt keys
This commit is contained in:
		@@ -2,6 +2,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
### master
 | 
					### master
 | 
				
			||||||
- bugfix: sourcing `variables.sh` file in save script
 | 
					- bugfix: sourcing `variables.sh` file in save script
 | 
				
			||||||
 | 
					- add `Ctrl` key mappings, deprecate `Alt` keys mappings.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### v1.0.0, 2014-08-30
 | 
					### v1.0.0, 2014-08-30
 | 
				
			||||||
- show spinner during the save process
 | 
					- show spinner during the save process
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										11
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								README.md
									
									
									
									
									
								
							@@ -20,8 +20,15 @@ It even (optionally) [restores vim sessions](#restoring-vim-sessions)!
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
### Key bindings
 | 
					### Key bindings
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- `prefix + Alt-s` - save
 | 
					- `prefix + Ctrl-s` or `prefix + Alt-s` - save
 | 
				
			||||||
- `prefix + Alt-r` - restore
 | 
					- `prefix + Ctrl-r` or `prefix + Alt-r` - restore
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Some people can't get `Alt` key mappings to work so they are deprecated.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					For custom key bindings, add to `.tmux.conf`:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    set -g @resurrect-save "S"
 | 
				
			||||||
 | 
					    set -g @resurrect-restore "R"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### About
 | 
					### About
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,8 +1,8 @@
 | 
				
			|||||||
# key bindings
 | 
					# key bindings
 | 
				
			||||||
default_save_key="M-s"
 | 
					default_save_key="M-s C-s"
 | 
				
			||||||
save_option="@resurrect-save"
 | 
					save_option="@resurrect-save"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
default_restore_key="M-r"
 | 
					default_restore_key="M-r C-r"
 | 
				
			||||||
restore_option="@resurrect-restore"
 | 
					restore_option="@resurrect-restore"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# default processes that are restored
 | 
					# default processes that are restored
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user