Files
dotfiles/common/.config/nvim/lua/config/options.lua
Pratik Tripathy 5fa524dd1d - TMUX: Switched back to ctrl+b as leader
- 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
2024-01-29 22:51:23 +05:30

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