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:
parent
4a5a927de8
commit
a6f2f0e0b9
@ -79,7 +79,7 @@ M.mason_cmds = {
|
|||||||
M.gitsigns = function()
|
M.gitsigns = function()
|
||||||
autocmd({ "BufRead" }, {
|
autocmd({ "BufRead" }, {
|
||||||
callback = function()
|
callback = function()
|
||||||
vim.fn.system("git rev-parse " .. vim.fn.expand "%:p:h")
|
vim.fn.system("git rev-parse" .. vim.fn.expand "%:p:h")
|
||||||
if vim.v.shell_error == 0 then
|
if vim.v.shell_error == 0 then
|
||||||
vim.schedule(function()
|
vim.schedule(function()
|
||||||
require("packer").loader "gitsigns.nvim"
|
require("packer").loader "gitsigns.nvim"
|
||||||
|
@ -58,7 +58,7 @@ M.general = {
|
|||||||
["<Down>"] = { 'v:count || mode(1)[0:1] == "no" ? "j" : "gj"', opts = { expr = true } },
|
["<Down>"] = { 'v:count || mode(1)[0:1] == "no" ? "j" : "gj"', opts = { expr = true } },
|
||||||
|
|
||||||
-- new buffer
|
-- new buffer
|
||||||
["<S-b>"] = { "<cmd> enew <CR>", "new buffer" },
|
["<leader>b"] = { "<cmd> enew <CR>", "new buffer" },
|
||||||
|
|
||||||
-- close buffer + hide terminal buffer
|
-- close buffer + hide terminal buffer
|
||||||
["<leader>x"] = {
|
["<leader>x"] = {
|
||||||
@ -383,7 +383,7 @@ M.blankline = {
|
|||||||
plugin = true,
|
plugin = true,
|
||||||
|
|
||||||
n = {
|
n = {
|
||||||
["<leader>bc"] = {
|
["<leader>cc"] = {
|
||||||
function()
|
function()
|
||||||
local ok, start = require("indent_blankline.utils").get_current_context(
|
local ok, start = require("indent_blankline.utils").get_current_context(
|
||||||
vim.g.indent_blankline_context_patterns,
|
vim.g.indent_blankline_context_patterns,
|
||||||
|
Loading…
Reference in New Issue
Block a user