about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2019-11-13 12:11:05 +0100
committerMichael Vetter <jubalh@iodoru.org>2019-11-13 12:11:05 +0100
commit46fd7150e5e22f986b151ef01eaffa673cff9f1e (patch)
tree0e7cdf6c1bac2c797ff3e8dbc48f6ba082514af1
parentcc164728a7db5f909f570300db74a8dc818c5407 (diff)
downloadprofani-tty-46fd7150e5e22f986b151ef01eaffa673cff9f1e.tar.gz
Add vim modeline
-rw-r--r--src/command/cmd_ac.c1
-rw-r--r--src/command/cmd_ac.h1
-rw-r--r--src/command/cmd_defs.c1
-rw-r--r--src/command/cmd_defs.h1
-rw-r--r--src/command/cmd_funcs.c1
-rw-r--r--src/command/cmd_funcs.h1
-rw-r--r--src/common.c1
-rw-r--r--src/common.h1
-rw-r--r--src/config/account.c1
-rw-r--r--src/config/account.h1
-rw-r--r--src/config/accounts.c1
-rw-r--r--src/config/accounts.h1
-rw-r--r--src/config/color.c1
-rw-r--r--src/config/color.h1
-rw-r--r--src/config/conflists.c1
-rw-r--r--src/config/conflists.h1
-rw-r--r--src/config/files.c1
-rw-r--r--src/config/files.h1
-rw-r--r--src/config/preferences.c1
-rw-r--r--src/config/preferences.h1
-rw-r--r--src/config/scripts.c1
-rw-r--r--src/config/scripts.h1
-rw-r--r--src/config/theme.c1
-rw-r--r--src/config/theme.h1
-rw-r--r--src/config/tlscerts.c1
-rw-r--r--src/config/tlscerts.h1
-rw-r--r--src/event/client_events.c1
-rw-r--r--src/event/client_events.h1
-rw-r--r--src/event/common.c1
-rw-r--r--src/event/common.h1
-rw-r--r--src/event/server_events.c1
-rw-r--r--src/event/server_events.h1
-rw-r--r--src/log.c1
-rw-r--r--src/log.h1
-rw-r--r--src/main.c1
-rw-r--r--src/omemo/crypto.c1
-rw-r--r--src/omemo/crypto.h1
-rw-r--r--src/omemo/omemo.c1
-rw-r--r--src/omemo/omemo.h1
-rw-r--r--src/omemo/store.c1
-rw-r--r--src/omemo/store.h1
-rw-r--r--src/otr/otr.c1
-rw-r--r--src/otr/otr.h1
-rw-r--r--src/otr/otrlib.h1
-rw-r--r--src/otr/otrlibv3.c1
-rw-r--r--src/otr/otrlibv4.c1
-rw-r--r--src/pgp/gpg.c1
-rw-r--r--src/pgp/gpg.h1
-rw-r--r--src/plugins/api.c1
-rw-r--r--src/plugins/api.h1
-rw-r--r--src/plugins/autocompleters.c1
-rw-r--r--src/plugins/autocompleters.h1
-rw-r--r--src/plugins/c_api.c1
-rw-r--r--src/plugins/c_api.h1
-rw-r--r--src/plugins/c_plugins.c1
-rw-r--r--src/plugins/c_plugins.h1
-rw-r--r--src/plugins/callbacks.c1
-rw-r--r--src/plugins/callbacks.h1
-rw-r--r--src/plugins/disco.c1
-rw-r--r--src/plugins/disco.h1
-rw-r--r--src/plugins/plugins.c1
-rw-r--r--src/plugins/plugins.h1
-rw-r--r--src/plugins/profapi.c1
-rw-r--r--src/plugins/profapi.h1
-rw-r--r--src/plugins/python_api.c1
-rw-r--r--src/plugins/python_api.h1
-rw-r--r--src/plugins/python_plugins.c1
-rw-r--r--src/plugins/python_plugins.h1
-rw-r--r--src/plugins/settings.c1
-rw-r--r--src/plugins/settings.h1
-rw-r--r--src/plugins/themes.c1
-rw-r--r--src/plugins/themes.h1
-rw-r--r--src/profanity.c1
-rw-r--r--src/profanity.h1
-rw-r--r--src/tools/autocomplete.c1
-rw-r--r--src/tools/autocomplete.h1
-rw-r--r--src/tools/clipboard.c1
-rw-r--r--src/tools/clipboard.h1
-rw-r--r--src/tools/http_upload.c1
-rw-r--r--src/tools/http_upload.h1
-rw-r--r--src/tools/parser.c1
-rw-r--r--src/tools/parser.h1
-rw-r--r--src/tools/tinyurl.c1
-rw-r--r--src/tools/tinyurl.h1
-rw-r--r--src/ui/buffer.c1
-rw-r--r--src/ui/buffer.h1
-rw-r--r--src/ui/chatwin.c1
-rw-r--r--src/ui/confwin.c1
-rw-r--r--src/ui/console.c1
-rw-r--r--src/ui/core.c1
-rw-r--r--src/ui/inputwin.c1
-rw-r--r--src/ui/inputwin.h1
-rw-r--r--src/ui/mucwin.c1
-rw-r--r--src/ui/notifier.c1
-rw-r--r--src/ui/occupantswin.c1
-rw-r--r--src/ui/privwin.c1
-rw-r--r--src/ui/rosterwin.c1
-rw-r--r--src/ui/screen.c1
-rw-r--r--src/ui/screen.h1
-rw-r--r--src/ui/statusbar.c1
-rw-r--r--src/ui/statusbar.h1
-rw-r--r--src/ui/titlebar.c1
-rw-r--r--src/ui/titlebar.h1
-rw-r--r--src/ui/tray.c1
-rw-r--r--src/ui/tray.h1
-rw-r--r--src/ui/ui.h1
-rw-r--r--src/ui/win_types.h1
-rw-r--r--src/ui/window.c1
-rw-r--r--src/ui/window.h1
-rw-r--r--src/ui/window_list.c1
-rw-r--r--src/ui/window_list.h1
-rw-r--r--src/ui/xmlwin.c1
-rw-r--r--src/xmpp/blocking.c1
-rw-r--r--src/xmpp/blocking.h1
-rw-r--r--src/xmpp/bookmark.c1
-rw-r--r--src/xmpp/bookmark.h1
-rw-r--r--src/xmpp/capabilities.c1
-rw-r--r--src/xmpp/capabilities.h1
-rw-r--r--src/xmpp/chat_session.c1
-rw-r--r--src/xmpp/chat_session.h1
-rw-r--r--src/xmpp/chat_state.c1
-rw-r--r--src/xmpp/chat_state.h1
-rw-r--r--src/xmpp/connection.c1
-rw-r--r--src/xmpp/connection.h1
-rw-r--r--src/xmpp/contact.c1
-rw-r--r--src/xmpp/contact.h1
-rw-r--r--src/xmpp/form.c1
-rw-r--r--src/xmpp/form.h1
-rw-r--r--src/xmpp/iq.c1
-rw-r--r--src/xmpp/iq.h1
-rw-r--r--src/xmpp/jid.c1
-rw-r--r--src/xmpp/jid.h1
-rw-r--r--src/xmpp/message.c1
-rw-r--r--src/xmpp/message.h1
-rw-r--r--src/xmpp/muc.c1
-rw-r--r--src/xmpp/muc.h1
-rw-r--r--src/xmpp/omemo.c35
-rw-r--r--src/xmpp/omemo.h35
-rw-r--r--src/xmpp/presence.c1
-rw-r--r--src/xmpp/presence.h1
-rw-r--r--src/xmpp/resource.c1
-rw-r--r--src/xmpp/resource.h1
-rw-r--r--src/xmpp/roster.c1
-rw-r--r--src/xmpp/roster.h1
-rw-r--r--src/xmpp/roster_list.c1
-rw-r--r--src/xmpp/roster_list.h1
-rw-r--r--src/xmpp/session.c1
-rw-r--r--src/xmpp/session.h1
-rw-r--r--src/xmpp/stanza.c1
149 files changed, 217 insertions, 0 deletions
diff --git a/src/command/cmd_ac.c b/src/command/cmd_ac.c
index a6fd227f..52705d5b 100644
--- a/src/command/cmd_ac.c
+++ b/src/command/cmd_ac.c
@@ -1,5 +1,6 @@
 /*
  * cmd_ac.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  * Copyright (C) 2019 Michael Vetter <jubalh@iodoru.org>
diff --git a/src/command/cmd_ac.h b/src/command/cmd_ac.h
index cb9fdee2..d6ba3e2a 100644
--- a/src/command/cmd_ac.h
+++ b/src/command/cmd_ac.h
@@ -1,5 +1,6 @@
 /*
  * cmd_ac.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c
index 6119abc5..95fd64a0 100644
--- a/src/command/cmd_defs.c
+++ b/src/command/cmd_defs.c
@@ -1,5 +1,6 @@
 /*
  * cmd_defs.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  * Copyright (C) 2019 Michael Vetter <jubalh@iodoru.org>
diff --git a/src/command/cmd_defs.h b/src/command/cmd_defs.h
index fb3a12c4..6d829adc 100644
--- a/src/command/cmd_defs.h
+++ b/src/command/cmd_defs.h
@@ -1,5 +1,6 @@
 /*
  * cmd_defs.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  * Copyright (C) 2019 Michael Vetter <jubalh@iodoru.org>
diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c
index f7d71b13..4c0b238a 100644
--- a/src/command/cmd_funcs.c
+++ b/src/command/cmd_funcs.c
@@ -1,5 +1,6 @@
 /*
  * cmd_funcs.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  * Copyright (C) 2019 Michael Vetter <jubalh@iodoru.org>
diff --git a/src/command/cmd_funcs.h b/src/command/cmd_funcs.h
index a93a1dd7..aab6aca2 100644
--- a/src/command/cmd_funcs.h
+++ b/src/command/cmd_funcs.h
@@ -1,5 +1,6 @@
 /*
  * cmd_funcs.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  * Copyright (C) 2019 Michael Vetter <jubalh@iodoru.org>
diff --git a/src/common.c b/src/common.c
index b4dfa9d4..c73c071d 100644
--- a/src/common.c
+++ b/src/common.c
@@ -1,5 +1,6 @@
 /*
  * common.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  * Copyright (C) 2019 Michael Vetter <jubalh@iodoru.org>
diff --git a/src/common.h b/src/common.h
index 38ac909b..1681d4ab 100644
--- a/src/common.h
+++ b/src/common.h
@@ -1,5 +1,6 @@
 /*
  * common.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/config/account.c b/src/config/account.c
index 84d88e64..96397954 100644
--- a/src/config/account.c
+++ b/src/config/account.c
@@ -1,5 +1,6 @@
 /*
  * account.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/config/account.h b/src/config/account.h
index 17b57a46..dd4b029e 100644
--- a/src/config/account.h
+++ b/src/config/account.h
@@ -1,5 +1,6 @@
 /*
  * account.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/config/accounts.c b/src/config/accounts.c
index fa8b9c8f..4c892a66 100644
--- a/src/config/accounts.c
+++ b/src/config/accounts.c
@@ -1,5 +1,6 @@
 /*
  * accounts.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/config/accounts.h b/src/config/accounts.h
index c1e7a5ae..0ddf3b92 100644
--- a/src/config/accounts.h
+++ b/src/config/accounts.h
@@ -1,5 +1,6 @@
 /*
  * accounts.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/config/color.c b/src/config/color.c
index 8ece8498..2315dd0b 100644
--- a/src/config/color.c
+++ b/src/config/color.c
@@ -1,5 +1,6 @@
 /*
  * color.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2019 Aurelien Aptel <aurelien.aptel@gmail.com>
  *
diff --git a/src/config/color.h b/src/config/color.h
index decdedbf..247fffaf 100644
--- a/src/config/color.h
+++ b/src/config/color.h
@@ -1,5 +1,6 @@
 /*
  * color.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2019 Aurelien Aptel <aurelien.aptel@gmail.com>
  *
diff --git a/src/config/conflists.c b/src/config/conflists.c
index e6416924..d0985669 100644
--- a/src/config/conflists.c
+++ b/src/config/conflists.c
@@ -1,5 +1,6 @@
 /*
  * conflists.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/config/conflists.h b/src/config/conflists.h
index 3b653834..a939b406 100644
--- a/src/config/conflists.h
+++ b/src/config/conflists.h
@@ -1,5 +1,6 @@
 /*
  * conflists.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/config/files.c b/src/config/files.c
index cd1c914f..25b25c54 100644
--- a/src/config/files.c
+++ b/src/config/files.c
@@ -1,5 +1,6 @@
 /*
  * files.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/config/files.h b/src/config/files.h
index 16292dc4..b5cc5e1b 100644
--- a/src/config/files.h
+++ b/src/config/files.h
@@ -1,5 +1,6 @@
 /*
  * files.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  * Copyright (C) 2018 - 2019 Michael Vetter <jubalh@idoru.org>
diff --git a/src/config/preferences.c b/src/config/preferences.c
index 052bb99a..2849a8e1 100644
--- a/src/config/preferences.c
+++ b/src/config/preferences.c
@@ -1,5 +1,6 @@
 /*
  * preferences.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  * Copyright (C) 2019 Michael Vetter <jubalh@iodoru.org>
diff --git a/src/config/preferences.h b/src/config/preferences.h
index f000fa5b..93a7aea3 100644
--- a/src/config/preferences.h
+++ b/src/config/preferences.h
@@ -1,5 +1,6 @@
 /*
  * preferences.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  * Copyright (C) 2019 Michael Vetter <jubalh@iodoru.org>
diff --git a/src/config/scripts.c b/src/config/scripts.c
index aea914b4..81115aec 100644
--- a/src/config/scripts.c
+++ b/src/config/scripts.c
@@ -1,5 +1,6 @@
 /*
  * scripts.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/config/scripts.h b/src/config/scripts.h
index ef306c37..887dc897 100644
--- a/src/config/scripts.h
+++ b/src/config/scripts.h
@@ -1,5 +1,6 @@
 /*
  * scripts.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/config/theme.c b/src/config/theme.c
index 51325f6a..04074f15 100644
--- a/src/config/theme.c
+++ b/src/config/theme.c
@@ -1,5 +1,6 @@
 /*
  * theme.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  * Copyright (C) 2019 Michael Vetter <jubalh@iodoru.org>
diff --git a/src/config/theme.h b/src/config/theme.h
index 128ef44b..edf6e6af 100644
--- a/src/config/theme.h
+++ b/src/config/theme.h
@@ -1,5 +1,6 @@
 /*
  * theme.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/config/tlscerts.c b/src/config/tlscerts.c
index 95a256b5..fb62784b 100644
--- a/src/config/tlscerts.c
+++ b/src/config/tlscerts.c
@@ -1,5 +1,6 @@
 /*
  * tlscerts.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/config/tlscerts.h b/src/config/tlscerts.h
index fcde7db0..f076c43f 100644
--- a/src/config/tlscerts.h
+++ b/src/config/tlscerts.h
@@ -1,5 +1,6 @@
 /*
  * tlscerts.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/event/client_events.c b/src/event/client_events.c
index 77b93832..8238977f 100644
--- a/src/event/client_events.c
+++ b/src/event/client_events.c
@@ -1,5 +1,6 @@
 /*
  * client_events.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  * Copyright (C) 2019 Michael Vetter <jubalh@iodoru.org>
diff --git a/src/event/client_events.h b/src/event/client_events.h
index 346cb8ff..82150f2e 100644
--- a/src/event/client_events.h
+++ b/src/event/client_events.h
@@ -1,5 +1,6 @@
 /*
  * client_events.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/event/common.c b/src/event/common.c
index f267778f..b1d6a9ef 100644
--- a/src/event/common.c
+++ b/src/event/common.c
@@ -1,5 +1,6 @@
 /*
  * common.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2019 Michael Vetter <jubalh@iodoru.org>
  *
diff --git a/src/event/common.h b/src/event/common.h
index c0b3803a..7d8a1d92 100644
--- a/src/event/common.h
+++ b/src/event/common.h
@@ -1,5 +1,6 @@
 /*
  * common.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2019 Michael Vetter <jubalh@iodoru.org>
  *
diff --git a/src/event/server_events.c b/src/event/server_events.c
index 5c6703c5..49f8fa64 100644
--- a/src/event/server_events.c
+++ b/src/event/server_events.c
@@ -1,5 +1,6 @@
 /*
  * server_events.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  * Copyright (C) 2019 Michael Vetter <jubalh@iodoru.org>
diff --git a/src/event/server_events.h b/src/event/server_events.h
index 6687960b..0292daf4 100644
--- a/src/event/server_events.h
+++ b/src/event/server_events.h
@@ -1,5 +1,6 @@
 /*
  * server_events.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/log.c b/src/log.c
index 907b732d..aa5f37b2 100644
--- a/src/log.c
+++ b/src/log.c
@@ -1,5 +1,6 @@
 /*
  * log.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  * Copyright (C) 2018 - 2019 Michael Vetter <jubalh@idoru.org>
diff --git a/src/log.h b/src/log.h
index 32d9db94..6b2f9764 100644
--- a/src/log.h
+++ b/src/log.h
@@ -1,5 +1,6 @@
 /*
  * log.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/main.c b/src/main.c
index 622544dd..6510d151 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,5 +1,6 @@
 /*
  * main.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  * Copyright (C) 2019 Michael Vetter <jubalh@iodoru.org>
diff --git a/src/omemo/crypto.c b/src/omemo/crypto.c
index 5a67c3b1..560c2be6 100644
--- a/src/omemo/crypto.c
+++ b/src/omemo/crypto.c
@@ -1,5 +1,6 @@
 /*
  * crypto.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2019 Paul Fariello <paul@fariello.eu>
  *
diff --git a/src/omemo/crypto.h b/src/omemo/crypto.h
index b720fdee..f767568c 100644
--- a/src/omemo/crypto.h
+++ b/src/omemo/crypto.h
@@ -1,5 +1,6 @@
 /*
  * crypto.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2019 Paul Fariello <paul@fariello.eu>
  *
diff --git a/src/omemo/omemo.c b/src/omemo/omemo.c
index 82e7575e..eb88cb09 100644
--- a/src/omemo/omemo.c
+++ b/src/omemo/omemo.c
@@ -1,5 +1,6 @@
 /*
  * omemo.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2019 Paul Fariello <paul@fariello.eu>
  * Copyright (C) 2019 Michael Vetter <jubalh@iodoru.org>
diff --git a/src/omemo/omemo.h b/src/omemo/omemo.h
index abe21be5..f0aaf78e 100644
--- a/src/omemo/omemo.h
+++ b/src/omemo/omemo.h
@@ -1,5 +1,6 @@
 /*
  * omemo.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2019 Paul Fariello <paul@fariello.eu>
  *
diff --git a/src/omemo/store.c b/src/omemo/store.c
index 2aabd4d5..ec39ed1b 100644
--- a/src/omemo/store.c
+++ b/src/omemo/store.c
@@ -1,5 +1,6 @@
 /*
  * store.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2019 Paul Fariello <paul@fariello.eu>
  *
diff --git a/src/omemo/store.h b/src/omemo/store.h
index f3a9274a..9b523fb6 100644
--- a/src/omemo/store.h
+++ b/src/omemo/store.h
@@ -1,5 +1,6 @@
 /*
  * store.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2019 Paul Fariello <paul@fariello.eu>
  *
diff --git a/src/otr/otr.c b/src/otr/otr.c
index d37f2130..40684857 100644
--- a/src/otr/otr.c
+++ b/src/otr/otr.c
@@ -1,5 +1,6 @@
 /*
  * otr.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/otr/otr.h b/src/otr/otr.h
index b595df50..5b9a09d3 100644
--- a/src/otr/otr.h
+++ b/src/otr/otr.h
@@ -1,5 +1,6 @@
 /*
  * otr.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/otr/otrlib.h b/src/otr/otrlib.h
index 4add81b1..3c6e02f8 100644
--- a/src/otr/otrlib.h
+++ b/src/otr/otrlib.h
@@ -1,5 +1,6 @@
 /*
  * otrlib.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/otr/otrlibv3.c b/src/otr/otrlibv3.c
index a2348c5c..2628b728 100644
--- a/src/otr/otrlibv3.c
+++ b/src/otr/otrlibv3.c
@@ -1,5 +1,6 @@
 /*
  * otrlibv3.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/otr/otrlibv4.c b/src/otr/otrlibv4.c
index 176d9a42..fbe24a47 100644
--- a/src/otr/otrlibv4.c
+++ b/src/otr/otrlibv4.c
@@ -1,5 +1,6 @@
 /*
  * otrlibv4.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/pgp/gpg.c b/src/pgp/gpg.c
index 0dbf0a8e..dc945503 100644
--- a/src/pgp/gpg.c
+++ b/src/pgp/gpg.c
@@ -1,5 +1,6 @@
 /*
  * gpg.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/pgp/gpg.h b/src/pgp/gpg.h
index 580e108a..1d3a2e95 100644
--- a/src/pgp/gpg.h
+++ b/src/pgp/gpg.h
@@ -1,5 +1,6 @@
 /*
  * gpg.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/plugins/api.c b/src/plugins/api.c
index 30511443..264077cf 100644
--- a/src/plugins/api.c
+++ b/src/plugins/api.c
@@ -1,5 +1,6 @@
 /*
  * api.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/plugins/api.h b/src/plugins/api.h
index 0ba89f59..e8dbb8fe 100644
--- a/src/plugins/api.h
+++ b/src/plugins/api.h
@@ -1,5 +1,6 @@
 /*
  * api.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/plugins/autocompleters.c b/src/plugins/autocompleters.c
index 37550208..410f57ce 100644
--- a/src/plugins/autocompleters.c
+++ b/src/plugins/autocompleters.c
@@ -1,5 +1,6 @@
 /*
  * autocompleters.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/plugins/autocompleters.h b/src/plugins/autocompleters.h
index dd811894..7dc2d41a 100644
--- a/src/plugins/autocompleters.h
+++ b/src/plugins/autocompleters.h
@@ -1,5 +1,6 @@
 /*
  * autocompleters.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/plugins/c_api.c b/src/plugins/c_api.c
index 3578d8f0..5f3c8792 100644
--- a/src/plugins/c_api.c
+++ b/src/plugins/c_api.c
@@ -1,5 +1,6 @@
 /*
  * c_api.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/plugins/c_api.h b/src/plugins/c_api.h
index dbce52e7..062f76f9 100644
--- a/src/plugins/c_api.h
+++ b/src/plugins/c_api.h
@@ -1,5 +1,6 @@
 /*
  * c_api.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/plugins/c_plugins.c b/src/plugins/c_plugins.c
index 5a3b5957..c7c1a523 100644
--- a/src/plugins/c_plugins.c
+++ b/src/plugins/c_plugins.c
@@ -1,5 +1,6 @@
 /*
  * c_plugins.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/plugins/c_plugins.h b/src/plugins/c_plugins.h
index a82e92cc..3a603364 100644
--- a/src/plugins/c_plugins.h
+++ b/src/plugins/c_plugins.h
@@ -1,5 +1,6 @@
 /*
  * c_plugins.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/plugins/callbacks.c b/src/plugins/callbacks.c
index 5eae3de9..f82a4c9b 100644
--- a/src/plugins/callbacks.c
+++ b/src/plugins/callbacks.c
@@ -1,5 +1,6 @@
 /*
  * callbacks.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/plugins/callbacks.h b/src/plugins/callbacks.h
index 783f073e..782f152b 100644
--- a/src/plugins/callbacks.h
+++ b/src/plugins/callbacks.h
@@ -1,5 +1,6 @@
 /*
  * callbacks.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/plugins/disco.c b/src/plugins/disco.c
index ae97a758..af0823f5 100644
--- a/src/plugins/disco.c
+++ b/src/plugins/disco.c
@@ -1,5 +1,6 @@
 /*
  * disco.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/plugins/disco.h b/src/plugins/disco.h
index ab19e2a0..7ea89b0d 100644
--- a/src/plugins/disco.h
+++ b/src/plugins/disco.h
@@ -1,5 +1,6 @@
 /*
  * disco.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/plugins/plugins.c b/src/plugins/plugins.c
index 19d57c44..d25b0b6e 100644
--- a/src/plugins/plugins.c
+++ b/src/plugins/plugins.c
@@ -1,5 +1,6 @@
 /*
  * plugins.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/plugins/plugins.h b/src/plugins/plugins.h
index 8b373cfe..4dfcc7aa 100644
--- a/src/plugins/plugins.h
+++ b/src/plugins/plugins.h
@@ -1,5 +1,6 @@
 /*
  * plugins.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/plugins/profapi.c b/src/plugins/profapi.c
index 53e175f9..77a1e26a 100644
--- a/src/plugins/profapi.c
+++ b/src/plugins/profapi.c
@@ -1,5 +1,6 @@
 /*
  * prof_api.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/plugins/profapi.h b/src/plugins/profapi.h
index 68469b30..cfca45c3 100644
--- a/src/plugins/profapi.h
+++ b/src/plugins/profapi.h
@@ -1,5 +1,6 @@
 /*
  * prof_api.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/plugins/python_api.c b/src/plugins/python_api.c
index b157cc62..834bd3e8 100644
--- a/src/plugins/python_api.c
+++ b/src/plugins/python_api.c
@@ -1,5 +1,6 @@
 /*
  * python_api.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/plugins/python_api.h b/src/plugins/python_api.h
index cf34c1e6..67ffb45a 100644
--- a/src/plugins/python_api.h
+++ b/src/plugins/python_api.h
@@ -1,5 +1,6 @@
 /*
  * python_api.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/plugins/python_plugins.c b/src/plugins/python_plugins.c
index fa34053c..aaee0a14 100644
--- a/src/plugins/python_plugins.c
+++ b/src/plugins/python_plugins.c
@@ -1,5 +1,6 @@
 /*
  * python_plugins.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/plugins/python_plugins.h b/src/plugins/python_plugins.h
index b5083ff0..139c4157 100644
--- a/src/plugins/python_plugins.h
+++ b/src/plugins/python_plugins.h
@@ -1,5 +1,6 @@
 /*
  * python_plugins.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/plugins/settings.c b/src/plugins/settings.c
index 6f4d37c5..5ed32426 100644
--- a/src/plugins/settings.c
+++ b/src/plugins/settings.c
@@ -1,5 +1,6 @@
 /*
  * settings.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/plugins/settings.h b/src/plugins/settings.h
index cbff1bbf..8ddb0856 100644
--- a/src/plugins/settings.h
+++ b/src/plugins/settings.h
@@ -1,5 +1,6 @@
 /*
  * settings.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/plugins/themes.c b/src/plugins/themes.c
index 756a9793..31131017 100644
--- a/src/plugins/themes.c
+++ b/src/plugins/themes.c
@@ -1,5 +1,6 @@
 /*
  * themes.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/plugins/themes.h b/src/plugins/themes.h
index 470f7926..a87d042e 100644
--- a/src/plugins/themes.h
+++ b/src/plugins/themes.h
@@ -1,5 +1,6 @@
 /*
  * themes.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/profanity.c b/src/profanity.c
index f286d3df..98886cce 100644
--- a/src/profanity.c
+++ b/src/profanity.c
@@ -1,5 +1,6 @@
 /*
  * profanity.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  * Copyright (C) 2019 Michael Vetter <jubalh@iodoru.org>
diff --git a/src/profanity.h b/src/profanity.h
index abf8a1a7..b8e4e3ff 100644
--- a/src/profanity.h
+++ b/src/profanity.h
@@ -1,5 +1,6 @@
 /*
  * profanity.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  * Copyright (C) 2019 Michael Vetter <jubalh@iodoru.org>
diff --git a/src/tools/autocomplete.c b/src/tools/autocomplete.c
index e47e704f..8b7a998c 100644
--- a/src/tools/autocomplete.c
+++ b/src/tools/autocomplete.c
@@ -1,5 +1,6 @@
 /*
  * autocomplete.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/tools/autocomplete.h b/src/tools/autocomplete.h
index a8797369..8f2e5c96 100644
--- a/src/tools/autocomplete.h
+++ b/src/tools/autocomplete.h
@@ -1,5 +1,6 @@
 /*
  * autocomplete.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/tools/clipboard.c b/src/tools/clipboard.c
index 67abd8d2..efb988a6 100644
--- a/src/tools/clipboard.c
+++ b/src/tools/clipboard.c
@@ -1,5 +1,6 @@
 /*
  * clipboard.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2019 Michael Vetter <jubalh@iodoru.org>
  *
diff --git a/src/tools/clipboard.h b/src/tools/clipboard.h
index 258b5a31..b83c8074 100644
--- a/src/tools/clipboard.h
+++ b/src/tools/clipboard.h
@@ -1,5 +1,6 @@
 /*
  * clipboard.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2019 Michael Vetter <jubalh@iodoru.org>
  *
diff --git a/src/tools/http_upload.c b/src/tools/http_upload.c
index bebb7239..79ed006c 100644
--- a/src/tools/http_upload.c
+++ b/src/tools/http_upload.c
@@ -1,5 +1,6 @@
 /*
  * http_upload.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/tools/http_upload.h b/src/tools/http_upload.h
index 7d61ea74..b9b46ca7 100644
--- a/src/tools/http_upload.h
+++ b/src/tools/http_upload.h
@@ -1,5 +1,6 @@
 /*
  * http_upload.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/tools/parser.c b/src/tools/parser.c
index 15cbeef5..aa739330 100644
--- a/src/tools/parser.c
+++ b/src/tools/parser.c
@@ -1,5 +1,6 @@
 /*
  * parser.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/tools/parser.h b/src/tools/parser.h
index 5d5c6028..4787b148 100644
--- a/src/tools/parser.h
+++ b/src/tools/parser.h
@@ -1,5 +1,6 @@
 /*
  * parser.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/tools/tinyurl.c b/src/tools/tinyurl.c
index 0750709f..955ce030 100644
--- a/src/tools/tinyurl.c
+++ b/src/tools/tinyurl.c
@@ -1,5 +1,6 @@
 /*
  * tinyurl.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/tools/tinyurl.h b/src/tools/tinyurl.h
index eb85f66f..14ac6e35 100644
--- a/src/tools/tinyurl.h
+++ b/src/tools/tinyurl.h
@@ -1,5 +1,6 @@
 /*
  * tinyurl.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/ui/buffer.c b/src/ui/buffer.c
index f24f1d8f..a4ae41da 100644
--- a/src/ui/buffer.c
+++ b/src/ui/buffer.c
@@ -1,5 +1,6 @@
 /*
  * buffer.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/ui/buffer.h b/src/ui/buffer.h
index b11a5381..67cd6d5b 100644
--- a/src/ui/buffer.h
+++ b/src/ui/buffer.h
@@ -1,5 +1,6 @@
 /*
  * buffer.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/ui/chatwin.c b/src/ui/chatwin.c
index cdd17f8d..d92f0de4 100644
--- a/src/ui/chatwin.c
+++ b/src/ui/chatwin.c
@@ -1,5 +1,6 @@
 /*
  * chatwin.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/ui/confwin.c b/src/ui/confwin.c
index 042e0f8d..9ab5a512 100644
--- a/src/ui/confwin.c
+++ b/src/ui/confwin.c
@@ -1,5 +1,6 @@
 /*
  * confwin.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/ui/console.c b/src/ui/console.c
index 1307f8f6..9d20b5f2 100644
--- a/src/ui/console.c
+++ b/src/ui/console.c
@@ -1,5 +1,6 @@
 /*
  * console.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  * Copyright (C) 2019 Michael Vetter <jubalh@iodoru.org>
diff --git a/src/ui/core.c b/src/ui/core.c
index 3e083947..2bc03b27 100644
--- a/src/ui/core.c
+++ b/src/ui/core.c
@@ -1,5 +1,6 @@
 /*
  * core.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/ui/inputwin.c b/src/ui/inputwin.c
index 5c4b6630..ca3b688c 100644
--- a/src/ui/inputwin.c
+++ b/src/ui/inputwin.c
@@ -1,5 +1,6 @@
 /*
  * inputwin.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/ui/inputwin.h b/src/ui/inputwin.h
index af53694a..3aefcc0a 100644
--- a/src/ui/inputwin.h
+++ b/src/ui/inputwin.h
@@ -1,5 +1,6 @@
 /*
  * inputwin.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/ui/mucwin.c b/src/ui/mucwin.c
index c08618ad..f2d1a946 100644
--- a/src/ui/mucwin.c
+++ b/src/ui/mucwin.c
@@ -1,5 +1,6 @@
 /*
  * mucwin.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  * Copyright (C) 2019 Michael Vetter <jubalh@iodoru.org>
diff --git a/src/ui/notifier.c b/src/ui/notifier.c
index 970d04eb..9b2714a1 100644
--- a/src/ui/notifier.c
+++ b/src/ui/notifier.c
@@ -1,5 +1,6 @@
 /*
  * notifier.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/ui/occupantswin.c b/src/ui/occupantswin.c
index a5ccb993..9b6a3f62 100644
--- a/src/ui/occupantswin.c
+++ b/src/ui/occupantswin.c
@@ -1,5 +1,6 @@
 /*
  * occupantswin.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  * Copyright (C) 2019 Michael Vetter <jubalh@iodoru.org>
diff --git a/src/ui/privwin.c b/src/ui/privwin.c
index 1ba3c0c2..b888041a 100644
--- a/src/ui/privwin.c
+++ b/src/ui/privwin.c
@@ -1,5 +1,6 @@
 /*
  * privwin.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/ui/rosterwin.c b/src/ui/rosterwin.c
index d7734174..9357814e 100644
--- a/src/ui/rosterwin.c
+++ b/src/ui/rosterwin.c
@@ -1,5 +1,6 @@
 /*
  * rosterwin.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/ui/screen.c b/src/ui/screen.c
index dfb67ad9..2e6faf4b 100644
--- a/src/ui/screen.c
+++ b/src/ui/screen.c
@@ -1,5 +1,6 @@
 /*
  * screen.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/ui/screen.h b/src/ui/screen.h
index f42cad46..b934b83e 100644
--- a/src/ui/screen.h
+++ b/src/ui/screen.h
@@ -1,5 +1,6 @@
 /*
  * screen.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/ui/statusbar.c b/src/ui/statusbar.c
index 420d3021..39b1ddbb 100644
--- a/src/ui/statusbar.c
+++ b/src/ui/statusbar.c
@@ -1,5 +1,6 @@
 /*
  * statusbar.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  * Copyright (C) 2019 Michael Vetter <jubalh@iodoru.org>
diff --git a/src/ui/statusbar.h b/src/ui/statusbar.h
index d97101e2..6c5513f9 100644
--- a/src/ui/statusbar.h
+++ b/src/ui/statusbar.h
@@ -1,5 +1,6 @@
 /*
  * statusbar.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/ui/titlebar.c b/src/ui/titlebar.c
index e1758d81..9cb2cfec 100644
--- a/src/ui/titlebar.c
+++ b/src/ui/titlebar.c
@@ -1,5 +1,6 @@
 /*
  * titlebar.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/ui/titlebar.h b/src/ui/titlebar.h
index 35c48040..d2913c99 100644
--- a/src/ui/titlebar.h
+++ b/src/ui/titlebar.h
@@ -1,5 +1,6 @@
 /*
  * titlebar.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/ui/tray.c b/src/ui/tray.c
index a40b7dec..d327fc1c 100644
--- a/src/ui/tray.c
+++ b/src/ui/tray.c
@@ -1,5 +1,6 @@
 /*
  * tray.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/ui/tray.h b/src/ui/tray.h
index 939dd4e7..89e51ec0 100644
--- a/src/ui/tray.h
+++ b/src/ui/tray.h
@@ -1,5 +1,6 @@
 /*
  * tray.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/ui/ui.h b/src/ui/ui.h
index 244d32ef..21bb1e32 100644
--- a/src/ui/ui.h
+++ b/src/ui/ui.h
@@ -1,5 +1,6 @@
 /*
  * ui.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/ui/win_types.h b/src/ui/win_types.h
index 68c7b674..5307a483 100644
--- a/src/ui/win_types.h
+++ b/src/ui/win_types.h
@@ -1,5 +1,6 @@
 /*
  * win_types.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/ui/window.c b/src/ui/window.c
index bb68f035..d4495099 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -1,5 +1,6 @@
 /*
  * window.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/ui/window.h b/src/ui/window.h
index b1e78bd9..79def390 100644
--- a/src/ui/window.h
+++ b/src/ui/window.h
@@ -1,5 +1,6 @@
 /*
  * window.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/ui/window_list.c b/src/ui/window_list.c
index 5db41b0c..180dcf3e 100644
--- a/src/ui/window_list.c
+++ b/src/ui/window_list.c
@@ -1,5 +1,6 @@
 /*
  * window_list.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  * Copyright (C) 2019 Michael Vetter <jubalh@iodoru.org>
diff --git a/src/ui/window_list.h b/src/ui/window_list.h
index 003e1dc5..c6e76cdb 100644
--- a/src/ui/window_list.h
+++ b/src/ui/window_list.h
@@ -1,5 +1,6 @@
 /*
  * window_list.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/ui/xmlwin.c b/src/ui/xmlwin.c
index 5aa19f7d..5f303de0 100644
--- a/src/ui/xmlwin.c
+++ b/src/ui/xmlwin.c
@@ -1,5 +1,6 @@
 /*
  * xmlwin.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/xmpp/blocking.c b/src/xmpp/blocking.c
index 5690839a..4ab9b344 100644
--- a/src/xmpp/blocking.c
+++ b/src/xmpp/blocking.c
@@ -1,5 +1,6 @@
 /*
  * blocking.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/xmpp/blocking.h b/src/xmpp/blocking.h
index 7b3863f1..ee4eecae 100644
--- a/src/xmpp/blocking.h
+++ b/src/xmpp/blocking.h
@@ -1,5 +1,6 @@
 /*
  * blocking.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/xmpp/bookmark.c b/src/xmpp/bookmark.c
index a1c945ec..19bb2062 100644
--- a/src/xmpp/bookmark.c
+++ b/src/xmpp/bookmark.c
@@ -1,5 +1,6 @@
 /*
  * bookmark.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/xmpp/bookmark.h b/src/xmpp/bookmark.h
index 0823aee1..c550df2a 100644
--- a/src/xmpp/bookmark.h
+++ b/src/xmpp/bookmark.h
@@ -1,5 +1,6 @@
 /*
  * bookmark.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/xmpp/capabilities.c b/src/xmpp/capabilities.c
index 5216119e..e1587ef8 100644
--- a/src/xmpp/capabilities.c
+++ b/src/xmpp/capabilities.c
@@ -1,5 +1,6 @@
 /*
  * capabilities.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/xmpp/capabilities.h b/src/xmpp/capabilities.h
index a4e25128..4cf3dd6c 100644
--- a/src/xmpp/capabilities.h
+++ b/src/xmpp/capabilities.h
@@ -1,5 +1,6 @@
 /*
  * capabilities.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/xmpp/chat_session.c b/src/xmpp/chat_session.c
index 1b57068f..3a018be8 100644
--- a/src/xmpp/chat_session.c
+++ b/src/xmpp/chat_session.c
@@ -1,5 +1,6 @@
 /*
  * chat_session.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/xmpp/chat_session.h b/src/xmpp/chat_session.h
index 564ee2b0..550858e7 100644
--- a/src/xmpp/chat_session.h
+++ b/src/xmpp/chat_session.h
@@ -1,5 +1,6 @@
 /*
  * chat_session.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/xmpp/chat_state.c b/src/xmpp/chat_state.c
index da5c1342..77945a50 100644
--- a/src/xmpp/chat_state.c
+++ b/src/xmpp/chat_state.c
@@ -1,5 +1,6 @@
 /*
  * chat_state.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/xmpp/chat_state.h b/src/xmpp/chat_state.h
index f3d3adb0..e484b284 100644
--- a/src/xmpp/chat_state.h
+++ b/src/xmpp/chat_state.h
@@ -1,5 +1,6 @@
 /*
  * chat_state.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/xmpp/connection.c b/src/xmpp/connection.c
index 17b93217..013a09e1 100644
--- a/src/xmpp/connection.c
+++ b/src/xmpp/connection.c
@@ -1,5 +1,6 @@
 /*
  * connection.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  * Copyright (C) 2018 - 2019 Michael Vetter <jubalh@idoru.org>
diff --git a/src/xmpp/connection.h b/src/xmpp/connection.h
index 3f15df82..3a4dc133 100644
--- a/src/xmpp/connection.h
+++ b/src/xmpp/connection.h
@@ -1,5 +1,6 @@
 /*
  * connection.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/xmpp/contact.c b/src/xmpp/contact.c
index 49d0786c..31568237 100644
--- a/src/xmpp/contact.c
+++ b/src/xmpp/contact.c
@@ -1,5 +1,6 @@
 /*
  * contact.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/xmpp/contact.h b/src/xmpp/contact.h
index d3b2dee3..28b6e60c 100644
--- a/src/xmpp/contact.h
+++ b/src/xmpp/contact.h
@@ -1,5 +1,6 @@
 /*
  * contact.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/xmpp/form.c b/src/xmpp/form.c
index d0b9feac..0e778ad3 100644
--- a/src/xmpp/form.c
+++ b/src/xmpp/form.c
@@ -1,5 +1,6 @@
 /*
  * form.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/xmpp/form.h b/src/xmpp/form.h
index 04af8f6b..4b61b4c2 100644
--- a/src/xmpp/form.h
+++ b/src/xmpp/form.h
@@ -1,5 +1,6 @@
 /*
  * form.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/xmpp/iq.c b/src/xmpp/iq.c
index e0936324..1ae9d02c 100644
--- a/src/xmpp/iq.c
+++ b/src/xmpp/iq.c
@@ -1,5 +1,6 @@
 /*
  * iq.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/xmpp/iq.h b/src/xmpp/iq.h
index bc273db4..eba79034 100644
--- a/src/xmpp/iq.h
+++ b/src/xmpp/iq.h
@@ -1,5 +1,6 @@
 /*
  * iq.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/xmpp/jid.c b/src/xmpp/jid.c
index 25067050..a427a318 100644
--- a/src/xmpp/jid.c
+++ b/src/xmpp/jid.c
@@ -1,5 +1,6 @@
 /*
  * jid.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/xmpp/jid.h b/src/xmpp/jid.h
index 4af0e381..dd9361a2 100644
--- a/src/xmpp/jid.h
+++ b/src/xmpp/jid.h
@@ -1,5 +1,6 @@
 /*
  * jid.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/xmpp/message.c b/src/xmpp/message.c
index b6f7f5c7..18182e0c 100644
--- a/src/xmpp/message.c
+++ b/src/xmpp/message.c
@@ -1,5 +1,6 @@
 /*
  * message.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/xmpp/message.h b/src/xmpp/message.h
index 7faa45d7..aa82b2cf 100644
--- a/src/xmpp/message.h
+++ b/src/xmpp/message.h
@@ -1,5 +1,6 @@
 /*
  * message.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/xmpp/muc.c b/src/xmpp/muc.c
index 1d773479..f8b2582e 100644
--- a/src/xmpp/muc.c
+++ b/src/xmpp/muc.c
@@ -1,5 +1,6 @@
 /*
  * muc.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/xmpp/muc.h b/src/xmpp/muc.h
index 4b49a954..35e90aaa 100644
--- a/src/xmpp/muc.h
+++ b/src/xmpp/muc.h
@@ -1,5 +1,6 @@
 /*
  * muc.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/xmpp/omemo.c b/src/xmpp/omemo.c
index e3c79722..22935c0d 100644
--- a/src/xmpp/omemo.c
+++ b/src/xmpp/omemo.c
@@ -1,3 +1,38 @@
+/*
+ * omemo.c
+ * vim: expandtab:ts=4:sts=4:sw=4
+ *
+ * Copyright (C) 2019 Paul Fariello <paul@fariello.eu>
+ *
+ * This file is part of Profanity.
+ *
+ * Profanity is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Profanity is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Profanity.  If not, see <https://www.gnu.org/licenses/>.
+ *
+ * In addition, as a special exception, the copyright holders give permission to
+ * link the code of portions of this program with the OpenSSL library under
+ * certain conditions as described in each individual source file, and
+ * distribute linked combinations including the two.
+ *
+ * You must obey the GNU General Public License in all respects for all of the
+ * code used other than OpenSSL. If you modify file(s) with this exception, you
+ * may extend this exception to your version of the file(s), but you are not
+ * obligated to do so. If you do not wish to do so, delete this exception
+ * statement from your version. If you delete this exception statement from all
+ * source files in the program, then also delete it here.
+ *
+ */
+
 #include <glib.h>
 
 #include "log.h"
diff --git a/src/xmpp/omemo.h b/src/xmpp/omemo.h
index 8d796a02..bc025519 100644
--- a/src/xmpp/omemo.h
+++ b/src/xmpp/omemo.h
@@ -1,3 +1,38 @@
+/*
+ * omemo.h
+ * vim: expandtab:ts=4:sts=4:sw=4
+ *
+ * Copyright (C) 2019 Paul Fariello <paul@fariello.eu>
+ *
+ * This file is part of Profanity.
+ *
+ * Profanity is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Profanity is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Profanity.  If not, see <https://www.gnu.org/licenses/>.
+ *
+ * In addition, as a special exception, the copyright holders give permission to
+ * link the code of portions of this program with the OpenSSL library under
+ * certain conditions as described in each individual source file, and
+ * distribute linked combinations including the two.
+ *
+ * You must obey the GNU General Public License in all respects for all of the
+ * code used other than OpenSSL. If you modify file(s) with this exception, you
+ * may extend this exception to your version of the file(s), but you are not
+ * obligated to do so. If you do not wish to do so, delete this exception
+ * statement from your version. If you delete this exception statement from all
+ * source files in the program, then also delete it here.
+ *
+ */
+
 #include <glib.h>
 
 #include "xmpp/iq.h"
diff --git a/src/xmpp/presence.c b/src/xmpp/presence.c
index 0468dd3d..3eab43a8 100644
--- a/src/xmpp/presence.c
+++ b/src/xmpp/presence.c
@@ -1,5 +1,6 @@
 /*
  * presence.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/xmpp/presence.h b/src/xmpp/presence.h
index cbdfd20b..c6810c4e 100644
--- a/src/xmpp/presence.h
+++ b/src/xmpp/presence.h
@@ -1,5 +1,6 @@
 /*
  * presence.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/xmpp/resource.c b/src/xmpp/resource.c
index fc6b503e..774c8e23 100644
--- a/src/xmpp/resource.c
+++ b/src/xmpp/resource.c
@@ -1,5 +1,6 @@
 /*
  * resource.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/xmpp/resource.h b/src/xmpp/resource.h
index ef934c2b..ce01203f 100644
--- a/src/xmpp/resource.h
+++ b/src/xmpp/resource.h
@@ -1,5 +1,6 @@
 /*
  * resource.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/xmpp/roster.c b/src/xmpp/roster.c
index e2f4bcca..dd1b3747 100644
--- a/src/xmpp/roster.c
+++ b/src/xmpp/roster.c
@@ -1,5 +1,6 @@
 /*
  * roster.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/xmpp/roster.h b/src/xmpp/roster.h
index 969044a4..d516fa97 100644
--- a/src/xmpp/roster.h
+++ b/src/xmpp/roster.h
@@ -1,5 +1,6 @@
 /*
  * roster.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/xmpp/roster_list.c b/src/xmpp/roster_list.c
index 82c2f073..5c66f8b3 100644
--- a/src/xmpp/roster_list.c
+++ b/src/xmpp/roster_list.c
@@ -1,5 +1,6 @@
 /*
  * roster_list.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/xmpp/roster_list.h b/src/xmpp/roster_list.h
index 93f1253e..058a4fc5 100644
--- a/src/xmpp/roster_list.h
+++ b/src/xmpp/roster_list.h
@@ -1,5 +1,6 @@
 /*
  * roster_list.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/xmpp/session.c b/src/xmpp/session.c
index 1d873012..0616f7a8 100644
--- a/src/xmpp/session.c
+++ b/src/xmpp/session.c
@@ -1,5 +1,6 @@
 /*
  * session.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/xmpp/session.h b/src/xmpp/session.h
index 53200939..62ee9b10 100644
--- a/src/xmpp/session.h
+++ b/src/xmpp/session.h
@@ -1,5 +1,6 @@
 /*
  * session.h
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *
diff --git a/src/xmpp/stanza.c b/src/xmpp/stanza.c
index bead38d4..9fe5b0e9 100644
--- a/src/xmpp/stanza.c
+++ b/src/xmpp/stanza.c
@@ -1,5 +1,6 @@
 /*
  * stanza.c
+ * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
  *