feat(wich-key): binding to save without formatting (#3165)

use `<leader>bW` to save without triggering the autocmd for formatting
This commit is contained in:
Daniel Rodríguez Rivero 2022-12-01 11:39:53 +01:00 committed by GitHub
parent 02de1b1e0b
commit 6fc015565f
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,6 +93,7 @@ M.config = function()
f = { "<cmd>Telescope buffers<cr>", "Find" },
b = { "<cmd>BufferLineCyclePrev<cr>", "Previous" },
n = { "<cmd>BufferLineCycleNext<cr>", "Next" },
W = { "<cmd>noautocmd w<cr>", "Save without formatting (noautocmd)" },
-- w = { "<cmd>BufferWipeout<cr>", "Wipeout" }, -- TODO: implement this for bufferline
e = {
"<cmd>BufferLinePickClose<cr>",