Permalink
Browse files

Turn off Q by default. Include prettyprint lib

  • Loading branch information...
1 parent 34fd425 commit dc6e46626e17ce37cb05efcd45e6b66c55cbf473 @nelstrom committed Jun 8, 2013
Showing with 7 additions and 1 deletion.
  1. +1 −0 bundles.vim
  2. +6 −1 vimrc
View
@@ -24,6 +24,7 @@ Bundle 'tpope/vim-tbone.git'
Bundle 'tpope/vim-unimpaired.git'
Bundle 'nelstrom/vim-visual-star-search'
Bundle 'nelstrom/vim-docopen'
+Bundle 'vim-scripts/prettyprint.vim.git'
Bundle 'kien/ctrlp.vim.git'
Bundle 'pangloss/vim-javascript.git'
View
7 vimrc
@@ -12,12 +12,14 @@ if has('mouse')
endif
" Colorscheme
-set background=dark
+set background=light
silent! colorscheme solarized
" Plugin configuration {{{1
" netrw.vim {{{2
let g:netrw_banner=0
+" Don't show undo files in the explorer
+let g:netrw_list_hide='\.un\~$'
" Vim-ruby {{{2
let ruby_fold=1
" Markdown {{{2
@@ -35,6 +37,8 @@ let g:ctrlp_user_command = 'find %s -type f'
let g:ragel_default_subtype='ruby'
" Mappings {{{1
+" Override defaults {{{2
+nnoremap Q <Nop>
" File opening {{{2
cnoremap <expr> %% getcmdtype() == ':' ? escape(expand('%:h'), ' \').'/' : '%%'
@@ -46,6 +50,7 @@ map <leader>et :tabe %%
" Prompt to open file with same name, different extension
map <leader>er :e <C-R>=expand("%:r")."."<CR>
+
" Fix the & command in normal+visual modes {{{2
nnoremap & :&&<Enter>
xnoremap & :&&<Enter>

0 comments on commit dc6e466

Please sign in to comment.