moved keybind and config files out of init, working
This commit is contained in:
10
init.lua
10
init.lua
@@ -1,11 +1,14 @@
|
||||
-- River Rooks nvim config
|
||||
-- init.lua
|
||||
-- render options, keybinds, lazy and treesitter
|
||||
-- processed first
|
||||
|
||||
-- render options
|
||||
require('options')
|
||||
|
||||
-- render keybinds
|
||||
require('keybinds')
|
||||
|
||||
-- [[scripts]]
|
||||
-- Bootstrap lazy.nvim
|
||||
--
|
||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||
if not (vim.uv or vim.loop).fs_stat(lazypath) then
|
||||
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
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
|
||||
-- Make sure to setup `mapleader` and `maplocalleader` before
|
||||
-- loading lazy.nvim so that mappings are correct.
|
||||
-- This is also a good place to setup other settings (vim.opt)
|
||||
|
||||
Reference in New Issue
Block a user