2022-11-07 18:12:08 +00:00
|
|
|
local o = vim.o
|
|
|
|
local g = vim.g
|
|
|
|
|
|
|
|
-- General stuff
|
|
|
|
o.number = true
|
|
|
|
o.relativenumber = true
|
|
|
|
|
|
|
|
o.tabstop = 2
|
|
|
|
o.shiftwidth = 0
|
|
|
|
o.softtabstop = -1
|
|
|
|
|
|
|
|
-- Make clipboard work with neovim
|
|
|
|
o.clipboard = 'unnamedplus'
|
|
|
|
|
|
|
|
-- Case insensitive search
|
|
|
|
o.ignorecase = true
|
|
|
|
o.smartcase = true
|
|
|
|
|
2022-11-07 18:45:09 +00:00
|
|
|
-- Enable mouse
|
|
|
|
o.mouse = 'a'
|
2022-11-08 22:44:29 +00:00
|
|
|
|
2022-11-08 23:03:55 +00:00
|
|
|
-- Enable termguicolors
|
|
|
|
o.termguicolors = true
|
|
|
|
|
2022-11-08 22:44:29 +00:00
|
|
|
-- Use space for leader key
|
|
|
|
g.mapleader = " "
|
2022-11-08 23:42:19 +00:00
|
|
|
|
|
|
|
-- Disable netrw
|
|
|
|
g.loaded_netrw = 1
|
|
|
|
g.loaded_netrwPlugin = 1
|