39 lines
851 B
Lua
39 lines
851 B
Lua
-- 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
|
|
vim.g.have_nerd_font = false
|
|
|
|
|
|
-- [[ Setting options ]]
|
|
require 'options'
|
|
|
|
-- [[ Basic Keymaps ]]
|
|
require 'keymaps'
|
|
|
|
vim.cmd [[
|
|
augroup pencil
|
|
autocmd!
|
|
autocmd FileType markdown,mkd call pencil#init()
|
|
autocmd FileType text call pencil#init()
|
|
augroup END
|
|
]]
|
|
|
|
-- [[ Install `lazy.nvim` plugin manager ]]
|
|
require 'lazy-bootstrap'
|
|
|
|
-- [[ Configure and install plugins ]]
|
|
--
|
|
-- To check the current status of your plugins, run
|
|
-- :Lazy
|
|
--
|
|
-- You can press `?` in this menu for help. Use `:q` to close the window
|
|
--
|
|
-- To update plugins you can run
|
|
-- :Lazy update
|
|
--
|
|
require 'lazy-plugins'
|