diff --git a/pearrc b/pearrc index 38e3f73..c7ac072 100644 --- a/pearrc +++ b/pearrc @@ -1,2 +1,2 @@ #PEAR_Config 0.9 -a:2:{s:10:"__channels";a:2:{s:12:"pecl.php.net";a:0:{}s:5:"__uri";a:0:{}}s:7:"php_ini";s:22:"/usr/local/etc/php.ini";} \ No newline at end of file +a:2:{s:10:"__channels";a:2:{s:12:"pecl.php.net";a:0:{}s:5:"__uri";a:0:{}}s:7:"php_ini";s:22:"/usr/local/etc/php.ini";} diff --git a/profile b/profile index 8745434..2d00ff9 100644 --- a/profile +++ b/profile @@ -24,6 +24,9 @@ alias mysqlstop='mysql.server stop' alias devstart='apachestart && mysqlstart' alias devstop='apachestop && mysqlstop' +# start virtuoso +alias virt='cd /usr/local/Cellar/virtuoso/6.1.5/var/lib/virtuoso/db/ && virtuoso -df' + # dnsflush-shortcut alias dnsflush='sudo dscacheutil -flushcache' diff --git a/vimrc b/vimrc index 7407e30..9452f7c 100644 --- a/vimrc +++ b/vimrc @@ -104,7 +104,7 @@ vnoremap / /\v nnoremap nnoremap W " custom shift-tab mapping -- opens new { } and blank line -imap $a {}k0lli +inoremap $a {}k0lli " Search mappings: These will make it so that going to the next one in a " search will center on the line it's found in. @@ -112,18 +112,21 @@ nnoremap N Nzz nnoremap n nzz " Adjust viewports to the same size -nnoremap = = -inoremap = = +nnoremap = = +inoremap = = " reset search -nnoremap :noh +nnoremap :noh " open new vertical split and change to split nnoremap v vl nnoremap s sj " Opens an edit command with the path of the currently edited file filled in -nnoremap e :e =expand("%:p:h") . "/" +nnoremap e :e =expand("%:p:h") . "/" + +" start a new document-wide seach-replace +nnoremap f :%s/\v " dont use the arrow keys. LEARN VIM nnoremap @@ -133,7 +136,7 @@ inoremap inoremap inoremap -nmap p +nmap p " but use them for usefull stuff -- switching buffers nnoremap :bp @@ -184,7 +187,7 @@ let NERDTreeShowHidden=1 " ZoomWin configuration -nnoremap z :ZoomWin +nnoremap z :ZoomWin " TComment nnoremap / :TComment @@ -197,7 +200,7 @@ nnoremap r :wall :RRB let g:RefreshRunningBrowserDefault = 'chrome' " easymotion config leader m -let g:EasyMotion_leader_key = 'm' +let g:EasyMotion_leader_key = 'm' " Enable syntastic syntax checking " no checking for xhtml/html -- because of fluidtemplate for TYPO3 @@ -232,7 +235,7 @@ let g:tagbar_compact=1 nnoremap d :cd %:p:h:pwd " CtrlP -let g:ctrlp_map = 't' +let g:ctrlp_map = 't' let g:ctrlp_working_path_mode = 0 let g:ctrlp_max_height = 12 let g:ctrlp_custom_ignore = '\.git$\|\.hg$\|\.svn$\|\.sass-cache$'