diff options
| author | jdhao <jdhao@hotmail.com> | 2020-10-17 01:27:39 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2020-10-17 01:27:39 +0800 |
| commit | bc5848f399e67dc773185811d7e194e385c78dc2 (patch) | |
| tree | 02f62a8323788cdcc99565572a2fb14f656cf60a /mappings.vim | |
| parent | e456325257a6b7edf8b143f86deab26e119a11b9 (diff) | |
update mappings
Diffstat (limited to 'mappings.vim')
| -rw-r--r-- | mappings.vim | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mappings.vim b/mappings.vim index e9abf86..4ee7208 100644 --- a/mappings.vim +++ b/mappings.vim @@ -200,7 +200,10 @@ function! s:GoToBuffer(count, direction) abort return endif - silent execute('buffer' . a:count) + " Do not use {count} for gB (it is less useful) + if a:direction ==# 'forward' + silent execute('buffer' . a:count) + endif endfunction function! s:GetBufNums() abort |
