Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
PedroTroller committed Oct 8, 2014
1 parent 2c413c3 commit 7860d61
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Symlink/vim/UltiSnips/twig/form.snippets
Expand Up @@ -9,3 +9,7 @@ endsnippet
snippet row
{{ form_row(${1}) }}
endsnippet

snippet errors
{{ form_errors(${1}) }}
endsnippet
5 changes: 5 additions & 0 deletions Symlink/vim/UltiSnips/twig/macro.snippets
@@ -0,0 +1,5 @@
snippet macro
{% macro ${1}(${2}) %}
${3}
{% endmacro %}
endsnippet
9 changes: 8 additions & 1 deletion Symlink/vimrc
Expand Up @@ -353,7 +353,7 @@ endfunction

autocmd FileType yaml :nmap <silent> <leader>ao :call OrderYmlServices()<CR>
nmap <buffer> <leader>sp :execute ":! cowsay ".@%." && phpspec run ".@%<CR>
nmap <buffer> <leader>sp :execute ":! cowsay ".@%." && phpspec run ".@%." -fpretty"<CR>
inoremap <silent> <Bar> <Bar><Esc>:call <SID>align()<CR>a
Expand All @@ -368,6 +368,13 @@ function! s:align()
endif
endfunction

function! s:myGrep(str)
execute ":grep -ri ./ ".str
execute ":cw"
endfunction

command! -nargs=1 Gp call s:myGrep(<f-args>)

nmap <Leader>a= :Tabularize /=<CR>
vmap <Leader>a= :Tabularize /=<CR>
nmap <Leader>a: :Tabularize /: \zs<CR>
Expand Down

0 comments on commit 7860d61

Please sign in to comment.