[Emacs] Better shortcut for terminals, remove reduntant ones
Shortcut `SPC o '' now launches `eshell-new' instead of just plain `eshell', a new shortcut invokes `vterm', and the shortcut for `helm-man-woman' is removed in favor of the default one in Spacemacs
This commit is contained in:
		
							parent
							
								
									e53e019306
								
							
						
					
					
						commit
						e6ea1aecbb
					
				@ -4175,19 +4175,18 @@ As this is a new category, let’s declare its prefix:
 | 
			
		||||
 | 
			
		||||
Now, let’s also declare the keybindings in this category. ~oac~ will invoke
 | 
			
		||||
Emacs’ calculator, while ~oac~ invokes the calendar, ~oae~ invokes the Eww web
 | 
			
		||||
browser, ~oaw~ invokes ~woman~ (actually ~helm-man-woman~), and ~oaW~ invokes
 | 
			
		||||
the weather forecast. Lastly, the apostrophe in ~o'~ will invoke Eshell
 | 
			
		||||
directly, without any popup window as with ~,'~ while ~oan~ will open a new
 | 
			
		||||
eshell buffer if another one already exists.
 | 
			
		||||
browser, and ~oaw~ invokes the weather forecast. Lastly, the apostrophe in ~o'~
 | 
			
		||||
will invoke Eshell directly, without any popup window as with ~SPC '~ while
 | 
			
		||||
~oan~ will open a new eshell buffer if another one already exists. ~ov~ will
 | 
			
		||||
also open a vterm terminal.
 | 
			
		||||
#+BEGIN_SRC emacs-lisp
 | 
			
		||||
  (spacemacs/set-leader-keys
 | 
			
		||||
    "o'" 'eshell
 | 
			
		||||
    "o'" 'eshell-new
 | 
			
		||||
    "ov" 'vterm
 | 
			
		||||
    "oac" 'calc
 | 
			
		||||
    "oaC" 'calendar
 | 
			
		||||
    "oae" 'eww
 | 
			
		||||
    "oan" 'eshell-new
 | 
			
		||||
    "oaw" 'helm-man-woman
 | 
			
		||||
    "oaW" 'wttrin)
 | 
			
		||||
    "oaw" 'wttrin)
 | 
			
		||||
#+END_SRC
 | 
			
		||||
 | 
			
		||||
**** Image mode
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user