[Emacs] Add keybind to toggle tab-bar-mode, hide new tab button
This commit is contained in:
		
							parent
							
								
									a509efdecd
								
							
						
					
					
						commit
						2134e947fd
					
				@ -3697,9 +3697,12 @@ Let’s define some more intuitive keybinds for ~info-mode~.
 | 
				
			|||||||
  :straight (:type built-in)
 | 
					  :straight (:type built-in)
 | 
				
			||||||
  :custom
 | 
					  :custom
 | 
				
			||||||
  (tab-bar-close-button-show nil)
 | 
					  (tab-bar-close-button-show nil)
 | 
				
			||||||
 | 
					  (tab-bar-new-button-show nil)
 | 
				
			||||||
  (tab-bar-new-tab-choice "*dashboard*")
 | 
					  (tab-bar-new-tab-choice "*dashboard*")
 | 
				
			||||||
  :custom-face
 | 
					  :custom-face
 | 
				
			||||||
  (tab-bar ((t (:background "#272C36" :foreground "#272C36" :box (:line-width (10 . 3) :style flat-button)))))
 | 
					  (tab-bar ((t (:background "#272C36"
 | 
				
			||||||
 | 
					                :foreground "#E5E9F0"
 | 
				
			||||||
 | 
					                :box (:line-width (8 . 5) :style flat-button)))))
 | 
				
			||||||
  :init
 | 
					  :init
 | 
				
			||||||
  (advice-add #'tab-new
 | 
					  (advice-add #'tab-new
 | 
				
			||||||
              :after
 | 
					              :after
 | 
				
			||||||
@ -8376,7 +8379,7 @@ Undefining some stuff to make keybind prefixes work correctly.
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  <<general-keybindings-gen(table=keybinds-jump, prefix="j")>>
 | 
					  <<general-keybindings-gen(table=keybinds-jump, prefix="j")>>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <<general-keybindings-gen(table=keybinds-toggle, prefix="t")>>
 | 
					  <<general-keybindings-gen(table=keybinds-toggle, prefix="t ")>>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <<general-keybindings-gen(table=keybinds-text, prefix="T")>>
 | 
					  <<general-keybindings-gen(table=keybinds-text, prefix="T")>>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -8613,6 +8616,7 @@ My toggle keybinds are prefixed by ~t~.
 | 
				
			|||||||
| Key | Function                              | Description  |
 | 
					| Key | Function                              | Description  |
 | 
				
			||||||
|-----+---------------------------------------+--------------|
 | 
					|-----+---------------------------------------+--------------|
 | 
				
			||||||
|     |                                       | toggles      |
 | 
					|     |                                       | toggles      |
 | 
				
			||||||
 | 
					| TAB | tab-bar-mode                          |              |
 | 
				
			||||||
| t   | my/modify-frame-alpha-background/body |              |
 | 
					| t   | my/modify-frame-alpha-background/body |              |
 | 
				
			||||||
| T   | counsel-load-theme                    |              |
 | 
					| T   | counsel-load-theme                    |              |
 | 
				
			||||||
| d   |                                       | debug        |
 | 
					| d   |                                       | debug        |
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user