mirror of
https://github.com/cap153/nvim.git
synced 2026-04-25 15:45:16 +08:00
增删一些插件
This commit is contained in:
parent
e4487aa27f
commit
996cfc643b
9 changed files with 145 additions and 46 deletions
|
|
@ -3,16 +3,24 @@
|
|||
-- ===
|
||||
|
||||
local map = require("core.keymap")
|
||||
-- 在标签之间移动
|
||||
-- 新建空缓冲区,貌似是neovim自带的
|
||||
map:cmd('tu', 'enew')
|
||||
-- 关闭当前缓冲区,貌似是neovim自带的,完整命令bdelete
|
||||
map:cmd('tq', 'bd')
|
||||
|
||||
-- 在缓冲区之间移动
|
||||
map:cmd('tn', 'BufferLineCyclePrev')
|
||||
map:cmd('ti', 'BufferLineCycleNext')
|
||||
|
||||
-- 移动标签的位置
|
||||
-- 移动缓冲区的位置
|
||||
map:cmd('tmn', 'BufferLineMovePrev')
|
||||
map:cmd('tmi', 'BufferLineMoveNext')
|
||||
|
||||
-- 关闭标签,貌似是neovim自带的,完整命令bdelete
|
||||
map:cmd('tq', 'bd')
|
||||
-- 关闭缓冲区
|
||||
map:cmd('tN', 'BufferLineCloseLeft')
|
||||
map:cmd('tI', 'BufferLineCloseRight')
|
||||
map:cmd('tQ', 'BufferLineCloseOthers')
|
||||
|
||||
return {
|
||||
"akinsho/bufferline.nvim",
|
||||
config = function()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue