Override find-file due to fat fingers.

This commit is contained in:
jgrogan 2024-07-08 14:27:35 +01:00
parent beb8869692
commit 0118c251d9

View file

@ -1,15 +1,19 @@
; -*- lexical-binding: t; -*- ; -*- lexical-binding: t; -*-
;; Make it easer to do 'alt-x' ;;; Code:
;; Make it easer to do 'alt-x'
(global-set-key "\C-x\C-m" 'execute-extended-command) (global-set-key "\C-x\C-m" 'execute-extended-command)
(global-set-key "\C-c\C-m" 'execute-extended-command) (global-set-key "\C-c\C-m" 'execute-extended-command)
;; I keep mising Cx-Cf, so make it easier
(global-set-key "\C-x\f" 'find-file)
;; For UK/IRL don't use right Alt key in Emacs, so we ;; For UK/IRL don't use right Alt key in Emacs, so we
;; can still use hash symbol etc. ;; can still use hash symbol etc.
(setq ns-right-alternate-modifier (quote none)) (setq ns-right-alternate-modifier (quote none))
(setq inhibit-startup-message t) (setq inhibit-startup-message t)
(setq initial-scratch-message nil) (setq initial-scratch-message nil)
;; Disable menu, tool and scroll bars ;; Disable menu, tool and scroll bars