- Notifications
You must be signed in to change notification settings - Fork0
🐶A buffer operate plugin for vim
License
NotificationsYou must be signed in to change notification settings
chxuan/vim-buffer
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
vim-plug
Plug 'chxuan/vim-buffer'
Vundle
Plugin 'chxuan/vim-buffer'
:PreviousBuffer
切换到上一个buffer
:NextBuffer
切换到下一个buffer
:CloseCurrentBuffer
关闭当前buffer
:BufOnly
删除当前buffer外的所有buffer
请将以下配置加到~/.vimrc
,如果不喜欢以下映射,可根据个人喜好更改。
nnoremap <c-p> :PreviousBuffer<cr>nnoremap <c-n> :NextBuffer<cr>nnoremap <leader>d :CloseCurrentBuffer<cr>nnoremap <leader>D :BufOnly<cr>
This software is licensed under theMIT license. © 2018 chxuan