json,yaml,markdown modes, and fix dired async
This commit is contained in:
parent
e921242374
commit
de68cdc05e
4 changed files with 86 additions and 1 deletions
|
|
@ -25,7 +25,6 @@
|
||||||
|
|
||||||
(require 'dired)
|
(require 'dired)
|
||||||
(require 'dired-x)
|
(require 'dired-x)
|
||||||
(require 'dired-async)
|
|
||||||
(require 'dired-aux)
|
(require 'dired-aux)
|
||||||
|
|
||||||
(setq dired-recursive-deletes t)
|
(setq dired-recursive-deletes t)
|
||||||
|
|
|
||||||
27
workflows/json-custom.el
Normal file
27
workflows/json-custom.el
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
;;; json-custom.el --- Customisations for reading JSON files -*- lexical-binding: t -*-
|
||||||
|
|
||||||
|
;; This file is not part of GNU Emacs
|
||||||
|
|
||||||
|
;; This program is free software: you can redistribute it and/or modify
|
||||||
|
;; it under the terms of the GNU General Public License as published by
|
||||||
|
;; the Free Software Foundation, either version 3 of the License, or
|
||||||
|
;; (at your option) any later version.
|
||||||
|
|
||||||
|
;; This program is distributed in the hope that it will be useful,
|
||||||
|
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
;; GNU General Public License for more details.
|
||||||
|
|
||||||
|
;; You should have received a copy of the GNU General Public License
|
||||||
|
;; along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
|
||||||
|
;;; Commentary:
|
||||||
|
|
||||||
|
;;; Code:
|
||||||
|
|
||||||
|
(use-package json-mode)
|
||||||
|
|
||||||
|
(provide 'json-custom)
|
||||||
|
|
||||||
|
;;; json-custom.el ends here
|
||||||
31
workflows/markdown-custom.el
Normal file
31
workflows/markdown-custom.el
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
;;; markdown-custom.el --- Customisations for markdown file editing -*- lexical-binding: t -*-
|
||||||
|
|
||||||
|
;; This file is not part of GNU Emacs
|
||||||
|
|
||||||
|
;; This program is free software: you can redistribute it and/or modify
|
||||||
|
;; it under the terms of the GNU General Public License as published by
|
||||||
|
;; the Free Software Foundation, either version 3 of the License, or
|
||||||
|
;; (at your option) any later version.
|
||||||
|
|
||||||
|
;; This program is distributed in the hope that it will be useful,
|
||||||
|
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
;; GNU General Public License for more details.
|
||||||
|
|
||||||
|
;; You should have received a copy of the GNU General Public License
|
||||||
|
;; along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
;;; Commentary:
|
||||||
|
|
||||||
|
;;; Code:
|
||||||
|
|
||||||
|
(use-package markdown-mode
|
||||||
|
:config
|
||||||
|
(keymap-unset markdown-mode-map "C-c <left>")
|
||||||
|
(keymap-unset markdown-mode-map "C-c <right>")
|
||||||
|
(keymap-unset markdown-mode-map "C-c <up>")
|
||||||
|
(keymap-unset markdown-mode-map "C-c <down>"))
|
||||||
|
|
||||||
|
(provide 'markdown-custom)
|
||||||
|
|
||||||
|
;;; markdown-custom.el ends here
|
||||||
28
workflows/yaml-custom.el
Normal file
28
workflows/yaml-custom.el
Normal file
|
|
@ -0,0 +1,28 @@
|
||||||
|
;;; yaml-custom.el --- Customisations for editing YAML files -*- lexical-binding: t -*-
|
||||||
|
|
||||||
|
;; This file is not part of GNU Emacs
|
||||||
|
|
||||||
|
;; This program is free software: you can redistribute it and/or modify
|
||||||
|
;; it under the terms of the GNU General Public License as published by
|
||||||
|
;; the Free Software Foundation, either version 3 of the License, or
|
||||||
|
;; (at your option) any later version.
|
||||||
|
|
||||||
|
;; This program is distributed in the hope that it will be useful,
|
||||||
|
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
;; GNU General Public License for more details.
|
||||||
|
|
||||||
|
;; You should have received a copy of the GNU General Public License
|
||||||
|
;; along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
;;; Commentary:
|
||||||
|
|
||||||
|
;;; Code:
|
||||||
|
|
||||||
|
(use-package yaml-mode
|
||||||
|
:config
|
||||||
|
(add-to-list 'auto-mode-alist '("\\.yml\\'" . yaml-mode)))
|
||||||
|
|
||||||
|
(provide 'yaml-custom)
|
||||||
|
|
||||||
|
;;; yaml-custom.el ends here
|
||||||
Loading…
Add table
Add a link
Reference in a new issue