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
|
-- 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)
|
||||||
|
|||||||
Reference in New Issue
Block a user