i3-layout-manager icon indicating copy to clipboard operation
i3-layout-manager copied to clipboard

Substitute vim with something more normal, like.. python

Open klaxalk opened this issue 7 years ago • 4 comments

klaxalk avatar Sep 02 '18 01:09 klaxalk

Better sed.

tasmo avatar Sep 03 '18 12:09 tasmo

Some of the edits are more complex than sed could do IMO, e.g., locating the floating block in the tree, then jumping back two times on { and cutting the whole part between { and } and placing it at the end of the file. This can be done in a single online using vim's normal mode: %g/floating_con/norm ?{<cr>nd%"_ddGA<cr>p for every floating block in the file. Don't know whether this is possible using sed... However, I am for more readable implementation when the dust settles, something, that a non-vim user could fix.

klaxalk avatar Sep 03 '18 13:09 klaxalk

Maybe merge the two project:

https://github.com/JonnyHaystack/i3-resurrect

QiangF avatar Aug 17 '22 03:08 QiangF

Maybe merge the two project:

https://github.com/JonnyHaystack/i3-resurrect

Oh, that looks interesting! :-) Thanks for bringing this up.

klaxalk avatar Aug 17 '22 07:08 klaxalk