update: slightly WIP update with cool features

This commit is contained in:
2026-05-12 19:50:46 +03:00
parent a304ecefcc
commit 9d23965acc
47 changed files with 244 additions and 278 deletions
+2 -8
View File
@@ -1,9 +1,3 @@
-- clipboard.lua will be edited by the bash command
-- it will be replaced with one of the files from templates/clipboard/ directory
vim.o.clipboard = "unnamedplus"
-- vim.api.nvim_create_autocmd("TextYankPost", {
-- callback = function()
-- local copy_to_unnamedplus = require("vim.ui.clipboard.osc52").copy("+")
-- copy_to_unnamedplus(vim.v.event.regcontents)
-- local copy_to_unnamed = require("vim.ui.clipboard.osc52").copy("*")
-- copy_to_unnamed(vim.v.event.regcontents)
-- end,
-- })
+14
View File
@@ -12,3 +12,17 @@ do
vim.opt[k] = v
end
end
-- More
vim.opt.fixeol = true
vim.opt.list = true
vim.opt.listchars = {
trail = "·",
tab = " ",
}
-- Additional commands for typos
vim.api.nvim_create_user_command("Qa", "qa", {})
vim.api.nvim_create_user_command("QA", "qa", {})
vim.api.nvim_create_user_command("WQa", "qa", {})
vim.api.nvim_create_user_command("Wqa", "qa", {})
-6
View File
@@ -1,6 +0,0 @@
vim.opt.fixeol = true
vim.opt.list = true
vim.opt.listchars = {
trail = "·",
tab = " ",
}