30 lines
646 B
Lua
30 lines
646 B
Lua
vim.cmd("let g:netrw_banner = 0")
|
|
|
|
-- sets Vim Option Numberlines to true and then enables relative numberline.
|
|
vim.opt.nu = true
|
|
vim.opt.relativenumber = true
|
|
|
|
vim.opt.expandtab = true
|
|
vim.opt.autoindent = true
|
|
vim.opt.smartindent = true
|
|
vim.opt.wrap = false
|
|
|
|
vim.opt.swapfile = false
|
|
vim.opt.backup = false
|
|
vim.opt.undofile = true
|
|
|
|
|
|
vim.opt.incsearch = true
|
|
vim.opt.inccommand = "split"
|
|
vim.opt.ignorecase = true
|
|
vim.opt.smartcase = true
|
|
|
|
-- lets you copy text from NVim into others apps.
|
|
-- vim.opt.clipboard:append("unnamedplus")
|
|
-- highlights the files you search for.
|
|
vim.opt.hlsearch = true
|
|
|
|
vim.opt.mouse = "a"
|
|
vim.g.editorconfig = true
|
|
|