init.lua

Branches > main > 46734e3 > files / nvim / init.lua

local fn = vim.fn

vim.loader.enable()

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

require("opts")

-- For some reason this still isn't quite working?
if fn.isdirectory(fn.argv(0)) == 1 then
  require("plugins.oil").open()
end

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

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

--- Bug: Oil isn't loaded when using `nvim dir`, which means nothing shows up :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