my-nvim-config/vps/init.lua

37 lines
894 B
Lua
Raw Normal View History

2024-03-20 17:55:18 -05:00
local set = vim.opt
-- Turn on numbers
set.number = true
-- Turn off line wrapping
set.wrap = false
-- Disable cmdline from bottom
set.cmdheight = 0
-- Ignore case while searching except when the search term contains capital letters
set.ignorecase = true
set.smartcase = true
-- Use 4 spaces and properly adjust them for files using TAB
set.tabstop = 4
set.shiftwidth = 4
set.softtabstop = 4
set.expandtab = true
-- Turn on spell checking
set.spell = true
-- Enable mouse support
set.mouse = 'n'
-- Enable programming dictionary
set.spelllang = { "en", "programming" }
-- Disable unused plugins
vim.g.loaded_perl_provider = 0
vim.g.loaded_node_provider = 0
vim.g.loaded_ruby_provider = 0
-- Load keymaps
2024-03-20 20:48:32 -05:00
local keymaps = vim.fn.stdpath("config") .. "/keymaps.lua"
2024-03-20 17:55:18 -05:00
vim.cmd.source(keymaps)
2024-03-13 14:07:20 -05:00
2024-03-19 15:39:14 -05:00
-- Load plugins using paq-nvim
local paq = vim.fn.stdpath("config") .. "/paq.lua"
vim.cmd.source(paq)
2024-03-13 14:07:20 -05:00