aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-23 17:22:48 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-23 17:22:48 +1200
commite95e4c2acc1c9dd131dde12e733c86cdc090ba6c (patch)
treed79bdf998e04bbf6faf6015f45041ffa2cd6d33a /vim/vimrc
parentMerge branch 'release/v6.40.0' (diff)
parentBump VERSION (diff)
downloaddotfiles-e95e4c2acc1c9dd131dde12e733c86cdc090ba6c.tar.gz
dotfiles-e95e4c2acc1c9dd131dde12e733c86cdc090ba6c.zip
Merge branch 'release/v6.41.0'v6.41.0
* release/v6.41.0: Add basic homebrew scratch buffer plugin Have a little fun with compatible vi
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index d8c40e38..b9b491e9 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -1625,6 +1625,12 @@ xmap <Leader>7 <Leader>&
"" Leader,*/8 is sticky-star: search, highlight, but don't move
nnoremap <silent> <Leader>* *N
nmap <Leader>8 <Leader>*
+"" Leader,` opens a scratch buffer, horizontally split
+nnoremap <silent> <Leader>`
+ \ :<C-U>Scratch<CR>
+"" Leader,~ opens a scratch buffer, vertically split
+nnoremap <silent> <Leader>~
+ \ :<C-U>vertical Scratch<CR>
" And last, but definitely not least, I'm required by Vim fanatic law to
" include a mapping that reloads my whole configuration. This uses the