mirror of
https://github.com/webgefrickel/dotfiles
synced 2024-11-11 07:10:40 +00:00
virtuoso alias, vim-search-shortcut leader-lowercase etc
This commit is contained in:
parent
f02a81ab4a
commit
43bf241097
2
pearrc
2
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";}
|
||||
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";}
|
||||
|
3
profile
3
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'
|
||||
|
||||
|
21
vimrc
21
vimrc
@ -104,7 +104,7 @@ vnoremap / /\v
|
||||
nnoremap <tab> <C-w><C-w>
|
||||
nnoremap <S-tab> <C-w>W
|
||||
" custom shift-tab mapping -- opens new { } and blank line
|
||||
imap <S-Tab> <Esc>$a {<CR><CR>}<Esc>k0lli
|
||||
inoremap <S-Tab> <Esc>$a {<CR><CR>}<Esc>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 <Leader>= <C-w>=
|
||||
inoremap <Leader>= <Esc> <C-w>=
|
||||
nnoremap <leader>= <C-w>=
|
||||
inoremap <leader>= <Esc> <C-w>=
|
||||
|
||||
" reset search
|
||||
nnoremap <Leader><space> :noh<cr>
|
||||
nnoremap <leader><space> :noh<cr>
|
||||
|
||||
" open new vertical split and change to split
|
||||
nnoremap <leader>v <C-w>v<C-w>l
|
||||
nnoremap <leader>s <C-w>s<C-w>j
|
||||
|
||||
" Opens an edit command with the path of the currently edited file filled in
|
||||
nnoremap <Leader>e :e <C-R>=expand("%:p:h") . "/" <CR>
|
||||
nnoremap <leader>e :e <C-R>=expand("%:p:h") . "/" <CR>
|
||||
|
||||
" start a new document-wide seach-replace
|
||||
nnoremap <leader>f :%s/\v
|
||||
|
||||
" dont use the arrow keys. LEARN VIM
|
||||
nnoremap <up> <nop>
|
||||
@ -133,7 +136,7 @@ inoremap <down> <nop>
|
||||
inoremap <left> <nop>
|
||||
inoremap <right> <nop>
|
||||
|
||||
nmap <Leader>p <C-^>
|
||||
nmap <leader>p <C-^>
|
||||
|
||||
" but use them for usefull stuff -- switching buffers
|
||||
nnoremap <left> :bp<cr>
|
||||
@ -184,7 +187,7 @@ let NERDTreeShowHidden=1
|
||||
|
||||
|
||||
" ZoomWin configuration
|
||||
nnoremap <Leader>z :ZoomWin<CR>
|
||||
nnoremap <leader>z :ZoomWin<CR>
|
||||
|
||||
" TComment
|
||||
nnoremap <leader>/ :TComment<CR>
|
||||
@ -197,7 +200,7 @@ nnoremap <silent><leader>r :wall<CR> :RRB<CR>
|
||||
let g:RefreshRunningBrowserDefault = 'chrome'
|
||||
|
||||
" easymotion config leader m
|
||||
let g:EasyMotion_leader_key = '<Leader>m'
|
||||
let g:EasyMotion_leader_key = '<leader>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 <leader>d :cd %:p:h<CR>:pwd<CR>
|
||||
|
||||
" CtrlP
|
||||
let g:ctrlp_map = '<Leader>t'
|
||||
let g:ctrlp_map = '<leader>t'
|
||||
let g:ctrlp_working_path_mode = 0
|
||||
let g:ctrlp_max_height = 12
|
||||
let g:ctrlp_custom_ignore = '\.git$\|\.hg$\|\.svn$\|\.sass-cache$'
|
||||
|
Loading…
Reference in New Issue
Block a user