diff options
author | Brahmajit Das <brahmajit.xyz@gmail.com> | 2024-12-29 14:01:24 +0530 |
---|---|---|
committer | Brahmajit Das <brahmajit.xyz@gmail.com> | 2024-12-29 14:01:24 +0530 |
commit | 74f2f16cf8dd291d3f68be15889910e4a5816748 (patch) | |
tree | 7e5689c40adf04e227809777686f159fa189dbe0 /init.lua | |
parent | 15b138b013104d3df315c9e84bb6fc1f285347d6 (diff) |
configure leader key before loading lazy
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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 |