fix: missing CR
This commit is contained in:
parent
c84213c9dc
commit
7acbafb7fe
@ -4,25 +4,20 @@ local noremap = { noremap = true }
|
|||||||
command_center.add({
|
command_center.add({
|
||||||
{
|
{
|
||||||
description = "Show Sessions",
|
description = "Show Sessions",
|
||||||
cmd = ":lua require('session-lens').search_session()",
|
cmd = ":lua require('session-lens').search_session()<CR>",
|
||||||
keybindings = { "n", "<leader><C-o>", noremap }
|
keybindings = { "n", "<leader><C-o>", noremap }
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
description = "ZenMode",
|
||||||
|
cmd = "<CMD>ZenMode<CR>",
|
||||||
|
keybindings = { "n", "z", noremap }
|
||||||
|
},
|
||||||
{
|
{
|
||||||
description = "Search inside current buffer",
|
description = "Search inside current buffer",
|
||||||
cmd = "<CMD>Telescope current_buffer_fuzzy_find<CR>",
|
cmd = "<CMD>Telescope current_buffer_fuzzy_find<CR>",
|
||||||
keybindings = { "n", "<leader>fl", noremap },
|
keybindings = { "n", "<leader>fl", noremap },
|
||||||
}, {
|
|
||||||
-- If no descirption is specified, command is used to replace descirption by default
|
|
||||||
-- You can change this behavior in settigns
|
|
||||||
cmd = "<CMD>Telescope find_files<CR>",
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
-- If no keybindings specified, no keybindings will be displayed or registered
|
|
||||||
description = "Find hidden files",
|
|
||||||
cmd = "<CMD>Telescope find_files hidden=true<CR>",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
-- You can specify multiple keybindings for the same command ...
|
|
||||||
description = "Show document symbols",
|
description = "Show document symbols",
|
||||||
cmd = "<CMD>Telescope lsp_document_symbols<CR>",
|
cmd = "<CMD>Telescope lsp_document_symbols<CR>",
|
||||||
},
|
},
|
||||||
@ -34,9 +29,4 @@ command_center.add({
|
|||||||
description = "(TS) Organize Imports",
|
description = "(TS) Organize Imports",
|
||||||
cmd = "<CMD>OrganizeImports<CR>"
|
cmd = "<CMD>OrganizeImports<CR>"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
description = "ZenMode",
|
|
||||||
cmd = "<CMD>ZenMode<CR>",
|
|
||||||
keybindings = { "n", "z", noremap }
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user