diff --git a/.vim/snipps/blade.snippets b/.vim/snipps/blade.snippets
new file mode 100644
index 0000000..cc81bb8
--- /dev/null
+++ b/.vim/snipps/blade.snippets
@@ -0,0 +1,21 @@
+extends php, html
+snippet var "Display Variable"
+{{ $1 }} $0
+endsnippet
+
+snippet each "For Each Loop"
+@foreach ($1 as $2)
+ $0
+@endforeach
+endsnippet
+
+snippet sec "Section"
+@section('$1')
+$0
+@endsection
+endsnippet
+
+snippet ext "extends statement"
+@extends('$1')
+$0
+endsnippet
diff --git a/.vim/snipps/css.snippets b/.vim/snipps/css.snippets
new file mode 100644
index 0000000..1b490ac
--- /dev/null
+++ b/.vim/snipps/css.snippets
@@ -0,0 +1,5 @@
+snippet id "rule for id"
+#$1 {
+ $0
+}
+endsnippet
diff --git a/.vim/snipps/html.snippets b/.vim/snipps/html.snippets
new file mode 100644
index 0000000..092c962
--- /dev/null
+++ b/.vim/snipps/html.snippets
@@ -0,0 +1,22 @@
+extends css
+snippet div "Div container"
+
+ $0
+
+endsnippet
+
+snippet tag "generic Element"
+<${1:tag}${2: class="$3"}>
+ $0
+$1>
+endsnippet
+
+snippet tagi "generic inline Element"
+<${1:tag}${2: class="$3"}>$4$1>$0
+endsnippet
+
+snippet lin "link element"
+
+ $0
+
+endsnippet
diff --git a/.vim/snipps/php.snippets b/.vim/snipps/php.snippets
new file mode 100644
index 0000000..45a4f0e
--- /dev/null
+++ b/.vim/snipps/php.snippets
@@ -0,0 +1,13 @@
+extends html
+snippet pubf "Public Function"
+public function $1($2) {
+ $0
+}
+endsnippet
+
+snippet prif "Private Function"
+private function $1($2) {
+ $0
+}
+endsnippet
+
diff --git a/.vim/snipps/vim.snippets b/.vim/snipps/vim.snippets
new file mode 100644
index 0000000..ad2afcc
--- /dev/null
+++ b/.vim/snipps/vim.snippets
@@ -0,0 +1,4 @@
+snippet plug "Plugin Snippet"
+" $1
+Plugin '$0'
+endsnippet
diff --git a/.vimrc b/.vimrc
index d9e8780..5907576 100644
--- a/.vimrc
+++ b/.vimrc
@@ -21,6 +21,9 @@ Plugin 'docunext/closetag.vim'
" brackets management
Plugin 'machakann/vim-sandwich'
+" snippets
+Plugin 'SirVer/ultisnips'
+
" WINDOW MANAGEMENT
" tmux navigator
Plugin 'christoomey/vim-tmux-navigator'
@@ -242,8 +245,6 @@ let g:gitgutter_sign_added = '∙'
let g:gitgutter_sign_modified = '∙'
let g:gitgutter_sign_removed = '∙'
let g:gitgutter_sign_modified_removed = '∙'
-nmap ]g :GitGutterNextHunk
-nmap [g :GitGutterPrevHunk
augroup VimDiff
autocmd!
autocmd VimEnter,FilterWritePre * if &diff | GitGutterDisable | endif
@@ -267,3 +268,13 @@ nmap b :ALEFix
nnoremap l :lnext
nnoremap p :lprevious
+" UltiSnip setup
+
+" Trigger configuration
+let g:UltiSnipsExpandTrigger=""
+let g:UltiSnipsJumpForwardTrigger=""
+let g:UltiSnipsJumpBackwardTrigger=""
+
+" If you want :UltiSnipsEdit to split your window.
+let g:UltiSnipsEditSplit="vertical"
+let g:UltiSnipsSnippetDirectories=[$HOME."/.vim/snipps"]