Remove mini.splitjoin

I already have `treesj` which works better for PHP and Nix compared to
the `mini.splitjoin`.
This commit is contained in:
Oliver Davies 2024-04-02 01:20:37 +01:00
parent cff2728d54
commit 779687182c
3 changed files with 13 additions and 10 deletions

View file

@ -15,8 +15,6 @@ require("mini.move").setup {}
require("mini.operators").setup {}
require("mini.splitjoin").setup {}
require("mini.statusline").setup {
use_icons = false,
}

10
after/plugin/treesj.lua Normal file
View file

@ -0,0 +1,10 @@
local tsj = require "treesj"
tsj.setup {
use_default_keymaps = false,
}
local nmap = require "opdavies.keymap".nmap
nmap { "gJ", tsj.join }
nmap { "gS", tsj.split }

View file

@ -101,6 +101,8 @@ in rec {
};
opdavies-nvim = mkVimPlugin { inherit system; };
inherit (vimPlugins) treesj;
in [
customVim.nvim-tmux-navigation
customVim.tabline-vim
@ -142,15 +144,8 @@ in rec {
# vim.g.sort_motion_flags = "ui"
# '';
# }
# {
# plugin = vimPlugins.treesj;
# type = "lua";
# config = ''
# require "treesj".setup {}
# '';
# }
vimPlugins.vim-sort-motion
vimPlugins.treesj
treesj
# Testing
vimPlugins.vim-test