dotfiles

My opinionated dotfiles
git clone git://git.erethon.com/dotfiles
Log | Files | Refs

commit da9db940b3c79c5ba7fcc96233184d89c34a6883
parent 31311cb66ad2ae07c1073f8058c17e16a4ed2629
Author: Dionysis Grigoropoulos <info@erethon.com>
Date:   Thu,  7 May 2015 23:52:43 +0300

vimrc: Add function to set coding style to js/php

Diffstat:
.vimrc | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/.vimrc b/.vimrc @@ -112,9 +112,19 @@ function Kernel() set cinoptions=:0,l1,t0,g0,(0 endfunction +" Set options JS and PHP coding style +function JSphp() + set expandtab + set tabstop=4 + set softtabstop=4 + set shiftwidth=4 +endfunction + "Go in kernel mode coding style map <F8> :call Kernel() <Enter> +"Go in js/php mode coding style +map <F9> :call JSphp() <Enter> """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Settings """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""