mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-24 03:50:24 +10:00
Moving to Doom Emacs!
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# group: file templates
|
||||
# contributor: Henrik Lissner
|
||||
# --
|
||||
#include "`(file-name-nondirectory (file-name-sans-extension (buffer-file-name)))`.h"
|
||||
|
||||
$0
|
||||
@@ -0,0 +1,10 @@
|
||||
# -*- mode: snippet -*-
|
||||
# group: file templates
|
||||
# contributor: Henrik Lissner
|
||||
# --
|
||||
#ifndef ${1:__`(upcase (file-name-base buffer-file-name))`_H_$(upcase yas-text)}
|
||||
#define $1
|
||||
|
||||
$0
|
||||
|
||||
#endif // $1
|
||||
@@ -0,0 +1,13 @@
|
||||
# -*- mode: snippet -*-
|
||||
# group: file templates
|
||||
# contributor: Henrik Lissner
|
||||
# --
|
||||
#include <iostream>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
$0
|
||||
|
||||
return 0;
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
# -*- mode: snippet -*-
|
||||
# group: file templates
|
||||
# contributor: Henrik Lissner
|
||||
# --
|
||||
#include <Windows.h>
|
||||
|
||||
int CALLBACK WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
|
||||
{
|
||||
$0
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user