summaryrefslogtreecommitdiff
path: root/dot_config
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config')
-rw-r--r--dot_config/nvim/init.lua39
-rw-r--r--dot_config/nvim/lua/plugins/mini/init.lua1
2 files changed, 20 insertions, 20 deletions
diff --git a/dot_config/nvim/init.lua b/dot_config/nvim/init.lua
index 4f85a38..b1d0b52 100644
--- a/dot_config/nvim/init.lua
+++ b/dot_config/nvim/init.lua
@@ -1,25 +1,6 @@
vim.g.mapleader = ' '
vim.g.maplocalleader = ','
--- plugins
-if vim.fn.executable 'git' == 0 then
- require 'noplugins'
-else
- 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", -- latest stable release
- lazypath,
- })
- end
- vim.opt.rtp:prepend(lazypath)
- require 'lazy'.setup("plugins", {})
-end
-
-- options
local options = {
timeoutlen = 300,
@@ -43,3 +24,23 @@ local options = {
foldlevelstart = 99,
}
for k, v in pairs(options) do vim.opt[k] = v end
+
+-- plugins
+if vim.fn.executable 'git' == 0 then
+ require 'noplugins'
+else
+ 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", -- latest stable release
+ lazypath,
+ })
+ end
+ vim.opt.rtp:prepend(lazypath)
+ require 'lazy'.setup("plugins", {})
+ require 'bindings'
+end
diff --git a/dot_config/nvim/lua/plugins/mini/init.lua b/dot_config/nvim/lua/plugins/mini/init.lua
index 73e5858..1d2e05c 100644
--- a/dot_config/nvim/lua/plugins/mini/init.lua
+++ b/dot_config/nvim/lua/plugins/mini/init.lua
@@ -12,7 +12,6 @@ return {
return {
ai = {},
align = {},
- animate = {},
basics = {},
bracketed = {},
comment = {},