diff options
author | Saumit Dinesan <justsaumit@protonmail.com> | 2022-09-04 15:24:59 +0530 |
---|---|---|
committer | Saumit Dinesan <justsaumit@protonmail.com> | 2022-09-04 15:24:59 +0530 |
commit | 1f1906993046ffa440c77b3a9bd3e86af448b250 (patch) | |
tree | 720e6d24fffb86e693cdef144a362d96b870a55b /.config/nvim/lua/justsaumit/options.lua | |
parent | 7370fc82adaff71439fbc222359544ab308b6bb6 (diff) |
lualine + bufferline addition
Diffstat (limited to '.config/nvim/lua/justsaumit/options.lua')
-rw-r--r-- | .config/nvim/lua/justsaumit/options.lua | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/.config/nvim/lua/justsaumit/options.lua b/.config/nvim/lua/justsaumit/options.lua index 3496b2c..51caecc 100644 --- a/.config/nvim/lua/justsaumit/options.lua +++ b/.config/nvim/lua/justsaumit/options.lua @@ -2,14 +2,20 @@ local options = { number=true, -- Shows absolute linenumber relativenumber=true, -- Shows linenumber relative to cursor --combination of both^ for hybrid linenumber - showbreak="+++", -- wrap broken line prefix textwidth=100, numberwidth=4, scrolloff=8, -- keeps cursor in middle of screen/scrolls 8lines in advance + sidescroll=18, mouse="a", -- enable mouse support - splitbelow=true, - splitright=true, - clipboard="unnamedplus", -- allows neovim to access system clipboard + splitbelow=true, -- on horizontal split instead of opening window to left open it at right + splitright=true, -- on vertical split instead of opening window to left open it at right + termguicolors=true, + showmode=false, -- lualine does the job + cmdheight=1, + wrap=false, + whichwrap='b,s,<,>,[,],h,l', + clipboard="unnamedplus", -- allows neovim to access system clipboard using yank + fileencoding="UTF-8", --spaces/tabs/indents softtabstop=4, -- No. of spaces per tab shiftwidth=4, -- No. of auto-indent space @@ -22,13 +28,14 @@ local options = { hlsearch=false, -- no perma highlight post search incsearch=true, -- searches for strings incrementally showmatch=true, -- Highlight matching braces - --git integration/lsp - --signcolumn=true, + --git integration/lsp/diagnostic + signcolumn="yes", --undo/backup backup=false, swapfile=false, undodir=os.getenv("HOME") .. "/.local/state/nvim/undodir", undofile=true +-- showbreak="+++", -- wrap broken line prefix } --forloop for table 'options' for key, value in pairs(options) do |