Anyone got any links to good guides for getting into Vim if you are a Visual Studio user at present? I keep hearing people talking about Vim and how it will change your life, mannn. Is there a good beginners guide?
Vim 7.3 released
31–40 of 48 posts
Re: Vim 7.3 released
#32Anyone got any links to good guides for getting into Vim if you are a Visual Studio user at present? I keep hearing people talking about Vim and how it will change your life, mannn. Is there a good beginners guide?
I liked the visual guide: http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial... You can also get a vi plugin for Visual Studio http://www.viemu.com/ which is pretty cool.
Re: Vim 7.3 released
#33Earlier quoted context omitted.
In case you didn't know, Vim already had undo "trees". My mind was BLOWN when I discovered this: http://vimdoc.sourceforge.net/htmldoc/usr_32.html -- Never again accidentally lose work by accidentally breaking your redo change! The online docs are still 7.2, so I had to dig into the source for a link to the new persistent undo/redo docs (search for "undo-persistence"): http://code.google.com/p/vim/source/browse/runti…
This is not a dis against Vim (I use both), but if any Emacs users are reading this and think "cool!": http://www.dr-qubit.org/undo-tree/undo-tree.el
But I did come to the conclusion that Emacs' default undo system is where it's at. Every modification should be undoable, including undos. Once you understand how it works, there's no longer a need for trees and the complexity that brings.
Re: Vim 7.3 released
#34Anyone got any links to good guides for getting into Vim if you are a Visual Studio user at present? I keep hearing people talking about Vim and how it will change your life, mannn. Is there a good beginners guide?
Start by running vimtutor on just about any system that has Vim installed.
Re: Vim 7.3 released
#35Quote from :h relativenumber
Show the line number relative to the line with the cursor in front of each line. Relative line numbers help you use the |count| you can precede some vertical motion commands (e.g. j k + -) with, without having to calculate it yourself. Especially useful in combination with other commands (e.g. y d c gq gw =).
Re: Vim 7.3 released
#36Earlier quoted context omitted.
This is not a dis against Vim (I use both), but if any Emacs users are reading this and think "cool!": http://www.dr-qubit.org/undo-tree/undo-tree.el
I'm writing a new text editor and I spent an inordinate amount of time on the undo system. I never realized how many things the choice of undo implementation would affect. But I did come to the conclusion that Emacs' default undo system is where it's at. Every modification should be undoable, including undos. Once you understand how it works, there's no longer a need for trees and the complexity that brings.
EDIT: It seems that undo-tree.el file has a good explaination in the comments: http://www.dr-qubit.org/undo-tree/undo-tree.el
Re: Vim 7.3 released
#37Anyone got any links to good guides for getting into Vim if you are a Visual Studio user at present? I keep hearing people talking about Vim and how it will change your life, mannn. Is there a good beginners guide?
I liked the visual guide: http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial... You can also get a vi plugin for Visual Studio http://www.viemu.com/ which is pretty cool.
Maybe it's just that viemu for VS2010 has only just come out recently, and may still need some tweaking. Long term, it's probably a great tool.
Re: Vim 7.3 released
#38Earlier quoted context omitted.
I'm writing a new text editor and I spent an inordinate amount of time on the undo system. I never realized how many things the choice of undo implementation would affect. But I did come to the conclusion that Emacs' default undo system is where it's at. Every modification should be undoable, including undos. Once you understand how it works, there's no longer a need for trees and the complexity that brings.
For those of us who are Vim users, could you explain the Emacs system? EDIT: It seems that undo-tree.el file has a good explaination in the comments: http://www.dr-qubit.org/undo-tree/undo-tree.el
Re: Vim 7.3 released
#39Vimtutor is great, but for a general outlook for someone learning vim this post is spot on: http://yehudakatz.com/2010/07/29/everyone-who-tried-to-convi...
Re: Vim 7.3 released
#40To turn on persistent undo, I created a new directory called ~/.undo to store all of the undo history so that my working directories wouldn't get cluttered. Then in .vimrc, I add:
set undofile
set undodir=~/.undo