mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-25 14:57:27 +00:00
feat(nvim): kazhala/close-buffers.nvim + mappings
This commit is contained in:
@@ -26,6 +26,24 @@ return {
|
|||||||
":Telescope projects<cr>",
|
":Telescope projects<cr>",
|
||||||
desc = "Update Projects listing"
|
desc = "Update Projects listing"
|
||||||
},
|
},
|
||||||
|
-- close_buffers
|
||||||
|
['<leader>bch'] = {
|
||||||
|
"<CMD>lua require('close_buffers').delete({type = 'hidden'})<CR>",
|
||||||
|
desc = "Delete hidden buffers"
|
||||||
|
},
|
||||||
|
-- comment-box
|
||||||
|
["<leader>bb"] = {
|
||||||
|
"<cmd>lua require('comment-box').lbox()<cr>",
|
||||||
|
desc = "Left aligned fixed size box with left aligned text"
|
||||||
|
},
|
||||||
|
["<leader>bc"] = {
|
||||||
|
"<cmd>lua require('comment-box').ccbox()<cr>",
|
||||||
|
desc = "Centered adapted box with centered text"
|
||||||
|
},
|
||||||
|
["<leader>bl"] = {
|
||||||
|
"<cmd>lua require('comment-box').cline()<cr>",
|
||||||
|
desc = "Centered line"
|
||||||
|
},
|
||||||
},
|
},
|
||||||
t = {
|
t = {
|
||||||
-- setting a mapping to false will disable it
|
-- setting a mapping to false will disable it
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ return {
|
|||||||
mode = "cursor", -- cursor, or topline
|
mode = "cursor", -- cursor, or topline
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{ "kazhala/close-buffers.nvim" },
|
||||||
{
|
{
|
||||||
"folke/edgy.nvim",
|
"folke/edgy.nvim",
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
@@ -98,11 +99,6 @@ return {
|
|||||||
pinned = true,
|
pinned = true,
|
||||||
open = "Neotree position=top buffers",
|
open = "Neotree position=top buffers",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
ft = "Outline",
|
|
||||||
pinned = true,
|
|
||||||
open = "SymbolsOutlineOpen",
|
|
||||||
},
|
|
||||||
-- any other neo-tree windows
|
-- any other neo-tree windows
|
||||||
"neo-tree",
|
"neo-tree",
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user