Emacs: default mode to text-mode.

Ranger: org file type support (seems to be a mime-type bug by the way).
master
Pierre Neidhardt 2013-02-28 22:09:31 +01:00
parent 050d129c57
commit 83e96e090a
2 changed files with 6 additions and 2 deletions

View File

@ -82,8 +82,8 @@ ext x?html?, has w3m, terminal = w3m "$@"
# Define the "editor" for text files as first action
mime ^text, label editor = "$EDITOR" -- "$@"
mime ^text, label pager = "$PAGER" -- "$@"
!mime ^text, label editor, ext xml|csv|tex|py|pl|rb|sh|php = "$EDITOR" -- "$@"
!mime ^text, label editor, ext xml|csv|tex|py|pl|rb|sh|php = "$PAGER" -- "$@"
!mime ^text, label editor, ext org|xml|csv|tex|py|pl|rb|sh|php = "$EDITOR" -- "$@"
!mime ^text, label editor, ext org|xml|csv|tex|py|pl|rb|sh|php = "$PAGER" -- "$@"
ext 1 = man "$1"
ext s[wmf]c, has zsnes, X = zsnes "$1"

View File

@ -14,6 +14,9 @@
(add-hook 'minibuffer-setup-hook (lambda () (my-keys-minor-mode 0) ) )
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Default mode
(setq default-major-mode 'text-mode)
;; Make questions less annoying
(defalias 'yes-or-no-p 'y-or-n-p)
@ -146,3 +149,4 @@
;; Calendar
(setq calendar-week-start-day 1)
(setq calendar-date-style 'iso)