nvim-config/init.lua

27 lines
681 B
Lua
Raw Permalink Normal View History

-- Set <space> as the leader key
-- See `:help mapleader`
-- NOTE: Must happen before plugins are loaded (otherwise wrong leader will be used)
vim.g.mapleader = ' '
vim.g.maplocalleader = ' '
-- Set to true if you have a Nerd Font installed and selected in the terminal
2024-03-07 13:37:23 +00:00
vim.g.have_nerd_font = true
2024-04-08 11:18:48 +00:00
-- Save start directory as base
vim.g.base_dir = vim.fn.getcwd()
2022-06-24 03:35:53 +00:00
-- [[ Setting options ]]
2023-12-05 09:28:02 +00:00
require 'options'
2022-06-24 03:35:53 +00:00
-- [[ Basic Keymaps ]]
2023-12-05 09:28:02 +00:00
require 'keymaps'
2022-06-24 03:35:53 +00:00
-- [[ Install `lazy.nvim` plugin manager ]]
require 'lazy-bootstrap'
2022-06-24 03:35:53 +00:00
-- [[ Configure and install plugins ]]
require 'lazy-plugins'
2022-06-24 03:35:53 +00:00
-- The line beneath this is called `modeline`. See `:help modeline`
-- vim: ts=2 sts=2 sw=2 et