center j and k and added nvim-surround
This commit is contained in:
parent
a8d7b167e9
commit
1c13bf7104
Binary file not shown.
|
After Width: | Height: | Size: 312 KiB |
|
|
@ -16,6 +16,7 @@
|
|||
"mini.nvim": { "branch": "main", "commit": "12ebac8280869048c286d13bd35cfa6653e07642" },
|
||||
"nvim-cmp": { "branch": "main", "commit": "12509903a5723a876abd65953109f926f4634c30" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "9962e25a23f0e992116b99a9a6400947d5a7177b" },
|
||||
"nvim-surround": { "branch": "main", "commit": "a868c256c861044beb9794b4dd126480dcdfbdad" },
|
||||
"nvim-tree.lua": { "branch": "master", "commit": "d529a99f88e0dff02e0aa275db2f595cd252a2c8" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "13f4346876f394973ff676670304a2b734174538" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "1c9136332840edee0c593f2f4f89598c8ed97f5f" },
|
||||
|
|
|
|||
|
|
@ -17,9 +17,7 @@ vim.opt.relativenumber = true
|
|||
|
||||
-- Enable mouse mode, can be useful for resizing splits for example!
|
||||
vim.opt.mouse = "a"
|
||||
|
||||
-- Don't show the mode, since it's already in the status line
|
||||
vim.opt.showmode = false
|
||||
-- Don't show the mode, since it's already in the status line vim.opt.showmode = false
|
||||
|
||||
-- Enable break indent
|
||||
vim.opt.breakindent = true
|
||||
|
|
@ -108,3 +106,8 @@ vim.keymap.set("n", "<leader>y", '"+y')
|
|||
vim.keymap.set("n", "<leader>Y", '"+Y')
|
||||
vim.keymap.set("v", "<leader>y", '"+y')
|
||||
vim.keymap.set("v", "<leader>Y", '"+Y')
|
||||
|
||||
vim.keymap.set("n", "j", "jzz")
|
||||
vim.keymap.set("n", "k", "kzz")
|
||||
vim.keymap.set("n", "n", "nzz")
|
||||
vim.keymap.set("n", "N", "nzz")
|
||||
|
|
|
|||
|
|
@ -18,6 +18,17 @@ require("lazy").setup({
|
|||
config = true,
|
||||
},
|
||||
|
||||
{
|
||||
"kylechui/nvim-surround",
|
||||
version = "^3.0.0", -- Use for stability; omit to use `main` branch for the latest features
|
||||
event = "VeryLazy",
|
||||
config = function()
|
||||
require("nvim-surround").setup({
|
||||
-- Configuration here, or leave empty to use defaults
|
||||
})
|
||||
end,
|
||||
},
|
||||
|
||||
"m4xshen/autoclose.nvim",
|
||||
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue