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:48:54 +08:00
parent bc5848f399
commit e1c0e607f2

View File

@ -207,8 +207,6 @@ function! s:GoToBuffer(count, direction) abort
endfunction
function! s:GetBufNums() abort
let l:buf_infos = getbufinfo({'buflisted':1})
let l:buf_nums = map(l:buf_infos, "v:val['bufnr']")
return l:buf_nums
return map(copy(getbufinfo({'buflisted':1})), 'v:val.bufnr')
endfunction
"}