-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
-- Set nocompatible | ||
vim.o.compatible = false | ||
|
||
-- Colors | ||
vim.cmd('syntax enable') | ||
vim.cmd('colorscheme slate') | ||
|
||
-- UI | ||
vim.o.number = false -- line numbers | ||
vim.o.relativenumber = true -- relative line numbers | ||
vim.o.showcmd = true -- show command in bottom bar | ||
vim.o.cursorline = true -- highlight current line | ||
vim.o.wildmenu = true -- visual autocomplete for command menu | ||
vim.o.lazyredraw = true -- redraw only when we need to. | ||
vim.o.showmatch = true -- highlight matching [{()}] | ||
vim.o.incsearch = true -- search as characters are entered | ||
vim.o.hlsearch = true -- highlight matches | ||
vim.o.expandtab = true -- expand tabs into spaces | ||
vim.o.tabstop = 4 -- tabs equal 4 spaces | ||
vim.o.shiftwidth = 4 -- >> or << commands shift lines 4 spaces | ||
|
||
vim.cmd('filetype indent on') -- load filetype-specific indent files | ||
|