Restructure and plugin support
This commit is contained in:
parent
f25ee2d0f1
commit
98c59c9553
18 changed files with 226 additions and 1297 deletions
39
lua/settings.lua
Normal file
39
lua/settings.lua
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
-- __ __ _
|
||||
-- ___ ___ / /_/ /_(_)__ ___ ____
|
||||
-- (_-</ -_) __/ __/ / _ \/ _ `(_-<
|
||||
-- /___/\__/\__/\__/_/_//_/\_, /___/
|
||||
-- /___/
|
||||
|
||||
-- Vim options can be declared with:
|
||||
-- o.<OPTION>
|
||||
|
||||
-- See `:help o`
|
||||
-- NOTE: You can change these options as you wish!
|
||||
-- For more options, you can see `:help option-list`
|
||||
|
||||
local g = vim.g
|
||||
local o = vim.opt
|
||||
|
||||
o.number = true -- Show line numbers
|
||||
o.relativenumber = true -- Show relative line numbers
|
||||
o.clipboard = "unnamedplus" -- uses the clipboard register for all operations except yank.
|
||||
o.syntax = "on" -- When this option is set, the syntax with this name is loaded.
|
||||
o.autoindent = true -- Copy indent from current line when starting a new line.
|
||||
o.cursorline = true -- Highlight the screen line of the cursor with CursorLine.
|
||||
o.expandtab = true -- In Insert mode: Use the appropriate number of spaces to insert a <Tab>.
|
||||
o.shiftwidth = 2 -- Number of spaces to use for each step of (auto)indent.
|
||||
o.tabstop = 2 -- Number of spaces that a <Tab> in the file counts for.
|
||||
o.encoding = "UTF-8" -- Sets the character encoding used inside Vim.
|
||||
o.ruler = true -- Show the line and column number of the cursor position, separated by a comma.
|
||||
o.mouse = "a" -- Enable the use of the mouse. "a" you can use on all modes
|
||||
o.title = true -- When on, the title of the window will be set to the value of 'titlestring'
|
||||
o.hidden = true -- When on a buffer becomes hidden when it is |abandon|ed
|
||||
o.ttimeoutlen = 0 -- The time in milliseconds that is waited for a key code or mapped key sequence to complete.
|
||||
o.wildmenu = true -- When 'wildmenu' is on, command-line completion operates in an enhanced mode.
|
||||
o.showcmd = true -- Show (partial) command in the last line of the screen. Set this option off if your terminal is slow.
|
||||
o.showmatch = true -- When a bracket is inserted, briefly jump to the matching one.
|
||||
o.inccommand = "split" -- When nonempty, shows the effects of :substitute, :smagic, :snomagic and user commands with the :command-preview flag as you type.
|
||||
o.splitright = true
|
||||
o.splitbelow = true -- When on, splitting a window will put the new window below the current one
|
||||
o.termguicolors = true
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue