nvim: styles, keybindings, etc
This commit is contained in:
parent
4e1fba9299
commit
8a30fffd64
5 changed files with 87 additions and 21 deletions
18
dot_config/nvim/lua/settings.lua
Normal file
18
dot_config/nvim/lua/settings.lua
Normal file
|
@ -0,0 +1,18 @@
|
|||
local o = vim.opt
|
||||
|
||||
o.number = true -- line numbers
|
||||
o.clipboard = "unnamedplus" -- use the clipboard register
|
||||
o.syntax = "on" -- syntaxxxx
|
||||
o.autoindent = true -- keep indents from prev line
|
||||
o.cursorline = true -- highlight bg of current line
|
||||
o.expandtab = true -- in insert, handle <tab> correctly
|
||||
o.shiftwidth = 2 -- 2 spaces
|
||||
o.tabstop = 2 -- 2-wide tabs
|
||||
o.encoding = "UTF-8" -- obligatory
|
||||
o.ruler = true -- show location of cursor
|
||||
o.mouse = "a" -- enable mouse on all modes
|
||||
o.title = true -- update the window title
|
||||
o.wildmenu = true -- get wild
|
||||
o.showmatch = true -- jump to matching bracket
|
||||
o.splitright = true -- split right
|
||||
o.splitbelow = true -- split below
|
Loading…
Add table
Add a link
Reference in a new issue