From 701ac74e8c4851781aba2e6f2a6ce1d4d47d04bc Mon Sep 17 00:00:00 2001 From: Ariel Date: Tue, 5 Mar 2024 18:42:08 +0800 Subject: [PATCH] Update init.lua --- init.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/init.lua b/init.lua index b28783e..cbd53f8 100644 --- a/init.lua +++ b/init.lua @@ -16,7 +16,7 @@ vim.cmd("set relativenumber") vim.cmd("set iskeyword-=_") vim.cmd("set list") vim.opt.guicursor = { - "i:ver100-blinkon500-blinkoff500,a:ver100", + "i:ver25-blinkon500-blinkoff500,a:ver25-iCursor", } vim.opt.listchars = { eol = "↵", @@ -448,7 +448,7 @@ vim.keymap.set('i', '', '^i') vim.keymap.set('i', '', 'ggVG') vim.keymap.set('n', '', 'ggVG') vim.keymap.set('n', '`', 'splitterminali') -vim.keymap.set('n', 'l', 'vsplit std.in') +vim.keymap.set('n', 'l', '40vs std.in') vim.keymap.set('n', 'n', 'tabnew') vim.keymap.set('t', '', '', {noremap=true}) vim.keymap.set('n', 's', 'SymbolsOutline') @@ -477,7 +477,7 @@ require("overseer").setup({ vim.api.nvim_create_autocmd("FileType", { pattern = "cpp", callback = function() - vim.api.nvim_buf_set_keymap(0, 'n', "b", ":split:te g++ -std=c++17 -Wall -Ofast -g -fsanitize=address -fsanitize=undefined % && ./a.out < std.ini", { + vim.api.nvim_buf_set_keymap(0, 'n', "b", ":10sp:te g++ -std=c++17 -Wall -Ofast -g -fsanitize=address -fsanitize=undefined % && ./a.out < std.ini", { silent = true, noremap = true })