   "Define keys for `outre-mode'."
   (define-key outrespace-mode-map "\M-p" 'outre-goto-namespace-previous)
   (define-key outrespace-mode-map "\M-n" 'outre-goto-namespace-next)
+  (define-key outrespace-mode-map "p" 'outre-print-enclosing-ns-name)
+  (define-key outrespace-mode-map "n" 'outre-wrap-namespace-region)
+  (define-key outrespace-mode-map "j" 'outre-ivy-jump-to-ns)
+  (define-key outrespace-mode-map "c" 'outre-change-ns-name)
+  (define-key outrespace-mode-map "C" 'outre-change-enclosing-ns-name)
+  (define-key outrespace-mode-map "d" 'outre-delete-ns-by-name)
+  (define-key outrespace-mode-map "D" 'outre-delete-enclosing-ns)
+  (define-key outrespace-mode-map [t] 'outre-turn-off)
   )
+
+(defun outre-turn-off ()
+  (interactive)
+  (outrespace-mode -1))
 
 (define-minor-mode outrespace-mode
   "Helper for c++ namespaces."

;; Author: Dan Harms <danielrharms@gmail.com>
;; Created: Wednesday, June  1, 2016
;; Version: 1.0
;; Modified Time-stamp: <2016-06-23 08:19:51 dharms>
;; Modified by: Dan Harms
;; Keywords: c++ namespace


  (interactive)
  (let ((start (current-time)))
    (setq outre-list (outre--scan-all-ns))
    (message "It took %.3f sec. to scan buffer's namespaces"
             (float-time (time-subtract (current-time) start)))))

;;;###autoload
