diff options
Diffstat (limited to '.config/nvim/lua/user/options.lua')
-rw-r--r-- | .config/nvim/lua/user/options.lua | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/.config/nvim/lua/user/options.lua b/.config/nvim/lua/user/options.lua new file mode 100644 index 0000000..a8e58bc --- /dev/null +++ b/.config/nvim/lua/user/options.lua @@ -0,0 +1,35 @@ +-- this file contains general options for nvim + +local o = vim.opt + +local options = { + -- general options + backup = false, + clipboard = "unnamedplus", + cmdheight = 1, + conceallevel = 0, + fileencoding = "utf-8", + hlsearch = true, + mouse = "a", + showmode = true, + tabstop = 8, + shiftwidth = 8, + smartindent = true, + swapfile = false, + timeoutlen = 1000, --ms + updatetime = 300, + writebackup = false, + expandtab = false, -- !!!!!!!!! + cursorline = false, + number = true, + wrap = false, + -- splitting + splitbelow = true, + splitright = true, +} + +for key, val in pairs(options) do + o[key] = val +end + +-- vim.cmd('colo evening') |