diff options
| author | jdhao <jdhao@hotmail.com> | 2020-10-17 01:48:54 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2020-10-17 01:48:54 +0800 |
| commit | e1c0e607f21704c2c889837aa4785f072995192e (patch) | |
| tree | 7b56f14f1278fee9b9b79f73caaf7eb1c31ec779 | |
| parent | bc5848f399e67dc773185811d7e194e385c78dc2 (diff) | |
update mappings
| -rw-r--r-- | mappings.vim | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mappings.vim b/mappings.vim index 4ee7208..fda96b9 100644 --- a/mappings.vim +++ b/mappings.vim @@ -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 "} |
