.cfg/.config/nvim/lua/mogad0n/set.lua
Pratyush Desai dc6d71b5b1 neovim overhaul (#1)
It is a complete redo of the vim/nvim experience. It's neovim with lua everything
While this was configured this way with a local computer in mind it should be easy to set up and use on a remote machine.

Known Issues:

* Fuzzy finder (this is down to me not having understood properly)
* Harpoon adding paths (again me)
* Need to review the `set.lua` and `remap.lua` for a more uniform approach in nomenclature.

This should see more updates.

Reviewed-on: #1
2023-01-15 16:50:02 +01:00

37 lines
681 B
Lua

vim.opt.guicursor = ""
vim.opt.nu = true
vim.opt.relativenumber = true
vim.opt.errorbells = false
vim.opt.tabstop = 4
vim.opt.softtabstop = 4
vim.opt.shiftwidth = 4
vim.opt.expandtab = true
vim.opt.smartindent = true
vim.opt.wrap = false
-- Give more space for displaying messages.
vim.opt.cmdheight = 1
-- Having longer updatetime (default is 4000 ms = 4 s) leads to noticeable
-- delays and poor user experience.
vim.opt.updatetime = 50
vim.opt.swapfile = false
vim.opt.backup = false
vim.opt.undodir = os.getenv("HOME") .. "/.vim/undodir"
vim.opt.undofile = true
vim.opt.termguicolors = true
vim.opt.updatetime = 50
vim.opt.colorcolumn = "80"
vim.g.mapleader = " "