Oliver Davies
779687182c
I already have `treesj` which works better for PHP and Nix compared to the `mini.splitjoin`.
11 lines
170 B
Lua
11 lines
170 B
Lua
local tsj = require "treesj"
|
|
|
|
tsj.setup {
|
|
use_default_keymaps = false,
|
|
}
|
|
|
|
local nmap = require "opdavies.keymap".nmap
|
|
|
|
nmap { "gJ", tsj.join }
|
|
nmap { "gS", tsj.split }
|