Vim Text Editor

I am a newcomer with Vim, anyone has some useful book or tut to learn through it?

Thank you guys

The built-in tutorial is good. (Type vimtutor in a terminal to start it.)

This site looks interesting:
http://www.openvim.com/

I learned a lot from free, online cheatsheets.

The built-in help is good. Type :h reg (where reg is the thing you want help with) to bring up the documentation.

vim help

I haven’t read this, but it looks good:
http://learnvimscriptthehardway.stevelosh.com/

Got a new job, programming C++ code in vim.
It is fun to be back doing something so basic, yet using such a powerful tool.

:wq

1 Like

I continue to be an ide junky. I have tried vi/emacs enumerable times and I have never managed a work flow that was more efficient than using a specific use ide, whether it be word or visual studio. Maybe I lack imagination.

Sounds fun. :slight_smile:

If you’re using it on Windows, Vim might not be that enjoyable. I’ve never been able to get it set up correctly on Windows. If I’m in Windows, I use Sublime Text 3 at the moment.

I think that the most enjoyable environment for Vim is in a UNIX-like terminal, like in the screenshot above. You can then combine it with things like tmux and all of the command line tools. If you’re managing things like virtualenvs, gulp tasks, local servers, remote servers via SSH, git commands, etc., you can split the terminal window into several panes with tmux, and you kind of have your own IDE, running to your exact preferences.

I read that Windows 10 will soon have Ubuntu Linux built in, including bash, so that might be interesting.

There is also an interesting version of Emacs called Spacemacs.

Haha just found this. I can’t believe there is a Vim thread in a memory forum :slight_smile:

I love Vim. Lately I am experimenting with Spacemacs as well and I really like it. The way it takes into account memory in the key binding groupings and organisation is quite interesting as well. And org mode is AMAZING!!

I started a related thread about Emacs’ Org Mode and Productivity Systems. There is an Org Mode plugin for Vim too, so people might be interested in that discussion.

This Stack Overflow post is interesting: Helping One Million Developers Exit Vim.

I guess the learning curve is so steep that ā€œduring peak traffic hours on weekdays, there are about 80 people per hour that need help getting out of Vim.ā€ :smiley:

Fun read!

I am still doing c++ development in vim…

Nice, I still want to learn some C++, but haven’t had time.

My next goal with Vim is to figure out the unite plugin. Has anyone here tried it or have other recommended ways to manage opening files? I’m currently using nerdtree, but I think there might be a better workflow available.

Edit, 2019: I’m using denite, which is great.

Btw. just found this nice little package for emacs evil mode:

1 Like

Thanks, it looks interesting. :slight_smile:

Like Discourse?:w

For a while I was using a keyboard layout which put ā€œHJKLā€ where ā€œVNPWā€ are on Qwerty. Yes, H was to the right of L, but still moved left. I actually got sort of used to it, but it’s a lot nicer on my new keyboard layout where ā€œHJKLā€ goes where ā€œJCVUā€ are on Qwerty, and I remapped the ā€œJUā€ places to up and down, and the ā€œCVā€ places to left and right, so it’s actually reasonably intuitive and convenient. I also have a keyboard layer with a set of arrow keys, a set of keys which send HJKL, a set of keys which send the right letters to work with programs that I ā€œcorrectedā€ for my old layout, and a set of keys which send the right letters to work with programs that I corrected for my new layout :smiley:

I didn’t see anyone mention https://vimawesome.com/, so I will. It lets you search for vim plugins you might want

2 Likes

posting Neovim love

:sparkling_heart: :keyboard: :sparkling_heart:

2 Likes

I’ve been meaning to redo my neovim config, since I haven’t changed it much in a few years. There’s an interesting neovim setup in the video for Omakub, but I haven’t looked closely yet.

2 Likes

clicking escaping key is sure headache, after some time. I changed my keyboard layout. and now my caps lock key is esc key. (it makes things easier for me, since I don’t generally use caps at all, just shift + alphabet does the job.)

and I didn’t change my hjkl keys to any other, since it’s doing pretty good. no problem at all.
mostly using vim as my default text editor.

I do that too now, but it adds another layer of annoyance on computers without the mapping :joy:

Apr 24, 2012 7:55 AM

That was quite the bump, there are probably forum members younger than that post :joy:

One surprising thing for me was you actually replied back, I thought you left aom years ago :sweat_smile: (good to know still there since that long time)

that’s usually common thing I noticed through years.
Since most people generally come here to know and discuss memory techniques, training stuff.

I had a liking to mental math more than memory, but I found only kinma name person to be that excited like me in maths that time , not many are that interested. compare to when discussing techniques about memory.

That may be the reason why nobody texted and it was 13 years older post.

I will say I’m a ā€˜js’ person for escape.

seems pretty solid. as long as hand is still intact to keyboard that’s good to me :slight_smile:

VIM CHALLENGE 1 (this seems pretty good exercise for vim h, l, j, k navigation training.