aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--nvim/.config/nvim/lua/tobyvin/options.lua70
1 files changed, 35 insertions, 35 deletions
diff --git a/nvim/.config/nvim/lua/tobyvin/options.lua b/nvim/.config/nvim/lua/tobyvin/options.lua
index 7f1f0d1..5fae5f0 100644
--- a/nvim/.config/nvim/lua/tobyvin/options.lua
+++ b/nvim/.config/nvim/lua/tobyvin/options.lua
@@ -1,51 +1,51 @@
vim.g.mapleader = " "
-vim.opt.termguicolors = true
+vim.opt.autoindent = true
vim.opt.background = "dark"
-vim.opt.laststatus = 3
-vim.opt.undofile = true
-vim.opt.swapfile = false
+vim.opt.backspace = { "indent", "start", "eol" }
+vim.opt.breakindent = true
vim.opt.clipboard = vim.opt.clipboard + "unnamedplus"
-vim.opt.shortmess = vim.opt.shortmess + "c"
-vim.opt.wrap = false
-vim.opt.showmatch = true
+vim.opt.colorcolumn = "+0"
+vim.opt.completeopt = { "menuone", "noselect", "noinsert" }
vim.opt.cursorline = true
-vim.opt.number = true
-vim.opt.relativenumber = true
-vim.opt.incsearch = true
+vim.opt.expandtab = true
+vim.opt.hidden = true
vim.opt.hlsearch = true
vim.opt.ignorecase = true
-vim.opt.smartcase = true
-vim.opt.scrolloff = 10
-vim.opt.sidescrolloff = 2
-vim.opt.backspace = { "indent", "start", "eol" }
+vim.opt.inccommand = "split"
+vim.opt.incsearch = true
+vim.opt.laststatus = 2
+vim.opt.laststatus = 3
+vim.opt.linebreak = true
vim.opt.mouse = "a"
-vim.opt.updatetime = 500
-vim.opt.timeoutlen = 1000
-vim.opt.textwidth = 100
-vim.opt.tabstop = 4
-vim.opt.softtabstop = 0
+vim.opt.number = true
+vim.opt.relativenumber = true
+vim.opt.scrolloff = 10
+vim.opt.shell = "zsh"
+vim.opt.shiftround = true
vim.opt.shiftwidth = 0
-vim.opt.smarttab = true
-vim.opt.expandtab = true
-vim.opt.autoindent = true
-vim.opt.breakindent = true
+vim.opt.shortmess = vim.opt.shortmess + "c"
vim.opt.showbreak = string.rep(" ", 3) -- Make it so that long lines wrap smartly
-vim.opt.linebreak = true
-vim.opt.shiftround = true
-vim.opt.splitbelow = true
-vim.opt.splitright = true
-vim.opt.laststatus = 2
-vim.opt.colorcolumn = "+0"
+vim.opt.showmatch = true
+vim.opt.sidescrolloff = 2
vim.opt.signcolumn = "yes:1"
-vim.opt.hidden = true
-vim.opt.inccommand = "split"
-vim.opt.shell = "zsh"
-vim.opt.wildignore = vim.opt.wildignore + { "*.o", "*.rej", "*.so" }
-vim.opt.completeopt = { "menuone", "noselect", "noinsert" }
-vim.opt.spelllang = "en_us"
+vim.opt.smartcase = true
+vim.opt.smarttab = true
+vim.opt.softtabstop = 0
vim.opt.spellfile = vim.fn.stdpath("config") .. "/spell/en.utf-8.add"
+vim.opt.spelllang = "en_us"
vim.opt.spelloptions = { "camel", "noplainbuffer" }
+vim.opt.splitbelow = true
+vim.opt.splitright = true
+vim.opt.swapfile = false
+vim.opt.tabstop = 4
+vim.opt.termguicolors = true
+vim.opt.textwidth = 100
+vim.opt.timeoutlen = 1000
+vim.opt.undofile = true
+vim.opt.updatetime = 500
+vim.opt.wildignore = vim.opt.wildignore + { "*.o", "*.rej", "*.so" }
+vim.opt.wrap = false
vim.opt.listchars = {
eol = "↵",
tab = "»-",