aboutsummaryrefslogtreecommitdiff
path: root/nvim/init.lua
blob: b32a6821eb56b2e74d1ae8461952ca185b0e549e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
-- Bootstrap lazy.nvim
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({
    "git",
    "clone",
    "--filter=blob:none",
    "https://github.com/folke/lazy.nvim.git",
    "--branch=stable",
    lazypath,
  })
end
vim.opt.rtp:prepend(lazypath)

vim.g.mapleader = " "
vim.g.maplocalleader = " "

require("core.options")
require("core.keymaps")
require("core.statusline").setup()
require("core.autocmds")
require("lazy").setup("plugins")

--[[-- TODO: --]]
-- gennaro-tedesco/nvim-commaround (comments)
-- kylechui/nvim-surround (surround vim)
-- "tpope/vim-fugitive"
-- iamcco/markdown-preview.nvim

-- s1n7ax/nvim-terminal
--"https://github.com/rmagatti/goto-preview
--"https://github.com/SmiteshP/nvim-navbuddy
-- look into harpoon?