This repository has been archived on 2025-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/config/nvim/lua/options.lua
2022-10-31 16:36:07 -04:00

30 lines
821 B
Lua

vim.g.novim_mode_use_general_app_shortcuts = 0
vim.g.session_lock_enabled = 0
vim.g.session_autosave = 'yes'
vim.g.sudo_smart_edit = 1
vim.opt.tabstop = 4
vim.opt.expandtab = true
vim.opt.shiftwidth = 4
vim.opt.backup = false
vim.opt.clipboard = "unnamedplus"
vim.opt.cmdheight = 1;
vim.opt.completeopt = { "menuone", "noselect" }
vim.opt.fileencoding = "utf-8"
vim.opt.hlsearch = true
vim.opt.ignorecase = true
vim.opt.writebackup = false
vim.opt.updatetime = 300
vim.opt.undofile = true
vim.opt.termguicolors = true
vim.opt.cursorline = true
vim.opt.mouse = "a"
vim.opt.smartindent = true
vim.opt.autoindent = true
vim.opt.number = true
vim.opt.relativenumber = false
vim.opt.signcolumn = "yes"
vim.opt.scrolloff = 8
vim.opt.sidescrolloff = 8
vim.pumheight = 10
vim.opt.swapfile = false
vim.opt.shortmess:append "mnrw"