48 lines
748 B
Lua
48 lines
748 B
Lua
local colorscheme = require("taken.prefs").colorscheme
|
|
|
|
local g = vim.g
|
|
local o = vim.o
|
|
local opt = vim.opt
|
|
local cmd = vim.cmd
|
|
|
|
cmd("colorscheme " .. colorscheme)
|
|
|
|
g.mapleader = " "
|
|
g.maplocalleader = "."
|
|
|
|
opt.cursorline = true
|
|
opt.cursorcolumn = true
|
|
|
|
opt.nu = true
|
|
opt.relativenumber = true
|
|
|
|
opt.tabstop = 4
|
|
opt.softtabstop = 4
|
|
opt.shiftwidth = 4
|
|
opt.expandtab = true
|
|
|
|
opt.smartindent = true
|
|
opt.wrap = false
|
|
|
|
o.ignorecase = true
|
|
o.smartcase = true
|
|
|
|
opt.hlsearch = false
|
|
opt.incsearch = true
|
|
|
|
opt.termguicolors = true
|
|
|
|
opt.scrolloff = 8
|
|
opt.signcolumn = "yes"
|
|
opt.isfname:append("@-@")
|
|
|
|
opt.updatetime = 50
|
|
|
|
--options for whichkey
|
|
vim.o.timeout = true
|
|
vim.o.timeoutlen = 300
|
|
|
|
-- Options for nvim-tree
|
|
g.loaded_netrw = 1
|
|
g.loaded_netrwPlugin = 1
|