Skip to content

Commit

Permalink
feat(nvim): remove plugins I don't use
Browse files Browse the repository at this point in the history
  • Loading branch information
massix committed Mar 11, 2024
1 parent bb292b4 commit 874b66d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 70 deletions.
2 changes: 1 addition & 1 deletion README.org
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
[[https://github.com/oh-my-fish/plugin-bang-bang][Bang bang]] is a plugin
which adds a functionality similar to the ~!!~ pattern in ~bash~.

*** NeoVim
*** Neovim
This is the biggest and by far the most curated module in this repository
and probably the one which will see the most evolutions. This module
creates a working ~NeoVim~ installation using [[https://github.com/folke/lazy.nvim][Lazy.nvim]] and some
Expand Down
1 change: 1 addition & 0 deletions nvim/lua/plugins/coding.lua
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,7 @@ return {
formatters_by_ft = {
lua = { "stylua" },
fish = { "fish_indent" },
c = { "clang_format" },
},
format_on_save = function(_)
return { lsp_fallback = true }
Expand Down
69 changes: 0 additions & 69 deletions nvim/lua/plugins/editor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -392,41 +392,6 @@ return {
},
},

-- Code biscuits
{
"code-biscuits/nvim-biscuits",
event = "BufEnter",
init = function()
local wk = require("which-key")
wk.register({
["<leader>c"] = { name = "+code" },
})
end,
opts = {
show_on_start = false,
cursor_line_only = true,
on_events = { "CursorHoldI", "InsertLeave" },
trim_by_words = false,
default_config = {
prefix_string = "",
},
language_config = {
org = { disabled = true },
markdown = { disabled = true },
help = { disabled = true },
},
},
keys = {
{
"<leader>cb",
function()
require("nvim-biscuits").toggle_biscuits()
end,
desc = "Toggle biscuits",
},
},
},

-- Better escape
{
"max397574/better-escape.nvim",
Expand Down Expand Up @@ -502,30 +467,6 @@ return {
},
},

-- Confirm before leaving Neovim
{
"yutkat/confirm-quit.nvim",
event = "CmdlineEnter",
opts = {
overwrite_q_command = false,
quit_message = "U sure?",
},
config = function(_, opts)
require("confirm-quit").setup(opts)
vim.cmd([[
function! s:solely_in_cmd(command)
return (getcmdtype() == ':' && getcmdline() ==# a:command)
endfunction
cnoreabbrev <expr> q <SID>solely_in_cmd('q') ? 'ConfirmQuit' : 'q'
cnoreabbrev <expr> qa <SID>solely_in_cmd('qa') ? 'ConfirmQuitAll' : 'qa'
cnoreabbrev <expr> qq <SID>solely_in_cmd('qq') ? 'quit' : 'qq'
cnoreabbrev <expr> wq <SID>solely_in_cmd('wq') ? 'w <bar> ConfirmQuit' : 'wq'
cnoreabbrev <expr> wqa <SID>solely_in_cmd('wqa') ? 'wall <bar> ConfirmQuitAll' : 'wqa'
]])
end,
},

-- Better tab scoping
{
"tiagovla/scope.nvim",
Expand Down Expand Up @@ -612,16 +553,6 @@ return {
ft = { "markdown", "org", "norg" },
},

-- Arrow for bookmarks
{
"otavioschwanck/arrow.nvim",
event = "VeryLazy",
opts = {
show_icons = true,
leader_key = ";",
},
},

-- Better e, w and friends
{
"backdround/neowords.nvim",
Expand Down

0 comments on commit 874b66d

Please sign in to comment.