Bladeren bron

Minor emacs/bash updates

Simon Watson 1 jaar geleden
bovenliggende
commit
3e2f2c0e17
2 gewijzigde bestanden met toevoegingen van 7 en 3 verwijderingen
  1. 4 1
      bashrc/bashrc-all
  2. 3 2
      emacs/.emacs-all

+ 4 - 1
bashrc/bashrc-all

@@ -215,7 +215,10 @@ case $(cat /etc/hostname) in
 	}
 	
 	# Load non tracked aliases for work specific things
-	source ~/Work/secure_shell_aliases 
+	source ~/Work/secure_shell_aliases
+
+	# Since moving to KDE, my default shell session starts me in / ?
+	cd 
 	
 	echo "Loaded Void Work Config"
 	;;

+ 3 - 2
emacs/.emacs-all

@@ -88,9 +88,9 @@
 (global-set-key (kbd "C-c C-u") 'vterm-send-C-u) ; Readline line
 (global-set-key (kbd "C-c C-w") 'vterm-send-C-w) ; Readline word
 (global-set-key (kbd "C-c C-d") 'vterm-send-C-d) ; Exit
-(global-set-key (kbd "C-c C-r") 'vterm-send-C-r) ; Reverse search
+(global-set-key (kbd "C-c C-s") 'vterm-send-C-r) ; Reverse search
 (global-set-key (kbd "C-b") 'vterm-send-C-b) ; Tmux
-(global-set-key (kbd "C-c C-a") 'vterm-send-C-a) ; Exit screen
+(global-set-key (kbd "C-c C-a") 'vterm-send-C-a) ; Screen prefix
 
 ;;; Syntax highlights for uxn-tal
 (straight-use-package
@@ -322,6 +322,7 @@
 (global-set-key (kbd "C-c m p") '(lambda ()
 				   (interactive)
 				   (shell-command "mpc toggle")))
+(global-set-key (kbd "C-c n") 'neotree-toggle)
 
 ;;; Erc config
 (setq erc-nick "speskk")