mirror of
https://github.com/CompeyDev/my-nvim-setup.git
synced 2024-12-12 12:50:37 +00:00
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
2 changed files with 3 additions and 3 deletions
|
@ -79,7 +79,7 @@ M.mason_cmds = {
|
|||
M.gitsigns = function()
|
||||
autocmd({ "BufRead" }, {
|
||||
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
|
||||
vim.schedule(function()
|
||||
require("packer").loader "gitsigns.nvim"
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue