blob: 6d4efcab9a6ee68e00dc0e4add2158ed22434a6d (
plain) (
blame)
1
2
3
4
5
6
|
local misc = require('core.misc')
local map_local = misc.map_local
-- sort #includes <> (very jank)
-- TODO: rewrite in a semi-sane way
map_local("n", "cri", "mz/^#include.*<.*>$<CR>ggVGN:sort<CR>`z<cmd>delm z<CR>:nohlsearch<Bar>:echo<CR>")
|