init.lua

Branches > main > ecf9761 > files / nvim / init.lua

vim.loader.enable()

require("colors")
require("ui")
require("center")

require("opts")
require("filetype")

local nvim_arg = vim.fn.argv(0)
if vim.fn.isdirectory(nvim_arg) == 1 then
  require("plugins.oil").open(nvim_arg)
end

vim.schedule(function() require("keybindings") end)
vim.schedule(function() require("lsp") end)
vim.schedule(function() require("lazy_ui") end)

--- TODO there's a bug tha parens and virtual text likes to stick around for longer than it should...

--- Still to do:
--- Parens (Parinfer)
--- Formatting (better formatting anyway :p)

--- Also:
--- Looking at java stuff (where does that come from and how could I improve it?)
--- Surround?
--- Fuzzy find code actions
--- Fuzzy find file contents

--- Paren Editing:
--- Could use s for bindings!

--- Bindings I'd want:
--- drag elements (or map pairs)
--- drag forms
--- Text object around form
--- Text object inner form
--- (insert?) before form
--- (insert?) after form