-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.lua
More file actions
19 lines (15 loc) · 753 Bytes
/
Copy pathinit.lua
File metadata and controls
19 lines (15 loc) · 753 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require("config.keymaps")
require("config.lazy")
-- Hybrid Line Numbers
vim.opt.number = true -- Show line numbers
vim.opt.relativenumber = true -- Show relative line numbers
-- Set tab width to 4 spaces
vim.opt.tabstop = 4 -- Width of a tab character
vim.opt.shiftwidth = 4 -- Size of an indent (when you hit Tab)
vim.opt.expandtab = true -- Convert tabs to spaces (recommended)
vim.opt.softtabstop = 4 -- Makes Backspace delete 4 spaces like a Tab
vim.opt.clipboard = "unnamedplus"
-- Better Line Wrapping (for md)
vim.opt.wrap = true -- Enable line wrapping
vim.opt.linebreak = true -- Wrap lines at convenient points (avoid splitting words)
vim.opt.breakindent = true -- Wrapped lines will keep the same indent level