X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=dot-files%2F_emacs_el;h=337cce7346a37e22b7812ab26778cef3e8eac3f0;hb=a6b4a9fd13989edf3bcf083e1728f4b4d48062d8;hp=626b907759fcb39473c5022cce22a95f27088fae;hpb=20f2ef60998beeed4061db6308636b07a2c4f7a8;p=sugar.git diff --git a/dot-files/_emacs_el b/dot-files/_emacs_el index 626b907..337cce7 100644 --- a/dot-files/_emacs_el +++ b/dot-files/_emacs_el @@ -397,6 +397,13 @@ "Major mode for editing comma-separated value files." t) (add-to-list 'auto-mode-alist '("\\.[Cc][Ss][Vv]\\'" . csv-mode)) +;; tsv-mode +(autoload 'tsv-mode "tsv-mode" "A mode to edit table like file" t) +(autoload 'tsv-normal-mode "tsv-mode" "A minor mode to edit table like file" t) +(setq tsv-write-annotation nil) +(setq tsv-separator-list '("\t")) +(add-to-list 'auto-mode-alist '("\\.[Tt][Ss][Vv]\\'" . tsv-mode)) + ;; yaml-mode (autoload 'yaml-mode "yaml-mode" "Major mode for editing YAML files." t)