Compare commits

...

3 Commits

2 changed files with 52 additions and 13 deletions

View File

@ -22,6 +22,7 @@ https://github.com/AsahiLinux/m1n1/commits/main.atom "~AsahiLinux/m1n1"
http://antirez.com/rss
http://feeds.feedburner.com/ThePragmaticEngineer
http://matt3o.com/feed/
https://0pointer.net/blog/index.atom
https://100r.co/links/rss.xml
https://andrewkelley.me/rss.xml
@ -31,8 +32,10 @@ https://brandur.org/articles.atom
https://brandur.org/fragments.atom
https://daniel.haxx.se/blog/feed/
https://dave.cheney.net/feed/atom
https://djr.com/feed.rss
https://dotat.at/@/blog.atom
https://drewdevault.com/blog/index.xml
https://josef-adamcik.cz/feed.xml
https://jvns.ca/atom.xml
https://matthewstrom.com/feed.xml
https://michael.stapelberg.ch/feed.xml
@ -57,8 +60,6 @@ https://github.com/qmk/qmk_firmware/commits/master.atom "~qmk_firmware"
https://kbd.news/rss.php
https://www.theremingoat.com/blog?format=rss
http://matt3o.com/feed/
https://josef-adamcik.cz/feed.xml
https://developer.apple.com/news/releases/rss/releases.rss
https://rsshub.app/amazon/kindle/software-updates

View File

@ -72,10 +72,6 @@ vim.keymap.set({ "n", "v" }, "q:", "<Nop>")
vim.keymap.set({ "n", "v" }, "(", "<Nop>")
vim.keymap.set({ "n", "v" }, ")", "<Nop>")
-- My Sofle V2 do not have map `[`, `]` directly
vim.keymap.set("n", ")d", "]d", { remap = true })
vim.keymap.set("n", "(d", "[d", { remap = true })
-- Disable scrolling
-- https://neovim.io/doc/user/scroll.html
vim.keymap.set({ "n", "v" }, "<C-e>", "<Nop>")
@ -185,7 +181,6 @@ require("lazy").setup({
"neovim/nvim-lspconfig",
},
opts = {
winopts = {
preview = {
wrap = "wrap",
@ -262,6 +257,21 @@ require("lazy").setup({
{
"echasnovski/mini.nvim",
config = function()
-- https://github.com/echasnovski/mini.nvim/blob/main/readmes/mini-bracketed.md
require("mini.bracketed").setup({
{
buffer = { suffix = "", options = {} },
file = { suffix = "", options = {} },
indent = { suffix = "", options = {} },
jump = { suffix = "", options = {} },
location = { suffix = "", options = {} },
oldfile = { suffix = "", options = {} },
undo = { suffix = "", options = {} },
window = { suffix = "", options = {} },
yank = { suffix = "", options = {} },
},
})
-- https://github.com/echasnovski/mini.nvim/blob/main/readmes/mini-cursorword.md
require("mini.cursorword").setup()
@ -294,12 +304,6 @@ require("lazy").setup({
},
})
-- See my Sofle V2 keymap above
vim.keymap.set("n", ")H", "]H", { remap = true })
vim.keymap.set("n", "(H", "[H", { remap = true })
vim.keymap.set("n", ")h", "]h", { remap = true })
vim.keymap.set("n", "(h", "[h", { remap = true })
-- https://github.com/echasnovski/mini.nvim/blob/main/readmes/mini-git.md
require("mini.git").setup()
@ -315,6 +319,32 @@ require("lazy").setup({
-- https://github.com/echasnovski/mini.nvim/blob/main/readmes/mini-surround.md
require("mini.surround").setup()
-- My Sofle V2 do not have map `[`, `]` directly
vim.keymap.set("n", ")d", "]d", { remap = true })
vim.keymap.set("n", "(d", "[d", { remap = true })
vim.keymap.set("n", ")D", "]D", { remap = true })
vim.keymap.set("n", "(D", "[D", { remap = true })
vim.keymap.set("n", ")c", "]c", { remap = true })
vim.keymap.set("n", "(c", "[c", { remap = true })
vim.keymap.set("n", ")C", "]C", { remap = true })
vim.keymap.set("n", "(C", "[C", { remap = true })
vim.keymap.set("n", ")x", "]x", { remap = true })
vim.keymap.set("n", "(x", "[x", { remap = true })
vim.keymap.set("n", ")X", "]X", { remap = true })
vim.keymap.set("n", "(X", "[X", { remap = true })
vim.keymap.set("n", ")t", "]t", { remap = true })
vim.keymap.set("n", "(t", "[t", { remap = true })
vim.keymap.set("n", ")T", "]T", { remap = true })
vim.keymap.set("n", "(T", "[T", { remap = true })
vim.keymap.set("n", ")h", "]h", { remap = true })
vim.keymap.set("n", "(h", "[h", { remap = true })
vim.keymap.set("n", ")H", "]H", { remap = true })
vim.keymap.set("n", "(H", "[H", { remap = true })
-- Use cl instead of s
vim.keymap.set({ "n", "x" }, "s", "<Nop>")
end,
@ -456,6 +486,14 @@ require("lazy").setup({
},
},
-- https://github.com/nvim-treesitter/nvim-treesitter-textobjects
{
"nvim-treesitter/nvim-treesitter-textobjects",
dependencies = {
"nvim-treesitter/nvim-treesitter",
},
},
-- https://github.com/neovim/nvim-lspconfig
{
"neovim/nvim-lspconfig",