Breaking Change: Avoid mapping default keybind <S-b>

related to #1504 #1386, leader + b is the new key for opening new buffers now
This commit is contained in:
siduck 2022-08-23 18:54:04 +05:30
parent 4a5a927de8
commit a6f2f0e0b9
2 changed files with 3 additions and 3 deletions

View File

@ -58,7 +58,7 @@ M.general = {
["<Down>"] = { 'v:count || mode(1)[0:1] == "no" ? "j" : "gj"', opts = { expr = true } },
-- new buffer
["<S-b>"] = { "<cmd> enew <CR>", "new buffer" },
["<leader>b"] = { "<cmd> enew <CR>", "new buffer" },
-- close buffer + hide terminal buffer
["<leader>x"] = {
@ -383,7 +383,7 @@ M.blankline = {
plugin = true,
n = {
["<leader>bc"] = {
["<leader>cc"] = {
function()
local ok, start = require("indent_blankline.utils").get_current_context(
vim.g.indent_blankline_context_patterns,