-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.lua
More file actions
48 lines (32 loc) · 1.25 KB
/
init.lua
File metadata and controls
48 lines (32 loc) · 1.25 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
-- ~/.config/nvim/init.lua
--[[
Important Links / references:
-----------------------------
Inspiration from: https://github.com/dam9000/kickstart-modular.nvim.git
How Neovim integrates Lua: `:help lua-guide`
- (or HTML version): https://neovim.io/doc/user/lua-guide.html
Neovim Tutor: `:Tutor`
Help: `:help`
- (or telescope version): `<space>sh` to [s]earch the [h]elp documentation
- several `:help X` options for relevant settings, plugins, or Neovim features
Check Health: `:checkhealth`
- tells you what plugins are missing or misconfigured
--]]
-- 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 = ' ' -- global leader key
vim.g.maplocalleader = ' ' -- used for mappings that only make sense in certain filetypes or buffers
-- Set to true if you have a Nerd Font installed and selected in the terminal
vim.g.have_nerd_font = true
-- [[ Setting options ]]
require 'options'
-- [[ Basic Keymaps ]]
require 'keymaps'
-- [[ Install `lazy.nvim` plugin manager ]]
require 'lazy-bootstrap'
-- [[ Configure and install plugins ]]
require 'lazy-plugins'
require('external.findreplace').setup()
require('external.copy').setup()
require('external.reset').setup()