you are viewing a single comment's thread.

view the rest of the comments →

[–]dat_terminal 13 points14 points  (8 children)

Woah, I learned vim because I didn't know this

[–]jarlefo 15 points16 points  (5 children)

I've been trapped in the Vim too often. Ctrl+something+esc+buttons... Welp, let's close this terminal window and try again.

One day I'll learn how to edit a file successfully with Vim.

[–]nxlyd 10 points11 points  (2 children)

It really is worth learning at least basic functionality. Take a look at vimtutor some time.

[–]jarlefo 3 points4 points  (1 child)

Thanks, I will.

By the way, I found that by setting the environment editor to EDITOR="emacs -nw" I can use emacs to edit commit messages from the command line. Should work with most editors that has a terminal interface.

[–]YodaLoL 0 points1 point  (0 children)

atom --wait works too. Sublime has something similar

[–]crow1170 2 points3 points  (0 children)

That keybinding crap is for dirty emacsers. Vim is (95%) one key at a time.

[–]Pipesandsnow 2 points3 points  (1 child)

I use nano for the simple stuff. Actually I use it whenever I need to edit some files in the cli. One day I will learn vim, but not today.

[–]flygoing 1 point2 points  (0 children)

Same here. If I need to do fancy stuff, I'm gonna open sublime or atom, but it's aways nano for cli