Adding vim-better-whitespace plugin. Removing that open URL crap, attempting to use gx instead
This commit is contained in:
11
vimrc
11
vimrc
@@ -58,8 +58,8 @@ Bundle 'matze/vim-move'
|
|||||||
Bundle 'bruno-/vim-vertical-move'
|
Bundle 'bruno-/vim-vertical-move'
|
||||||
Bundle 'tpope/vim-vinegar'
|
Bundle 'tpope/vim-vinegar'
|
||||||
Bundle 'itchyny/calendar.vim'
|
Bundle 'itchyny/calendar.vim'
|
||||||
Bundle 'openurl.vim'
|
|
||||||
Bundle 'lfilho/cosco.vim'
|
Bundle 'lfilho/cosco.vim'
|
||||||
|
Bundle 'ntpeters/vim-better-whitespace'
|
||||||
|
|
||||||
let $GIT_SSL_NO_VERIFY = 'true'
|
let $GIT_SSL_NO_VERIFY = 'true'
|
||||||
|
|
||||||
@@ -137,10 +137,6 @@ set shiftwidth=4
|
|||||||
set expandtab
|
set expandtab
|
||||||
set smarttab
|
set smarttab
|
||||||
|
|
||||||
" pretty line endings and trailing spaces
|
|
||||||
set list
|
|
||||||
set listchars=tab:»·,trail:·,eol:¬
|
|
||||||
|
|
||||||
" so we get html goodies in php files
|
" so we get html goodies in php files
|
||||||
au BufRead *.php set ft=php.html
|
au BufRead *.php set ft=php.html
|
||||||
au BufNewFile *.php set ft=php.html
|
au BufNewFile *.php set ft=php.html
|
||||||
@@ -217,9 +213,6 @@ nnoremap <silent><leader>4 :! p4 edit %<cr>
|
|||||||
" open vsplit and switch to it
|
" open vsplit and switch to it
|
||||||
nnoremap <leader>v <c-w>v<c-w>l
|
nnoremap <leader>v <c-w>v<c-w>l
|
||||||
|
|
||||||
" trim whitespace
|
|
||||||
nnoremap <leader>W :%s/\s\+$//e<cr>
|
|
||||||
|
|
||||||
" Ack
|
" Ack
|
||||||
nnoremap <leader>a :Ack<space>
|
nnoremap <leader>a :Ack<space>
|
||||||
" use ag
|
" use ag
|
||||||
@@ -277,8 +270,6 @@ nnoremap <leader>hi :HdevtoolsInfo<cr>
|
|||||||
" Vim-move
|
" Vim-move
|
||||||
let g:move_key_modifier = 'C'
|
let g:move_key_modifier = 'C'
|
||||||
|
|
||||||
nnoremap <leader>b :OpenUrl<cr>
|
|
||||||
|
|
||||||
" Matchmaker on
|
" Matchmaker on
|
||||||
let g:matchmaker_enable_startup = 1
|
let g:matchmaker_enable_startup = 1
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user