   (evil-collection-define-key 'insert 'term-raw-map
     ;; NOTE: Make C-o work like it should.  I suppose this might break
     ;; some terminal applications but I don't care:
-    (kbd "C-o") #'evil-execute-in-normal-state)
+    (kbd "C-o")     #'evil-execute-in-normal-state
+    (kbd "C-c C-d") #'pjones:term-insert-directory)
 
   (evil-collection-define-key 'normal 'term-mode-map
     (kbd "C-c C-k")  #'evil-insert

    ;; Sending special keys to the terminal:
    (define-key map (kbd "C-c")     nil)
    (define-key map (kbd "C-c C-c") (pjones:term-send-char [?\C-c]))
    (define-key map (kbd "C-c C-z") (pjones:term-send-char [?\C-z]))
    (define-key map (kbd "C-c M-x") (pjones:term-send-char [escape ?x]))
    (define-key map (kbd "C-c C-q") #'pjones:term-quoted-insert)


(defun pjones:term-mode-hook ()
  "Hook run after starting a new terminal."
  ;; Some variables that term-mode doesn't initialize but uses :(
  (setq term-ansi-at-dir default-directory
        term-ansi-at-host (system-name)
        term-ansi-at-user (user-real-login-name)
        term-line-mode-buffer-read-only t)

  ;; Keep things Emacs-like:
