summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.lua7
-rw-r--r--init_min.lua6
2 files changed, 5 insertions, 8 deletions
diff --git a/init.lua b/init.lua
index fbf4370..182e7b1 100644
--- a/init.lua
+++ b/init.lua
@@ -3,6 +3,9 @@ if vim.fn.executable('nvr') == 0 then
vim.api.nvim_command('!pip3 install --user --break-system-packages neovim-remote')
end
+-- Change leader to a comma
+vim.g.mapleader = ','
+
local function get_hostname()
local f = io.open("/etc/hostname")
local hostname = f:read("*a") or ""
@@ -11,10 +14,6 @@ local function get_hostname()
return hostname
end
-require 'basics'
-require 'appearance'
-require 'keymaps'
-
-- Load plugins on devices other than RPi
if get_hostname() ~= "shoggoth" then
-- Bootstrap lazy.nvim
diff --git a/init_min.lua b/init_min.lua
index 3acba52..25299e6 100644
--- a/init_min.lua
+++ b/init_min.lua
@@ -1,6 +1,4 @@
-require 'basics'
-require 'appearance'
-require 'keymaps'
-require 'utils'
+-- Change leader to a comma
+vim.g.mapleader = ','
vim.cmd.colorscheme "retrobox"