moved keybind and config files out of init, working

This commit is contained in:
venus
2026-03-09 22:57:02 -05:00
parent eac6d7dd53
commit 0ffe1c07cf
3 changed files with 6 additions and 4 deletions

View File

@@ -1,11 +1,14 @@
-- River Rooks nvim config
-- init.lua
-- render options, keybinds, lazy and treesitter
-- processed first
-- render options -- render options
require('options') require('options')
-- render keybinds -- render keybinds
require('keybinds') require('keybinds')
-- [[scripts]]
-- Bootstrap lazy.nvim -- Bootstrap lazy.nvim
--
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not (vim.uv or vim.loop).fs_stat(lazypath) then if not (vim.uv or vim.loop).fs_stat(lazypath) then
local lazyrepo = "https://github.com/folke/lazy.nvim.git" local lazyrepo = "https://github.com/folke/lazy.nvim.git"
@@ -21,7 +24,6 @@ if not (vim.uv or vim.loop).fs_stat(lazypath) then
end end
end end
vim.opt.rtp:prepend(lazypath) vim.opt.rtp:prepend(lazypath)
-- Make sure to setup `mapleader` and `maplocalleader` before -- Make sure to setup `mapleader` and `maplocalleader` before
-- loading lazy.nvim so that mappings are correct. -- loading lazy.nvim so that mappings are correct.
-- This is also a good place to setup other settings (vim.opt) -- This is also a good place to setup other settings (vim.opt)