summaryrefslogtreecommitdiffstats
path: root/lua/core/opts.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lua/core/opts.lua13
1 files changed, 5 insertions, 8 deletions
diff --git a/lua/core/opts.lua b/lua/core/opts.lua
index 62386dc..82d88bd 100644
--- a/lua/core/opts.lua
+++ b/lua/core/opts.lua
@@ -1,6 +1,6 @@
-- better ui ------------------------------------------------------------------
if pcall(require, "notify") then vim.notify = require("notify") end
--- o.colorcolumn = { 80 }
+o.colorcolumn = { 80 }
-- buffer
o.scrolloff = 5
@@ -11,16 +11,13 @@ o.cursorline = true
-- statusbar
o.laststatus = 3
o.cmdheight = 1
-if o.cmdheight == 0 then
- o.showcmdloc = 'statusline'
-end
o.showmode = false -- stop vim from showing mode (we have a statusbar)
+-- tabline
+o.showtabline = 2
+
-- status column
o.signcolumn = 'yes:1' -- show gutter
-o.relativenumber = true
-o.number = true
-o.numberwidth = 2
-- indents + tabs
local tabwidth = 2
@@ -38,7 +35,7 @@ vim.cmd('colorscheme mellow') -- mellow
vim.cmd('colorscheme mellow+') -- some changes
-- better editing -------------------------------------------------------------
-o.clipboard = 'unnamedplus' -- system clipboard (on unix like)
+o.clipboard = 'unnamedplus' -- system clipboard
-- file saving ----------------------------------------------------------------
o.swapfile = false