Remove mini.splitjoin
I already have `treesj` which works better for PHP and Nix compared to the `mini.splitjoin`.
This commit is contained in:
parent
cff2728d54
commit
779687182c
|
@ -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
10
after/plugin/treesj.lua
Normal 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 }
|
|
@ -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
|
||||
|
|
Reference in a new issue