.config/nvim/lua/core/options.lua (view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
vim.opt.clipboard = 'unnamedplus' vim.opt.mouse = 'a' vim.opt.shell='/bin/bash' vim.opt.backup=false vim.opt.writebackup=false vim.opt.updatetime=300 vim.opt.signcolumn="yes" vim.opt.tabstop = 4 -- number of visual spaces per TAB vim.opt.softtabstop = 4 -- number of spacesin tab when editing vim.opt.shiftwidth = 4 -- insert 4 spaces on a tab vim.opt.expandtab = true -- tabs are spaces, mainly because of python vim.opt.smartindent=true vim.opt.autoindent=true vim.opt.smarttab=true vim.opt.number = true -- show absolute number vim.opt.relativenumber = true -- add numbers to each line on the left side vim.opt.splitbelow = true -- open new vertical split bottom vim.opt.splitright = true -- open new horizontal splits right vim.opt.termguicolors = true -- enabl 24-bit RGB color in the TUI vim.opt.showmode = false -- we are experienced, wo don't need the "-- INSERT --" mode hint vim.opt.incsearch = true -- search as characters are entered vim.opt.ignorecase = true -- ignore case in searches by default vim.opt.smartcase = true -- but make it case sensitive if an uppercase is entered |