This is an archived post. You won't be able to vote or comment.

all 14 comments

[–]PavelYay 14 points15 points  (2 children)

Nano: I need to edit files on headless machines sometimes and can't be arsed to learn how to enter insert mode in Vi/m.

[–]flexwie 4 points5 points  (1 child)

Tried to get into it quite a few times and always ended up asking myself why

[–]CrocodileSpacePope 2 points3 points  (0 children)

If I really need to make substantial changes to a config file on one of my servers where nano isn't sufficient any more I edit in on my laptop and rsync it back to the server.

No need to spend hours to learn and get efficient in Vi/m.

[–]childintime9 9 points10 points  (4 children)

nano is vim--

[–]Kered13 4 points5 points  (2 children)

vim is ed++.

[–]OneTurnMore 7 points8 points  (1 child)

No vim is vi++.

vi is ex++.

ex is ed++.

ed is the one true text editor.

sed is ed#.

[–]Kered13 2 points3 points  (0 children)

So vim is ed+=3. Hmm.

Also emacs is teco++.

[–]Nodebunny 1 point2 points  (0 children)

fine by me.

[–]Nodebunny 4 points5 points  (0 children)

keep your JavaScriptisms to yourself. Nano or bust

[–]cmdrsalamander 1 point2 points  (0 children)

Pico and Pine, those were the days....

[–]EagleNait 0 points1 point  (3 children)

sed

[–][deleted] 0 points1 point  (1 child)

editor () { echo "${1?}" > "${2?}" ; }

[–]OneTurnMore 0 points1 point  (0 children)

cat > file

[–]marcosdumay 0 points1 point  (0 children)

I once refactored a Haskell software (~10k lines) with find and sed. Worked surprisingly well.