feat(nvim): Use LazyVim for configurations
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
-- Options are automatically loaded before lazy.nvim startup
|
||||
-- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua
|
||||
-- Add any additional options here
|
||||
|
||||
vim.cmd.set("expandtab")
|
||||
vim.cmd.set("tabstop=2")
|
||||
vim.cmd.set("softtabstop=2")
|
||||
vim.cmd.set("shiftwidth=2")
|
||||
vim.cmd.set("textwidth=80")
|
||||
|
||||
-- Disable swapfile
|
||||
vim.opt.swapfile = false
|
||||
|
||||
-- Set highlight on search
|
||||
vim.o.hlsearch = false
|
||||
|
||||
-- Quick exit
|
||||
vim.keymap.set("i", "jj", "<Esc>", { noremap = false })
|
||||
Reference in New Issue
Block a user