Updated config

Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
2024-04-04 11:13:28 +02:00
parent 8832c1d7b8
commit df0da06a04
6 changed files with 32 additions and 20 deletions

View File

@@ -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 = ""

View File

@@ -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" },
},