feat: guicursor, cleanup

This commit is contained in:
AngeD 2022-09-07 08:40:57 +02:00
parent b5ec8886bd
commit 5f03208b6b

View File

@ -23,21 +23,31 @@ vim.keymap.set("x", "ga", "<Plug>(EasyAlign)<C-x>")
-- variables
vim.g.mapleader = " "
vim.o.path = vim.o.path .. ",**"
vim.o.expandtab = true
vim.o.smartindent = true
vim.o.shiftwidth = 4
vim.o.smartindent = true
vim.o.tabstop = 4
vim.o.list = true
vim.o.number = true
vim.o.relativenumber = true
vim.o.ignorecase = true
vim.o.smartcase = true
vim.o.list = true
vim.o.guicursor = ""
vim.o.mouse = "a"
vim.o.suffixes = vim.o.suffixes .. ",.pyc"
vim.o.foldmethod = "indent"
vim.o.foldlevel = 99
vim.o.grepprg = "grep -rn"
vim.wo.cc = "80"
-- keybindings
@ -50,4 +60,4 @@ vim.keymap.set("t", "<Esc>", "<C-\\><C-n>" )
vim.keymap.set("n", "gf", "gF" )
-- remove trailing whitespaces
vim.keymap.set("n", "<Leader>w", ":%s/\\s\\+$//e<CR>")
vim.keymap.set("n", "<Leader>w", "<cmd>%s/\\s\\+$//e<CR>")