aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-23 22:19:19 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-23 22:19:19 +1200
commitbad77ee0910fa0ee05b9af4f14b4c560825f5c42 (patch)
tree8b9647bba09e4a1e0e17839cc17d6c782ed55c36
parent3778c6a79469b020cebf516c5753b139310deab1 (diff)
parent73da78cfcc7df9005c43c58d744d1869de3f30ab (diff)
downloaddotfiles-bad77ee0910fa0ee05b9af4f14b4c560825f5c42.tar.gz
Merge branch 'release/v1.39.0'v1.39.0
* release/v1.39.0: Bump VERSION Map \H to show command :history Allow numeric prefix before :bdelete map Add some spaces before some comments
-rw-r--r--VERSION4
-rw-r--r--vim/vimrc12
2 files changed, 9 insertions, 7 deletions
diff --git a/VERSION b/VERSION
index 0824217f..c43e3c76 100644
--- a/VERSION
+++ b/VERSION
@@ -1,2 +1,2 @@
-tejr dotfiles v1.38.0
-Mon Jul 23 05:12:10 UTC 2018
+tejr dotfiles v1.39.0
+Mon Jul 23 10:18:52 UTC 2018
diff --git a/vim/vimrc b/vim/vimrc
index 747c9c67..47422f87 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -34,10 +34,10 @@ if has('syntax')
endif
" The all-important default indent settings; filetypes to tweak
-set autoindent " Use indent of previous line on new lines
-set expandtab " Use spaces instead of tabs
-set shiftwidth=4 " Indent with four spaces
-set softtabstop=4 " Insert four spaces with tab key
+set autoindent " Use indent of previous line on new lines
+set expandtab " Use spaces instead of tabs
+set shiftwidth=4 " Indent with four spaces
+set softtabstop=4 " Insert four spaces with tab key
" Let me backspace over pretty much anything
set backspace+=eol " Line breaks
@@ -234,6 +234,8 @@ nnoremap <Bslash>f :<C-U>setlocal formatoptions?<CR>
nnoremap <Bslash>g :<C-U>cd %:h<CR>:pwd<CR>
" \h toggles highlighting search results
nnoremap <Bslash>h :<C-U>set hlsearch! hlsearch?<CR>
+" \H shows command history
+nnoremap <Bslash>H :<C-U>history :<CR>
" \i toggles showing matches as I enter my pattern
nnoremap <Bslash>i :<C-U>set incsearch! incsearch?<CR>
" \j jumps to buffers (jetpack)
@@ -294,7 +296,7 @@ nnoremap <Bslash>+ :<C-U>call vimrc#Anchor('1GgqG')<CR>
nnoremap <Bslash>. :<C-U>lmake!<CR>
" \DEL deletes the current buffer
-nnoremap <Bslash><Delete> :<C-U>bdelete<CR>
+nnoremap <Bslash><Delete> :bdelete<CR>
" \INS edits a new buffer
nnoremap <Bslash><Insert> :<C-U>enew<CR>