nvim/lua/settings.lua
Patrick Michl ad50027cd3 refactor: Don't bind keys in global buffer
Bind only when LSP is loaded in buffer.
Remove unneeded plugins.
general cleanup
2021-09-06 09:57:45 +02:00

28 lines
412 B
Lua

local o = vim.o
local wo = vim.wo
local bo = vim.bo
local cmd = vim.cmd
cmd('syntax on')
cmd('set number')
cmd('set completeopt=menuone,noinsert,noselect')
cmd('set shortmess+=c')
o.startofline = true
wo.cursorline = true
o.updatetime = 300
wo.signcolumn='yes'
o.showcmd = true
o.shell = 'bash'
o.mouse = 'a'
o.smarttab = true
bo.tabstop = 2
bo.shiftwidth = 2
bo.expandtab = true
wo.relativenumber = true