adding some tweaks i guess
This commit is contained in:
parent
458911f139
commit
acd99a5c59
3 changed files with 95 additions and 13 deletions
34
templates
34
templates
|
@ -1,4 +1,4 @@
|
|||
;; -*- mode: lisp -*
|
||||
;; -*- lisp-data -*-
|
||||
|
||||
fundamental-mode ;; Available everywhere
|
||||
|
||||
|
@ -70,13 +70,11 @@ c-mode :condition (re-search-backward "^\\w*$" (line-beginning-position) 'noerro
|
|||
(inc "#include <" (p (concat (file-name-base (or (buffer-file-name) (buffer-name))) ".h")) ">")
|
||||
(incc "#include \"" (p (concat (file-name-base (or (buffer-file-name) (buffer-name))) ".h")) "\"")
|
||||
|
||||
c++-mode
|
||||
|
||||
(Q_PROP "Q_PROPERTY(" (p "type") " " (p "name") " READ " (p "name") " WRITE set" (p "name") " NOTIFY " (p "name") "CHANGED)")
|
||||
|
||||
org-mode
|
||||
|
||||
(title "#+title: " p n "#+author: Chris Cochrun" n n)
|
||||
(drawer ":" p ":" n r ":end:")
|
||||
(begin "#+begin_" (s name) n> r> n "#+end_" name)
|
||||
(quote "#+begin_quote" n> r> n> "#+end_quote")
|
||||
(example "#+begin_example" n> r> n> "#+end_example")
|
||||
(center "#+begin_center" n> r> n> "#+end_center")
|
||||
|
@ -93,3 +91,29 @@ web-mode
|
|||
(div "<div class=\""p"\">" n> r> n> "</div>" n)
|
||||
(input "<input type=\""p"\" id=\""p"\" name=\""p"\" class=\""p"\">")
|
||||
(label "<label for=\""p"\" class=\""p"\">")
|
||||
|
||||
c++-mode
|
||||
|
||||
(qprop "Q_PROPERTY(" (p "type") " " (p "name") " READ " (p "name") " WRITE set" (p "name") " NOTIFY " (p "name") "CHANGED)")
|
||||
|
||||
qml-mode
|
||||
|
||||
(rectangle "Rectangle {" n> "id: " r n "}">)
|
||||
(item "Item {" n> "id: " r n "}">)
|
||||
(row "RowLayout {" n> "id: " r n "}">)
|
||||
(column "ColumnLayout {" n> "id: " r n "}">)
|
||||
(grid "GridLayout {" n> "id: " r n "}">)
|
||||
(component "Component {" n> "id: " r n "}">)
|
||||
(filedialog "FileDialog {" n> "id: " r n "}">)
|
||||
(label "Controls.Label {" n> "id: " r n "}">)
|
||||
(cbutton "Controls.ToolButton {" n> "id: " r n "}">)
|
||||
(toolbar "Controls.ToolBar {" n> "id: " r n "}">)
|
||||
(toolsep "Controls.ToolSeparator {" n> "id: " r n "}">)
|
||||
(popup "Controls.Popup {" n> "id: " r n "}">)
|
||||
(combobox "Controls.ComboBox {" n> "id: " r n "}">)
|
||||
(textfield "Controls.TextField {" n> "id: " r n "}">)
|
||||
(textarea "Controls.TextArea {" n> "id: " r n "}">)
|
||||
(sheet "Kirigami.OverlaySheet {" n> "id: " r n "}">)
|
||||
(action "Kirigami.Action {" n> "id: " r n "}">)
|
||||
(icon "Kirigami.Icon {" n> "id: " r n "}">)
|
||||
(search "Kirigami.SearchField {" n> "id: " r n "}">)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue