1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

update mappings

This commit is contained in:
jdhao 2020-10-17 01:27:39 +08:00
parent e456325257
commit bc5848f399

View File

@ -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