summaryrefslogtreecommitdiff
path: root/skeleton-conf.el
diff options
context:
space:
mode:
Diffstat (limited to 'skeleton-conf.el')
-rw-r--r--skeleton-conf.el39
1 files changed, 39 insertions, 0 deletions
diff --git a/skeleton-conf.el b/skeleton-conf.el
new file mode 100644
index 0000000..a1dfaaf
--- /dev/null
+++ b/skeleton-conf.el
@@ -0,0 +1,39 @@
+;;; skeleton-conf.el --- Configurations of skeletons -*- lexical-binding: t; -*-
+
+;; Copyright (C) 2021 李俊緯
+
+;; Author: 李俊緯 <mmemmew@gmail.com>
+;; Keywords: abbrev, convenience, wp
+
+;; 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:
+
+;; This is the file of my configurations of skeletons.
+
+;;; Code:
+
+;;;###autoload
+(define-skeleton insert-define-key "Insert a define-key statement."
+ "define key"
+ "(define-key "
+ '(recursive-edit)
+ " (vector "
+ '(recursive-edit)
+ ") #'"
+ '(recursive-edit)
+ ")")
+
+(provide 'skeleton-conf)
+;;; skeleton-conf.el ends here