@@ -34,9 +34,13 @@ opt.incsearch = true
|
||||
|
||||
opt.termguicolors = true
|
||||
|
||||
opt.splitright = true
|
||||
opt.splitbelow = true
|
||||
|
||||
opt.scrolloff = 8
|
||||
opt.signcolumn = "yes"
|
||||
opt.isfname:append("@-@")
|
||||
opt.backspace = "indent,eol,start"
|
||||
|
||||
opt.updatetime = 50
|
||||
|
||||
@@ -44,7 +48,7 @@ opt.updatetime = 50
|
||||
if vim.fn.has("win32") == 1 then
|
||||
o.shell = "pwsh -nologo"
|
||||
o.shellcmdflag =
|
||||
"-NoLogo -NoProfile -ExecutionPolicy RemoteSigned -Command [Console]::InputEncoding=[Console]::OutputEncoding=[System.Text.Encoding]::UTF8;"
|
||||
"-NoLogo -NoProfile -ExecutionPolicy RemoteSigned -Command [Console]::InputEncoding=[Console]::OutputEncoding=[System.Text.Encoding]::UTF8;"
|
||||
o.shellredir = "2>&1 | Out-File -Encoding UTF8 %s; exit $LastExitCode"
|
||||
o.shellpipe = "2>&1 | Out-File -Encoding UTF8 %s; exit $LastExitCode"
|
||||
o.shellquote = ""
|
||||
|
||||
@@ -54,8 +54,11 @@ local M = {
|
||||
end,
|
||||
desc = "Theme selector",
|
||||
},
|
||||
["<leader>hc"] = { ":nohl<CR>", desc = "Clear search highlights" },
|
||||
},
|
||||
vn = {
|
||||
["<leader>+"] = { "<C-a>", desc = "Increment number" },
|
||||
["<leader>-"] = { "<C-x>", desc = "Decrement number" },
|
||||
["<leader>y"] = { [["+y]], desc = "Yank in to sys clipboard" },
|
||||
["<leader>d"] = { [["_d]], desc = "Actually deletes text" },
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user