diff --git a/config/.local/share/ranger/bookmarks b/config/.local/share/ranger/bookmarks index 5fedd5b..73b4c2a 100644 --- a/config/.local/share/ranger/bookmarks +++ b/config/.local/share/ranger/bookmarks @@ -9,5 +9,5 @@ t:/home/tuan/Templates w:/home/tuan/workspace_l/Projects k:/home/tuan/Documents/Uni/Studium/2017&2018 Wintersemester/Rechnerstrukturen und Betriebssysteme [4,0]/Rechnerstrukturen q:/home/tuan/.nextcloud/Quick Drop -':/home/tuan/.dotfiles/vim/.vim +':/home/tuan/.dotfiles/emacs/.emacs.d/snippets e:/home/tuan/Documents/CTF/TryHackMe/Ice/2_Recon diff --git a/emacs/.emacs.d/snippets/c-mode/template b/emacs/.emacs.d/snippets/c-mode/template new file mode 100644 index 0000000..387a78d --- /dev/null +++ b/emacs/.emacs.d/snippets/c-mode/template @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# name: template +# key: templat +# -- +#include + +int main(int argc, char *argv[]){ + $0 +} \ No newline at end of file diff --git a/emacs/.emacs.d/snippets/makefile-mode/template b/emacs/.emacs.d/snippets/makefile-mode/template index 478c59f..6bfb295 100644 --- a/emacs/.emacs.d/snippets/makefile-mode/template +++ b/emacs/.emacs.d/snippets/makefile-mode/template @@ -1,3 +1,7 @@ +# -*- mode: snippet -*- +# name: template +# key: template +# -- CC = gcc CFLAGS = RM = rm diff --git a/emacs/.emacs.d/snippets/org-mode/template b/emacs/.emacs.d/snippets/org-mode/template new file mode 100644 index 0000000..ebef253 --- /dev/null +++ b/emacs/.emacs.d/snippets/org-mode/template @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: template +# key: template +# -- +#+TITLE: $0 +#+SETUPFILE: $HOME/Templates/Org-Mode/setupfile.org \ No newline at end of file diff --git a/emacs/.emacs.d/snippets/sh-mode/bang b/emacs/.emacs.d/snippets/sh-mode/bang deleted file mode 100644 index 5e11f0e..0000000 --- a/emacs/.emacs.d/snippets/sh-mode/bang +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: bang -# key: ! -# -- -#!/usr/bin/env bash -$0 \ No newline at end of file diff --git a/emacs/.emacs.d/snippets/sh-mode/template b/emacs/.emacs.d/snippets/sh-mode/template new file mode 100644 index 0000000..689fd38 --- /dev/null +++ b/emacs/.emacs.d/snippets/sh-mode/template @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: template +# key: template +# -- +#!/bin/bash +$0 \ No newline at end of file