AutoYADM commit: 2024-12-27 01:15:02
This commit is contained in:
parent
ddc29f99a4
commit
2de69770a2
3 changed files with 13 additions and 3 deletions
|
@ -25,11 +25,16 @@ map({ "n", "x" }, "\\", function()
|
|||
LazyVim.format({ force = true })
|
||||
end, { desc = "Format" })
|
||||
|
||||
map({ "n", "i" }, "<M-c>", function()
|
||||
map({ "n" }, "<M-c>", function()
|
||||
-- the `a` is necessary to return the cursor to the same
|
||||
-- position it was before
|
||||
vim.cmd("normal! zz")
|
||||
end, { remap = false, noremap = true, desc = "Center Screen" })
|
||||
map({ "i" }, "<M-c>", function()
|
||||
-- the `a` is necessary to return the cursor to the same
|
||||
-- position it was before
|
||||
vim.api.nvim_input("<Esc>zza")
|
||||
end, { remap = false, noremap = true, desc = "Center Screen" })
|
||||
end, { remap = false, noremap = true, desc = "Center Screen (Insert mode)" })
|
||||
|
||||
map("n", "<C-z>", "<CMD>stop<CR>", { desc = "Suspend" })
|
||||
|
||||
|
|
4
.config/nvim/lua/plugins/thesaurus.lua
Normal file
4
.config/nvim/lua/plugins/thesaurus.lua
Normal file
|
@ -0,0 +1,4 @@
|
|||
return {
|
||||
"nvim-telescope/telescope.nvim",
|
||||
dependencies = { "archie-judd/telescope-words.nvim" },
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue