diff --git a/.vimrc b/.vimrc
index 22a7898152eb06fdcf6ea7d431a18744e1bab892..03380deac05e19fe5a3b05e4cb4815ad73113b1e 100644
--- a/.vimrc
+++ b/.vimrc
@@ -444,10 +444,18 @@ set nobackup
 filetype plugin indent on
 
 if has('autocmd')
+    " Search for 'message =' AND search if '# Hunks' exists in file
+    " set filetype to "pijul" and change colorscheme
+    autocmd BufNewFile,BufRead /tmp/.tmp*
+        \ if search('message =', 'nw') && search ('# Hunks', 'nw') |
+            \ setlocal filetype=pijul | endif
+    " Further matches on now set Filetype also possible
+    " autocmd FileType pijul colorscheme desert
     autocmd Filetype python setlocal expandtab tabstop=4 shiftwidth=4
     autocmd FileType json syntax match Comment +\/\/.\+$+
 endif
 
+
 "au BufNewFile,BufRead *.py set tabstop=4
             "\ softtabstop=4
             "\ shiftwidth=4