38 lines
935 B
Lua
38 lines
935 B
Lua
local options = vim.o -- For the globals options
|
||
local window_options = vim.wo -- For the window local options
|
||
local buffer_options = vim.bo -- For the buffer local options
|
||
|
||
-- window_options.colorcolumn = [[100]]
|
||
options.termguicolors = true
|
||
options.clipboard = 'unnamed,unnamedplus'
|
||
options.timeoutlen = 300
|
||
options.mouse = 'a'
|
||
options.undodir = vim.fn.expand('~/.cache/vim/undo')
|
||
options.listchars = 'tab:▸ ,extends:❯,precedes:❮'
|
||
|
||
window_options.relativenumber = true
|
||
window_options.list = true
|
||
|
||
buffer_options.autoindent = true
|
||
buffer_options.expandtab = true
|
||
buffer_options.softtabstop = 4
|
||
buffer_options.shiftwidth = 4
|
||
buffer_options.tabstop = 4
|
||
buffer_options.smartindent = true
|
||
buffer_options.modeline = true
|
||
|
||
buffer_options.undofile = true
|
||
vim.g.mapleader = ' '
|
||
|
||
-- Load utilities
|
||
require('kalle.utils')
|
||
|
||
-- Load plugins
|
||
require('kalle.plugins')
|
||
|
||
-- Load config
|
||
require('kalle.config')
|
||
|
||
vim.cmd('colorscheme nightfox')
|
||
|