PreviousNextTracker indexSee it online !

(205/212) 542 - ssh_config edit mode - need help

Hi!

I created attached edit mode for ssh config files, but it doesn't work exactly as I expected.

I want lines starting with "Host" to be unindented and all following lines to be indented.

But with attached mode, all lines following "Host" are double indented and a new Host line get unindented by just one tab.

Example (-> stands for a tab)

Host test
->->hostname test.example.com
->Host test2
->->->hostname test2.example.com

While it should be

Host test
->hostname test.example.com
Host test2
->hostname test2.example.com


Can someone please have a look and help?

Submitted ngc - 2017-12-20 06:55:02.145000 Assigned
Priority 5 Labels
Status open Group none
Resolution None

Comments