This commit is contained in:
nnduc
2026-09-04 11:12:06 +07:00
parent 1a0a59880b
commit ca45037e65
26 changed files with 6 additions and 3 deletions
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
+6 -3
View File
@@ -24,7 +24,7 @@ vim.opt.updatetime = 250
vim.opt.undofile = true vim.opt.undofile = true
-------------------- Clipboard -------------------- -------------------- Clipboard --------------------
vim.opt.clipboard = 'unnamedplus' --vim.opt.clipboard = 'unnamedplus'
vim.g.clipboard = { vim.g.clipboard = {
name = 'OSC 52', name = 'OSC 52',
@@ -41,8 +41,9 @@ vim.keymap.set("v", "<leader>y", '"+y')
vim.keymap.set("n", "<leader>Y", '"+yg_') vim.keymap.set("n", "<leader>Y", '"+yg_')
vim.keymap.set("n", "<leader>y", '"+y') vim.keymap.set("n", "<leader>y", '"+y')
vim.keymap.set("n", "<leader>yy", '"+yy') vim.keymap.set("n", "<leader>yy", '"+yy')
vim.keymap.set("n", "<leader>p", '"+p') -- "+p/"+P dropped: OSC52 paste blocks 1-10s waiting for a terminal response
vim.keymap.set("n", "<leader>P", '"+P') -- most SSH clients never send. Plain p/P already pastes the last yank via
-- the unnamed register, instantly.
-------------------- Keymaps -------------------- -------------------- Keymaps --------------------
vim.keymap.set("n", "i", ":nohls<CR>i", { silent = true }) vim.keymap.set("n", "i", ":nohls<CR>i", { silent = true })
@@ -105,3 +106,5 @@ if vim.fn.executable("rg") == 1 then
vim.opt.grepprg = "rg --vimgrep --smart-case" vim.opt.grepprg = "rg --vimgrep --smart-case"
vim.opt.grepformat = "%f:%l:%c:%m" vim.opt.grepformat = "%f:%l:%c:%m"
end end
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
View File

Before

Width:  |  Height:  |  Size: 3.1 MiB

After

Width:  |  Height:  |  Size: 3.1 MiB

View File

Before

Width:  |  Height:  |  Size: 3.0 MiB

After

Width:  |  Height:  |  Size: 3.0 MiB

View File

Before

Width:  |  Height:  |  Size: 3.1 MiB

After

Width:  |  Height:  |  Size: 3.1 MiB

Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File