add some mappings
This commit is contained in:
@@ -17,15 +17,3 @@ require "bufferline".setup {
|
||||
mappings = "true"
|
||||
}
|
||||
}
|
||||
|
||||
local opt = {silent = true}
|
||||
local map = vim.api.nvim_set_keymap
|
||||
vim.g.mapleader = " "
|
||||
|
||||
-- MAPPINGS
|
||||
map("n", "<S-t>", [[<Cmd>tabnew<CR>]], opt) -- new tab
|
||||
map("n", "<S-x>", [[<Cmd>bdelete<CR>]], opt) -- close tab
|
||||
|
||||
-- move between tabs
|
||||
map("n", "<TAB>", [[<Cmd>BufferLineCycleNext<CR>]], opt)
|
||||
map("n", "<S-TAB>", [[<Cmd>BufferLineCyclePrev<CR>]], opt)
|
||||
|
||||
Reference in New Issue
Block a user