mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 08:41:43 +05:30
- VIM: Configurations better commented - NVIM: NVChad, LazyNvim, Old-Config removed - NVIM: Restarted and reconfigured from kickstart.nvim [WIP] - Dotfiles on $HOME removed from 160+ to 25. Most of them moved to $XDG_* directories - Shell: Added back p10k config - Shell: Autoremove brew left over applications - Kitty: Added bashrc & profiles for ssh kitten - Kitty: Custom tab-titles
17 lines
580 B
Lua
17 lines
580 B
Lua
-- Options available as-is: VimScript,
|
|
-- Options starting with nvim_: lua
|
|
-- To set VimScript options in lua: use either vim.opt (:help vim.opt)
|
|
|
|
-- Load configs from VIM
|
|
local vim_configs = os.getenv("HOME") .. "/.vim/configs.vim"
|
|
if vim.loop.fs_stat(vim_configs) then
|
|
vim.cmd("source " .. vim_configs)
|
|
end
|
|
|
|
vim.opt.undodir = vim.fn.stdpath("config") .. "/undo"
|
|
vim.opt.backupdir = vim.fn.stdpath("config") .. "/backup/"
|
|
|
|
vim.opt.wrap = true
|
|
vim.opt.cursorline = true
|
|
vim.opt.inccommand = "split" -- With :%s command, show the preview in a split instead of inline
|