This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/contrib/better-defaults/keybindings.el
Tu Do 0e2662dc3c Replace C-o with M-o in Dired buffer
Since `C-o` is replaced with evil-execute-in-normal-state.
2015-05-10 01:09:51 -04:00

18 lines
619 B
EmacsLisp

;;; funcs.el --- Better Emacs Defaults Layer key bindings File
;;
;; Copyright (c) 2012-2014 Sylvain Benner
;; Copyright (c) 2014-2015 Sylvain Benner & Contributors
;;
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3
(global-set-key (kbd "C-a") 'spacemacs/smart-move-beginning-of-line)
;; emacs state bindings
(define-key evil-emacs-state-map (kbd "C-o") 'evil-execute-in-normal-state)
(add-hook 'dired-mode-hook (lambda ()
(local-set-key (kbd "M-o") 'dired-display-file)))