mirror of https://github.com/wlcx/home.git
21 lines
558 B
Lua
21 lines
558 B
Lua
-- Basics
|
|
vim.o.number = true
|
|
vim.o.relativenumber = true -- number + relativenumber == hybrid
|
|
vim.o.mouse = "nvi" -- mouse mode in normal, visual and insert
|
|
vim.o.textwidth = 88 -- A vaguely sensible default textwidth
|
|
vim.o.colorcolumn = "+0" -- Mark the textwidth
|
|
vim.o.shiftwidth = 4
|
|
vim.o.tabstop = 4
|
|
vim.o.softtabstop = 4
|
|
|
|
vim.o.list = true
|
|
vim.o.listchars = "trail:·" -- show trailing spaces
|
|
|
|
-- Colors
|
|
vim.cmd "colorscheme gruvbox"
|
|
vim.o.termguicolors = true
|
|
|
|
-- Keybinds
|
|
vim.api.nvim_set_keymap('n','<C-P>', '<cmd> FZF<CR>', { noremap=true })
|
|
|