adding temel stuff

This commit is contained in:
Chris Cochrun 2022-04-26 12:41:51 -05:00
parent e55f0300ca
commit e9a5ac733d
3 changed files with 27 additions and 5 deletions

View file

@ -70,6 +70,10 @@ 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)