Skip to content

Commit

Permalink
feat(nvim): cleanup nvim plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
EdenEast committed Jan 10, 2024
1 parent b9b8202 commit aa8f460
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 48 deletions.
3 changes: 0 additions & 3 deletions config/.config/nvim/lazy-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"diffview.nvim": { "branch": "main", "commit": "b3a763f8c7810b352226c95faa7d3ac9fb93b8d9" },
"dressing.nvim": { "branch": "master", "commit": "5fb5cce0cbfcedeadbcee43e5674e8c9a9f28d4a" },
"flash.nvim": { "branch": "main", "commit": "947170a7abc7e145cc87afd3ecb6aeb281d88a52" },
"friendly-snippets": { "branch": "main", "commit": "91dc01efa4cbb6d6a2b77eb98953b9a1d5c78f5f" },
"gitsigns.nvim": { "branch": "main", "commit": "a36bc3360d584d39b4fb076d855c4180842d4444" },
"harpoon": { "branch": "master", "commit": "bb4f7c0b3ef07042b1de816769f14a1b11ecc1a8" },
"indent-blankline.nvim": { "branch": "master", "commit": "7075d7861f7a6bbf0de0298c83f8a13195e6ec01" },
Expand All @@ -30,7 +29,6 @@
"neo-tree.nvim": { "branch": "v2.x", "commit": "d883632bf8f92f1d5abea4a9c28fb2f90aa795aa" },
"neodev.nvim": { "branch": "main", "commit": "78f1c370173e7689bd58d64229b4d92c5dfb2793" },
"neogit": { "branch": "master", "commit": "68a3e90e9d1ed9e362317817851d0f34b19e426b" },
"noice.nvim": { "branch": "main", "commit": "39461475d9de676bccc338876689c9e5b44bc932" },
"nui.nvim": { "branch": "main", "commit": "d146966a423e60699b084eeb28489fe3b6427599" },
"null-ls.nvim": { "branch": "main", "commit": "bbaf5a96913aa92281f154b08732be2f57021c45" },
"nvim-asciidoc-preview": { "branch": "main", "commit": "62d12bf3117b4ea53e266bc93033f84af0130212" },
Expand All @@ -55,7 +53,6 @@
"one-small-step-for-vimkind": { "branch": "main", "commit": "f239ca0dc772f214e7ff0627ccbd45bceae88bf8" },
"playground": { "branch": "master", "commit": "2b81a018a49f8e476341dfcb228b7b808baba68b" },
"plenary.nvim": { "branch": "master", "commit": "36aaceb6e93addd20b1b18f94d86aecc552f30c4" },
"remember-me.nvim": { "branch": "main", "commit": "1f2ef40e08ac9023eca6786aa414580380bad8d3" },
"telescope.nvim": { "branch": "master", "commit": "00cf15074a2997487813672a75f946d2ead95eb0" },
"todo-comments.nvim": { "branch": "main", "commit": "09b0b17d824d2d56f02ff15967e8a2499a89c731" },
"trouble.nvim": { "branch": "main", "commit": "2af0dd9767526410c88c628f1cbfcb6cf22dd683" },
Expand Down
11 changes: 0 additions & 11 deletions config/.config/nvim/lua/eden/mod/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,6 @@ return {
config = function() vim.g.startuptime_tries = 10 end,
},

-- project specific session manager
{
"EricDriussi/remember-me.nvim",
config = function()
local path = require("eden.core.path")
require("remember_me").setup({
session_store = path.join(path.cachehome, "remember-me"),
})
end,
},

-- tmux navigator
{ "christoomey/vim-tmux-navigator" },
}
4 changes: 0 additions & 4 deletions config/.config/nvim/lua/eden/mod/snippets/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ return {
build = (not jit.os:find("Windows"))
and "echo -e 'NOTE: jsregexp is optional, so not a big deal if it fails to build\n'; make install_jsregexp"
or nil,
dependencies = {
"rafamadriz/friendly-snippets",
-- config = function() require("luasnip.loaders.from_vscode").lazy_load() end,
},
keys = {
-- {
-- "<tab>",
Expand Down
60 changes: 30 additions & 30 deletions config/.config/nvim/lua/eden/mod/ui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -158,36 +158,36 @@ return {
},

-- noicer ui
{
"folke/noice.nvim",
event = "VeryLazy",
config = function()
require("noice").setup({
cmdline = {
view = "cmdline",
},
lsp = {
override = {
["vim.lsp.util.convert_input_to_markdown_lines"] = true,
["vim.lsp.util.stylize_markdown"] = true,
},
},
presets = {
bottom_search = true,
long_message_to_split = true,
},
})
end,
-- stylua: ignore
keys = {
{ "<S-Enter>", function() require("noice").redirect(vim.fn.getcmdline()) end, mode = "c", desc = "Redirect Cmdline" },
{ "<leader>snl", function() require("noice").cmd("last") end, desc = "Noice Last Message" },
{ "<leader>snh", function() require("noice").cmd("history") end, desc = "Noice History" },
{ "<leader>sna", function() require("noice").cmd("all") end, desc = "Noice All" },
{ "<c-f>", function() if not require("noice.lsp").scroll(4) then return "<c-f>" end end, silent = true, expr = true, desc = "Scroll forward", mode = {"i", "n", "s"} },
{ "<c-b>", function() if not require("noice.lsp").scroll(-4) then return "<c-b>" end end, silent = true, expr = true, desc = "Scroll backward", mode = {"i", "n", "s"}},
},
},
-- {
-- "folke/noice.nvim",
-- event = "VeryLazy",
-- config = function()
-- require("noice").setup({
-- cmdline = {
-- view = "cmdline",
-- },
-- lsp = {
-- override = {
-- ["vim.lsp.util.convert_input_to_markdown_lines"] = true,
-- ["vim.lsp.util.stylize_markdown"] = true,
-- },
-- },
-- presets = {
-- bottom_search = true,
-- long_message_to_split = true,
-- },
-- })
-- end,
-- -- stylua: ignore
-- keys = {
-- { "<S-Enter>", function() require("noice").redirect(vim.fn.getcmdline()) end, mode = "c", desc = "Redirect Cmdline" },
-- { "<leader>snl", function() require("noice").cmd("last") end, desc = "Noice Last Message" },
-- { "<leader>snh", function() require("noice").cmd("history") end, desc = "Noice History" },
-- { "<leader>sna", function() require("noice").cmd("all") end, desc = "Noice All" },
-- { "<c-f>", function() if not require("noice.lsp").scroll(4) then return "<c-f>" end end, silent = true, expr = true, desc = "Scroll forward", mode = {"i", "n", "s"} },
-- { "<c-b>", function() if not require("noice.lsp").scroll(-4) then return "<c-b>" end end, silent = true, expr = true, desc = "Scroll backward", mode = {"i", "n", "s"}},
-- },
-- },

-- dashboard
{
Expand Down

0 comments on commit aa8f460

Please sign in to comment.