nvim: init.lua: Drop defaults

See :help nvim-defaults. The switchbuf setting was different than the
default though.

Drop cursorline settings as that doesn't make sense since we stopped
using relativenumber a while back.
This commit is contained in:
Sanchayan Maity 2021-12-26 15:34:31 +05:30
parent 93c0c7033b
commit c6a7ba29bd
1 changed files with 0 additions and 15 deletions

View File

@ -1,38 +1,25 @@
vim.o.laststatus = 2
vim.o.updatetime = 100
vim.o.scrolloff = 3
vim.o.sidescrolloff = 5
vim.o.textwidth = 78
vim.o.linespace = 0
vim.o.showcmd = true
vim.o.showmatch = true
vim.o.ruler = true
vim.o.autoindent = true
vim.o.errorbells = false
vim.o.modeline = true
vim.o.joinspaces = false
vim.o.showmode = false
vim.o.splitbelow = true
vim.o.splitright = true
vim.o.foldenable = false
vim.o.undofile = true
vim.o.hidden = true
vim.o.autochdir = false
vim.o.hlsearch = true
vim.o.startofline = false
vim.o.ignorecase = true
vim.o.smartcase = true
vim.o.magic = true
vim.o.autoread = true
vim.o.termguicolors = true
vim.o.fileformat = 'unix'
vim.o.inccommand = 'split'
vim.o.switchbuf = 'useopen'
vim.o.encoding = 'utf-8'
vim.o.mouse = ''
vim.o.completeopt = 'menuone,noselect'
vim.o.backspace = 'indent,eol,start'
vim.o.wildmenu = true
vim.o.wildmode = 'longest:full,full'
vim.o.wildoptions = 'pum'
vim.o.pumblend = 30
@ -45,8 +32,6 @@ vim.o.diffopt = 'filler,internal,algorithm:histogram,indent-heuristic'
vim.o.scrolloff = 999
vim.o.formatoptions = "crqn1j"
vim.o.signcolumn = "auto:1-2"
vim.o.cursorline = true
vim.o.cursorlineopt = "number"
vim.g.python3_host_prog = '/usr/bin/python3'
-- Disable providers we do not give a shit about