Emacs: default mode to text-mode.
Ranger: org file type support (seems to be a mime-type bug by the way).master
parent
050d129c57
commit
83e96e090a
|
@ -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"
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue