Add config.org + replace setup-editing/general.el
This commit is contained in:
parent
ae07ba56ef
commit
3abf958cc8
7 changed files with 454 additions and 325 deletions
8
plugins/yasnippet/c-mode/fori
Normal file
8
plugins/yasnippet/c-mode/fori
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# -*- mode: snippet -*-
|
||||
# name: for with loop variable
|
||||
# key: fori
|
||||
# --
|
||||
|
||||
for (${1:int i = 0}; ${2:i < N}; ${3:++i}) {
|
||||
$0
|
||||
}
|
||||
9
plugins/yasnippet/c-mode/oncekl
Normal file
9
plugins/yasnippet/c-mode/oncekl
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#name : #ifndef XXX; #define XXX; #endif
|
||||
# key: oncekl
|
||||
# --
|
||||
#ifndef ${1:`(upcase (file-name-nondirectory (file-name-sans-extension (or (buffer-file-name) ""))))`_H_}
|
||||
#define $1
|
||||
|
||||
$0
|
||||
|
||||
#endif /* $1 */
|
||||
Loading…
Add table
Add a link
Reference in a new issue