Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools Git Basics Workflows Git-Flow

Difficulty adding a tag message on Mac.

I am stuck at the end of the video, finishing the hotfix. I type the command and the window opens as it does in the video however if I try to type the cursor just moves to another line and does not type anything. It is opening in VIM. I had problems on a previous video also when VIM was used. Is there any way to change the default editor that is being opened? And/or can someone tell me how to enter the tag message given that nothing is showing up when I type and the cursor is just moving down a line...?

2 Answers

Li Mbo
Li Mbo
5,096 Points

I had the same issue with VIM since I am just a starter, here is how you go around it: If you cannot type anything it means you are not in the insert mode, to access it just press "i". To save when finishing, press ESC, followed by :wq wq stands for write and quit. You can also change the default text editor for that operation, and use nano instead which is much more simpler, but learning VIM is also worth it since it has more features, so it might be worth the struggle depending on your needs. This is only my opinion, as I am forcing myself to go with VIM.

just use a pc.

That's kind of an ignorant reply, don't you think? Mac is required for school (this course is part of the prep work for my school).

Li Mbo
Li Mbo
5,096 Points

Well, choosing a pc over a linux/mac for web development is the worst decision you can make. Go back to the first video when he spoke about the POSIX family, most servers are run under linux too.