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