summaryrefslogtreecommitdiff
path: root/config/emacs/abbrev_defs
diff options
context:
space:
mode:
authorThomas Ulmer <thomas.ulmer@redflagai.co>2026-02-11 15:37:32 -0800
committerThomas Ulmer <thomas.ulmer@redflagai.co>2026-02-11 16:02:01 -0800
commit67722ddb4200433493fecf5cfbac3690ef515f47 (patch)
treededd03202b9e4cfcb2f0b92d4a62aca963e68bdc /config/emacs/abbrev_defs
parente1740f662083ebcd5573e6876ad3ecc8a8488cd9 (diff)
emacs various prog tweaks and abbrevs
Diffstat (limited to 'config/emacs/abbrev_defs')
-rw-r--r--config/emacs/abbrev_defs25
1 files changed, 25 insertions, 0 deletions
diff --git a/config/emacs/abbrev_defs b/config/emacs/abbrev_defs
new file mode 100644
index 0000000..f7e175d
--- /dev/null
+++ b/config/emacs/abbrev_defs
@@ -0,0 +1,25 @@
+;; -*- coding: utf-8; lexical-binding: t -*-
+(define-abbrev-table 'c-mode-abbrev-table
+ '(
+ ("i16" "int16_t" nil :count 0)
+ ("i32" "int32_t" nil :count 1)
+ ("i64" "int64_t" nil :count 0)
+ ("i8" "int8_t" nil :count 1)
+ ("u16" "uint16_t" nil :count 0)
+ ("u32" "uint32_t" nil :count 0)
+ ("u64" "uint64_t" nil :count 0)
+ ("u8" "uint8_t" nil :count 2)
+ ))
+
+(define-abbrev-table 'c++-mode-abbrev-table
+'(
+("i16" "int16_t" nil :count 0)
+("i32" "int32_t" nil :count 1)
+("i64" "int64_t" nil :count 0)
+("i8" "int8_t" nil :count 1)
+("u16" "uint16_t" nil :count 0)
+("u32" "uint32_t" nil :count 0)
+("u64" "uint64_t" nil :count 0)
+("u8" "uint8_t" nil :count 2)
+))
+