From 95824d350a584c1c8c9bd125ea739d21112e0eb3 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Mon, 6 Feb 2017 10:42:20 +0100 Subject: [PATCH] hlsearch and mappings --- vimrc | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/vimrc b/vimrc index 2e5acf3..1efe487 100644 --- a/vimrc +++ b/vimrc @@ -355,6 +355,14 @@ map :!phpmd % text /usr/share/phpmd/psr2.xml \| cut -d: -f2- map :!php -l % map :w map :call PhpInsertUse() + +vmap cc :s/_\([a-z]\)/\U\1/g +vmap sc :s/\([A-Z]\)/_\L\1/g +vmap lc sc +nmap cc viwcc +nmap sc viwsc +nmap lc viwsc + nnoremap :GundoToggle inoremap :call align()a @@ -386,10 +394,11 @@ set wildmenu set cursorline set guipty set fdc=2 -" set guifont=Consolas\ 13 -set guifont=Fantasque\ Sans\ Mono\ 14 set splitbelow set splitright +set hlsearch +" set guifont=Consolas\ 13 +set guifont=Fantasque\ Sans\ Mono\ 14 autocmd FileType php setlocal expandtab autocmd FileType javascript setlocal expandtab