aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-24 15:13:08 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-24 15:13:08 +1200
commit25f79f23ee19663173f226f50f40f84502677883 (patch)
tree3087c178dd9069ef874c868ce4ec84e8c3e5fda0 /vim/vimrc
parentMerge branch 'release/v1.39.0' (diff)
parentBump VERSION (diff)
downloaddotfiles-25f79f23ee19663173f226f50f40f84502677883.tar.gz
dotfiles-25f79f23ee19663173f226f50f40f84502677883.zip
Merge branch 'release/v1.40.0'v1.40.0
* release/v1.40.0: Bump VERSION Spin out colon_operator.vim plugin into submodule Improved colon_operator.vim plugin Add colon_operator.vim plugin Move quickfix auto-open into a little plugin file Bump up 'history' again Adjust 'indentkeys' in HTML indenting
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc16
1 files changed, 5 insertions, 11 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 47422f87..3dadba76 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -80,8 +80,8 @@ endif
" Allow buffers to have changes without being displayed
set hidden
-" Keep more command and search history
-set history=500
+" Keep much more command and search history
+set history=2000
" Highlight completed searches; clear on reload
set hlsearch
@@ -195,6 +195,9 @@ if exists(':xnoremap')
xnoremap <silent> & :&&<CR>
endif
+" Map g: as a 'colon operator'
+nmap g: <Plug>(ColonOperator)
+
" Cycle through argument list
nnoremap [a :previous<CR>
nnoremap ]a :next<CR>
@@ -300,14 +303,5 @@ nnoremap <Bslash><Delete> :bdelete<CR>
" \INS edits a new buffer
nnoremap <Bslash><Insert> :<C-U>enew<CR>
-" Always pop open quickfix and location lists when changed
-if exists('##QuickfixCmdPost')
- augroup vimrc_quickfix
- autocmd!
- autocmd QuickfixCmdPost [^l]* cwindow
- autocmd QuickfixCmdPost l* lwindow
- augroup END
-endif
-
" Source any .vim files from ~/.vim/config
runtime! config/*.vim