Added auctex and yasnippets

This commit is contained in:
TuDatTr
2017-12-21 17:29:29 +01:00
parent 2c6b54e8cc
commit 6cf4b23ee2
1717 changed files with 140403 additions and 9 deletions

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: EV
# key: ev
# --
EV << "${1:string}"$0;

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: emit_signal
# key: emit
# --
emit(${1:signal_id}, ${2:long});

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: intuniform
# key: intuni
# --
intuniform(${1:0}, ${2:1})

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: math
# key: math
# --
#include <cmath>

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: nan
# key: nan
# --
isnan(${1:x})

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: omnet
# key: omnet
# --
#include <omnetpp.h>

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: parameter_omnetpp
# key: par
# --
${1:var} = par("${2:par}");

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: scheduleAt
# key: sched
# --
scheduleAt(simTime()+${1:1.0}, ${2:event});

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: uniform
# key: uni
# uniform distribution
# --
uniform(${1:0}, ${2:1})