55 points · by dave1010uk · 13y ago · 141 comments
Yes to the first five words, no to the rest. How many Vim users realize that some of its more infuriating behaviors can be traced back to its predecessor vi, which had to be able operate with a "paper terminal", essentially a roll of paper as a display, without wasting too much paper during editing?
And how do I know this? During my time at NASA designing part of the Space Shuttle, I was obliged to use vi and its immediate predecessor, with a roll of paper as a display. It was bad then, and it's worse now. The difference is there's no longer an excuse.
http://en.wikipedia.org/wiki/Vi#History
Quote: "vi was derived from a sequence of UNIX command line editors, starting with ed, which was a line editor designed to work well on teletypes ... "
[1]: Was really pleased to bump into your article on Examples in Math the other day.
That's easy to answer -- as astonishing as it may sound, people are still using vim. Some of them might even think it's natural to have to use twice as many keystrokes as are required on a modern editor, even another command-line editor, to switch from editing to navigating (as just one example).
> I'm not sure who you're trying to save here, the bunch of us seem to be mostly happy with what is really the worst editor we can get except all the others.
Yes, except that that is false. Any meaningful comparison is so obviously against vim that I feel like I'm trying to dissuade True Believers from an irrational belief.
Or tell me about any editor where the same amount of keystrokes get the same job done.
In today's terms, the above "without wasting too much paper during editing" argument translates into "with as few keystrokes as possible". In some situations, I definitely find my ability to type (or in general, to edit text) to be the bottleneck in getting things out of my brain and into a file. In these cases, Vim allows me to trade a bit of brainpower for efficiency in editing, which is great.
Other times, I'm being held up because I'm not sure what to type, but I prefer to do creative thinking away from the keyboard, so Vim is neither here nor there in those cases. So basically, the historical argument doesn't make sense for me; do you have any specific issues with Vim?
Sure, no problem:
* It's still a command-line editor. Just like vi.
* To perform multiple operations, like moving the cursor around, entering text, deleting text, searching the document, saving and loading files, requires you to switch modes. Just like vi.
* It cannot take advantage of the modern computing environment -- mouse navigation, different fonts, text styling, page layout, or anything else. Just like vi.
* No clipboard support -- all copying and pasting operations, apart from being another example of bizarre vi incantations requiring the recall of a raft of magic characters, is within vi/vim and disregards the system clipboard.
I can say this in vi/vim's favor: it's a step up from ed, its predecessor.
> In today's terms, the above "without wasting too much paper during editing" argument translates into "with as few keystrokes as possible".
No, actually, in the vi days, to save paper one had to enter more keystrokes, not fewer. When I wrote Apple Writer, former users of vi were astonished by how few keystrokes were required to accomplish things.
> do you have any specific issues with Vim?
Just one. It doesn't belong in modern times, it belongs in a museum.
All these operations, except entering text, are available from "normal" mode which is the default mode. This is factually incorrect that you need to switch mode to delete something, or save a file.
It's still a command-line editor. Just like vi.
Not sure what the issue is there?
It cannot take advantage of the modern computing environment
gvim/macvim exists. They also give you regular clipboard support. Though I honestly don't get much out of all that, and am happy enough with vim in a terminal, but I understand the motivation.
To perform multiple operations ... requires you to switch modes
Vim is modal, yes, but what is the specific disadvantage of that? That it has a learning curve? Mode switches are generally single key presses, so it's not exactly onerous once you know what keys to press. Equivalents in "modern" text editors require use of the mouse, which while being much easier to figure out, is also much less efficient. Using the mouse, though just taking a bit longer each time, is enough for my brain do a switch and focus on that action instead of the code - unlike the vim mode switches I do all the time without thinking.
No, actually, in the vi days, to save paper one had to enter more keystrokes, not fewer
That sounds plausible, but not all that relevant to how one uses vim now.
former users of vi were astonished by how few keystrokes were required to accomplish things
Also irrelevant. Vim's text objects, which basically offers you a vocabulary for text manipulation, has no match and will generally allow vim to win in practically any keystroke comparison. It's not clear how well you know how to use vim, if it all, though you've clearly used and hated vi in a past life :).
I find it a plus that I'm not having to move my mouse hand off the base row all the time, and find that vi offers elegant solutions to many oft-recurring tasks people normally accomplish with a mouse (copying a row or two, highlighting text inside brackets / inverted commas, editing a variable name up to a specific point, etc). While I agree that the incantations required are relatively complex, they do become second nature (e.g. I'm an on-and-off user of perhaps 2 years, and I'm comfortable with the basics). This of course comes at the cost of having to switch modes often (and specifically, exit current mode using ESC, which is irritating), but this normally only involves 1 key. I guess a complete cost-benefit analysis would be highly subjective, in my personal experience the trade-off is worthwhile. In short, I'm not aware of anything that comes close to the terseness of vi(m) for basic editing.
> * To perform multiple operations, like moving the cursor around, entering text, deleting text, searching the document, saving and loading files, requires you to switch modes. Just like vi.
Open a file. Insert some text. Use arrow keys to scroll. Hit Alt-/ to search forward. Hit Alt-Shift-/ to search backwards. Sure, some commands need you to switch modes, but not all.
> * It cannot take advantage of the modern computing environment -- mouse navigation, different fonts, text styling, page layout, or anything else. Just like vi.
One can do text styling (but only with colours, I think) with vim. With gvim, one can use a mouse, and change fonts.
I was under the impression, vim does have clipboard support. Putting "set clipboard=unnamed" in ~/.vimrc integrates it with system clipboard (at least on OSX).
vim defaults to allowing the cursor keys and delete/backspace.
I mouse around my gvim with my custom font all day long middle click pasting snippets in from the browser.
In other words, it's vi with a few changes. I still can't navigate while typing, or delete while navigating, or search while deleting. As I tried to remember all those weird incantations that I last used in the mid 1970s, I felt as though I was in a time warp.
Guess why Apple Writer was so popular in 1979 (http://en.wikipedia.org/wiki/Apple_Writer), in spite of its many limitations? I wrote Apple Writer specifically to avoid the handicaps built into vi, which was the default editor in those times. After Apple Writer came out, people would write articles saying things like, "My God! With Apple Writer, you can read files, write files, type, navigate and search without having to change modes! How did Lutus do it?"
The answer is simple. Apple Writer wasn't so extraordinary, but I wasn't mentally crippled by the vi code base or method of operation, and I wasn't averse to exposing people to new ideas. But you know what? If I was told that people would still be using vi thirty-four years later, and boasting about its wonderfulness, I would have fallen down laughing.
Even pico and nano are easier to use, and they're desperately weak.
I shouldn't complain. Apple Writer made me a multimillionaire through the simple virtue of not being vi, and little else. I should thank you people.
Guess why so many people still use Vi(m) and not Apple Writer.
I think most of us who learned vi back when it was simple have the keystrokes burned into our brains, and we know that vi is quite efficient once learned. I still use vim but not any plugins or extensions and I don't write scripts for it, because I just forget about them anyway and they aren't going to be installed on the GUI-less servers I ssh into. I use a more modern editor (TextMate) most of the time.
I don't think vi or vim are terrible, but they can feel clunky on modern GUI-based operating systems. A serious driver should know how to shift a manual transmission. A serious programmer or sys admin should know how to manipulate files and text with standard UNIX tools and editors. vi may not be the best text editor depending on how you measure "best," but it is ubiquitous and does the job it was intended for.
My advice for vim users is to start with the vanilla install, no plugins. Learn to configure things you really need in the .vimrc file. If you find yourself creating a complex and over-personalized editing environment to save the occasional keystroke or make vim work like an IDE, you are shooting yourself in the foot in the long run. You may as well just use Eclipse.
It's been 5 months since I switched to Emacs. My .emacs.d is actually bigger than .vim_runtime was, but it's because of more configurable features found in Emacs plugins, so it's natural. My init.el is also longer than my .vimrc, but this is because of much friendlier Emacs API and my love for Lisps (and dislike for vimscript). On the whole I'm quite pleased with the switch, although making Emacs into my editor took a comparable amount of time and code to Vim. I don't use Evil or anything like it, of course.
Emacs is better in many respects. CEDET is nice, SpeedBar and imenu with it's syntactic extensions work wonders - TagBar in Vim comes close to SpeedBar, but there's no imenu. auto-complete is better than omni-complete and easier to extend. Eshell works better than conque. Icicles, ido and smex make working with minibuffer a pleasure to the extent that Vim could never match - although it has basic completion of commands. Of course there is more, but the important thing to note here is that, while Emacs implements many things a bit better, Vim has them too. And it's perfectly reasonable to prefer Vim versions. So what I'm saying is that I found Emacs better but Vim is still really great.
Ok, so now to the modality. Emacs lacks modes, Vim has them. Last time we talked you were saying that modes are inefficient and hard to use. I could argue for modality then, but not against it, because I lacked experience with non-modal editor. Now I can compare the two.
The truth is that I was suspicious of non-modal editing in Emacs. I heard and read many rants about long sequences of modifier keys you need to press in order to do something. Turns out these rants where right for the most part. Some examples: C-- C-4 C-x <tab> performs hard dedent by four spaces. C-s C-w C-s ... performs incremental search (forward) for current word (Esc # in Vim). C-4 M-f goes four words forward (4w in Vim). There are also tricky ones, like C-x d opening dired and much easier to type C-x C-d displaying a list of files in current directory in a buffer.
In practice, however, with some amount of remapping, this is not an issue. But wait, isn't pressing escape instead of some universal prefix (C-c for user commands in emacs) not a problem in practice, too? After using Emacs and Vim I can say that the complexity of commands in both is almost the same. In Vim I remapped Esc to CapsLock - in Emacs I have Ctrl in place of CapsLock (although I'm contemplating placing Alt there and Ctrl in place of Alt). The only real difference I feel is that in Vim I could just hit the first modifier key (esc) while in Emacs I need to keep it pressed. Emacs uses Alt (Meta), while Vim does not, but that's a little difference, because Alt is usually in a place that's easy to reach.
In conclusion, while I like Emacs very much, I still find your claim that "modal editors" are for sad, handicapped individuals who just don't know any better full of bullshit. Modality is not any worse than modeless model in itself and Vim implements modality in a way which makes using it as convenient as Emacs chords. While there are other things I like in Emacs better, bashing Vim because of modes alone is pure stupidity; bashing it because of it's ancestry is an equivalent of saying that "your mama is fat" and saying it has no X feature is most likely false anyway.
PS. Elsewhere in this thread you're saying that Vim can't use mouse and clipboard. Of course it can - <esc>"=y copies to system clipboard instead of local one. I admit that Emacs support for mouse events is by far superior, and of course typesetting - colors, sizes and styles of fonts - are well supported in Emacs and not in Vim. But reaching for the mouse is bad anyway and if you have to, Vim supports all three mouse keys, which only makes the latter a valid claim. It's up to everyone to decide whether they truly need different fonts in their editor.
1. Thanks for correcting me.
2. Four characters. Very efficient.
3. All to avoid using any control keys. The reason? vi must be able to work with a keyboard that doesn't have any control keys, and vim must work exactly like vi.
Not only do modern keyboards have control keys, but modern computers have mice and other pointing schemes. But vi/vim lives in a permanent time warp, a warp so profound that an old, justly retired editor I wrote in 1977 was far better at exploiting technological advances.
Why was Apple Writer retired? Its limitations quickly became obvious, especially once early Apple computers supported mice (which happened before the Macintosh). No one wanted to keep using such a dinosaur in modern times, including me.
About keyboard, mouse and clipboard support:
> Not only do modern keyboards have control keys, but modern computers have mice and other pointing schemes.
> All to avoid using any control keys. The reason? vi must be able to work with a keyboard that doesn't have any control keys, and vim must work exactly like vi.
> * It cannot take advantage of the modern computing environment -- mouse navigation, different fonts, text styling, page layout, or anything else. Just like vi.
> Keyboards have changed, but vi hasn't. Computers have mice and touch-sensitive displays, but vi can't exploit them. Operating systems have clipboards, but vi can't take advantage of that convention. You know -- don't get me started.
> * No clipboard support -- all copying and pasting operations, apart from being another example of bizarre vi incantations requiring the recall of a raft of magic characters, is within vi/vim and disregards the system clipboard.
> What you see as vim appearing to exploit a mouse and system clipboard is actually Bash and (sometimes) a command-line app (example Konsole) doing so, or equivalent utilities outside vim in a non-GUI level. Those features work with any editor in exactly the same way.
> As to using the system clipboard just fine, you can copy text from vim or any other displayed source of text, but you cannot paste it, because it's not vim that's acting, or is in any way aware that text has been copied.
That's what you wrote. It's all false. First, let's level the playing ground - we're now talking about GVIM, which comes with every Vim installation (unless NO_X11 or something is defined at compile time). Whenever you see the word "Vim" below it means GVIM. To make sure we're really talking about the same thing, here are some screenshots of GVIM in action:
http://screenshots.en.sftcdn.net/en/scrn/92000/92299/gvim-7.... http://www.kianryan.co.uk/wp-content/uploads/2012/09/Screens... http://labnotesh.files.wordpress.com/2008/12/gvim-windows.pn...
This way we can avoid going into terminal emulator and consoles details, and focus on Vim itself rather than on things it can be accessed through.
Ok, so first the keyboard and modifiers keys. It has been told you many times already that Vim supports those. It should be evident from the fact that Vim manual describes default keybindings with modifiers in them. For the example look here: http://vimdoc.sourceforge.net/htmldoc/windows.html#window-mo...
This makes your claim false - apparently Vim doesn't have to "avoid all control keys" (or "work exactly like Vi", but that's another matter).
Second, mouse. Of course it is supported, as explained here: http://vimdoc.sourceforge.net/htmldoc/usr_09.html#09.2 and here: http://vimdoc.sourceforge.net/htmldoc/gui.html#gui-mouse
It is even mentioned that the mouse works in console version, but let's leave it for other time and keep the argument simple. The point is that you can use the mouse for everything you would use it in other editors out of the box, and if not, then you can easily remap it to do something else.
Which makes you claim about Vim not supporting mouse obviously false.
The systems' clipboard support is of course available too. Actually, it is exposed by default via two special purpose registers, named 'star sign' (the thing that makes text italic here...) and '+', which is documented in http://vimdoc.sourceforge.net/htmldoc/gui_x11.html#x11-selec... Note that on Windows the latter is an alias for the former, because the system has only one clipboard. There are commands for placing text in registers, appending to registers and pasting from registers and they work in exactly the same way with 'native' registers and with the ones representing OS clipboard. So it's, of course, completely false that Vim doesn't support clipboard.
One thing of note, you wrote:
> Four characters. Very efficient.
in response to me pointing out how to get the text into clipboard. Well, it's because by default Vim doesn't use OS clipboard as a default register, but you can of course make it do so. If you really want.
On efficiency and modes:
> Some of them might even think it's natural to have to use twice as many keystrokes as are required on a modern editor, even another command-line editor, to switch from editing to navigating (as just one example)
> No, to switch from entering text, to deleting text, to searching for text, to copying and pasting text, to saving a file, to loading a file, all require switching modes. Let's be honest.
> Having to enter additional keystrokes, a throwback to a computer keyboard that either didn't have control keys or couldn't exploit them, makes editing "faster and more powerful"? Nice reasoning.
> * To perform multiple operations, like moving the cursor around, entering text, deleting text, searching the document, saving and loading files, requires you to switch modes. Just like vi.
> It is less efficient. But you are now obviously trolling, posing arguments that no rational person could possibly accept. "So, a few more keystrokes for each command, repeated for each such command. So what? Are you in a hurry to get somewhere? Do you want to live forever?"
Well, you basically say that having modes is less efficient than not having them. The problem here is that you don't present any evidence to back this claim. You say that you need to press more keys when working with Vim, but despite multiple people asking you to, you don't give even one realistic scenario where it would be less keystroke to perform an action in other editor. The few examples you provided were unnecessarily verbose and you were given shorter versions, which require at most the same number of keystrokes as other editors. And it's without custom mappings.
Despite this - and despite the fact that I even included <esc> for changing the mode and still got shorter commands - you're convinced that having modes necessitates more keystrokes to perform an action. I'm at a loss here, how could I ever convince you otherwise? You didn't even post any more examples of what you think takes more time in Vim as if you thought that the previous ones are enough to prove your claim. It's silly - and false. Of course.
The truth is that having modes allows for not using modifier keys, except for one. Without modes you need to use them, because you have no other way of differentiating text input and commands. And that's all modality does, by itself - replaces a few modifier keys with a single one. It has no impact on average count of keystrokes.
For example, copying a full line of text in other editors goes like this (well, using a mouse is an option, but until it's proved or disproved to be fatser than keyboard for text editing I'm not going to include it):
Home, Shift+End, Ctrl+C
In Vim, thanks to modality, the command doesn't involve modifier keys and is equally long (or if you count pressing modifiers as keystrokes - shorter):
<esc>yy
For replacing text inside parens, starting from inside:
go to one of the parens, Shift+Alt+arrow, arrow in opposite direction (to deselect matching paren), and start writing (inserting deleted paren)
In Vim:
<esc>ci(
Moving a paragraph below another one:
go to the beginning of the paragraph, press shift+arrow down enough times, ctrl+x, move to the end of next paragraph, ctrl+v
(No wonder using mouse is more efficient than this!)
In Vim:
<esc>dip}p
And so on. Of course, you can shorten the modeless commands by introducing additional, special purpose commands, so don't take them seriously, but that's not the point - do you really think you can shorten them any more than what Vim does? If so, please show us. No mouse please.
Anyway, if keystrokes count remains the same, why bother with modality? I don't know, to be honest. Vim proponents claim that (with <esc> mapped to CapsLock key) they never leave home row. I'm not a touch-typist and so I don't feel it's a great difference. But at the same time I can't see why is it a bad thing. The keystrokes count stays the same. Chaining is easier, especially when using numerical prefixes. There is a bit of an overhead in that you need to learn of various commands for changing modes - and everyone using Vim admits this - but that does not hamper efficiency in any way once learned.
I wanted to, but I think I won't comment on the rest of what you wrote, because it carries no substance whatsoever. We're really not interested in ed, ex and vi early history, we're talking about current versions of Vim, which is, contrary to what you say, != vi. So here you go, your claims at least commented at length. I hope it's enough and that I will be able to just paste the link to this post under your Vim related comments in the future.
The original docs for vi, written by Bill Joy and Mark Horton, are online. You can see quite a few places where the docs explicitly refer to control key combinations. For example:
http://docs.freebsd.org/44doc/usd/12.vi/paper-8.html#section...
vi was developed in 1976 on the ADM-3A dumb video terminal, and that terminal had a ctrl key. I remember because I had one. You can see the ADM-3A keyboard here:
http://www.catonmat.net/blog/why-vim-uses-hjkl-as-arrow-keys...
The author of that page also explains why Bill Joy chose hjkl as movement keys. Note that those keys have arrows printed on them to indicate that they move the cursor when used with the ctrl key.
Although vi was never intended to work on paper terminals as you claim (having the line-oriented ed embedded as a mode does not make vi equivalent to or derived from ed), the most common paper-oriented terminal in use back then was the Teletype Model 33, and it had a control key. You can clearly see it here:
http://www.baudot.net/gil/tty-machines/pics/M33-ASR-Gil-Keyb...
The ADM-3A gave way to video terminals from DEC, HP, Wyse, Hazeltine, etc., and they all had control keys. I've worked on a lot of terminals in my time, and I have to go back to keypunch machines to find something that didn't have (or need) a control key.
So what machine did you use vi on that didn't have any control keys?
If such a terminal indeed existed and you were forced to use it at NASA, I'm sorry. The experience obviously left you bitter and scarred. But please stop making claims about vi and early terminals that are simply and obviously false.
While I respect the research done concerning modal UI and the associated consequences of that in the context of HCI, in practice I do not find that there is ever any confusion about what mode I am in when using Vim after using the editor for many hours, and if one was supremely concerned with avoiding such confusion UI changes per state could be implemented so that the changes were unavoidably obvious (such as by changing the entire background to a different color on a context switch).
The design has some nice benefits elsewhere too with how Vim uses it.
However, I do not find Emacs chording emphasis particularly demented either though, especially once the full array of modifiers are used.
The amount of chords is only really burdensome due to how many domains Emacs covers though IMO, as it makes collisions with short chords much more frequent as the amount of keybinds necessarily expands.
I find the criticisms of Vim usually extremely exaggerated and generally indicative of ignorance concerning its design, some of which you have correctly noted and addressed in your response.
That is not to say that Vim is without its imperfections, but the design is well thought out, coherent, and well documented which makes the learning curve bearable.
I find a mixture of chords and modes in Emacs quite nice using Evil-mode as I can choose to either avoid changing states or not, unlike in Vim.
As I have noted elsewhere though, there is no intrinsic reason why Emacs must use chording over a modal design or some other means of using individual key sequences to invoke commands.
It is merely a matter of redesigning how commands are invoked across Emacs, something which some people are working on and may be interesting in the future.
I do wish there was something up to date that was similar to Practical Vim but for Emacs though as that was a very illuminating and fun text.
Do you know of some documentation that elucidates CEDET more than the documentation on the site does? I have read that documentation a few times and have yet to grok what it really does and how one would use it in practice. It seems extremely powerful but I do not see how an end user takes advantage of it or how an extension writer would use it to compose an IDE for a new language.
> The bitterness seething out of your every pore that your software has been consigned to the graveyard ...
Dream on, moron. Apple Writer belongs in a museum along with vi. What's astonishing is that people are still using vi when there are any number of much better choices.
> ... whilst Vim is growing in popularity is so tangible!
Based on that fantasy, you may want to resume your medication.
2) True
3) :set paste
4) Then wrap it in a function
5) I've always found ctrl-p to be snappy actually. You can replace the matcher with ag or similar
> write the Vim configuration lines required to cause those files to be ignored. You have got to be kidding me.
Write a small amount of config once per project? It's no more complex than adding things to a UI
set wildignore+=*/tmp/*,*.so,*.swp,*.zip
6) No, vim can't, but plugins can. Ctrl-p has this feature (http://superuser.com/questions/390011/fuzzy-find-within-file...)7) Stop just navigating with j and k.
> After reading this list, feel free to tell me how I'm doing it wrong on twitter.
You're not googling anything to find out the answer?
Also, because occasionally people haven't heard of it, get Gundo. http://sjl.bitbucket.org/gundo.vim/
Vim has a full tree undo, gundo makes it easy to navigate and see diffs between changes in code.
[1] cat .emacs.d/config/*.el | egrep -v '^$' | egrep -v '^;;' | wc -l
It takes time to be productive with Vim. There's no way to get around that.
That pastes with adjust indentation.
It should be reasonably easy to create a function for this though, prefix each line in the buffer with 'indent(".")' spaces, or copy the whitespace at the beginning of the current line.
I've been using vim for years and the only plugins I use are vim-airline[1] and vim-bufferline[2]. Of course, my editing needs may not be as complex as yours, but in reality most things you think you need a plugin for can be done with plain Vim. Feel free to check out my humble .vimrc[3] for some inspiration.
1: https://github.com/bling/vim-airline 2: https://github.com/bling/vim-bufferline 3: https://github.com/wolfcore/air-dotfiles/blob/master/.vimrc
That's it: you just need to give it more time. One simply can't expect to fully climb vim's learning curve in just a quarter of a year. Your brain can't adapt so rapidly to so much new shortcuts.
> Jump to CSS selector. Jump to class. Fuzzy string matching. All these things and more are what I am used to. Vim just can't do them.
That's one example among others: there's vim's marking system for that, and your brain isn't just used to it now. You find it slow, broken and not user-friendly, but it's not really, it's just that you need to give it time to master it.
My 2c advice: it you really want to like it, keep going and give it a full year. If you think you can't give it more time, then Vim isn't for you and some commercial editors might do it.
I've been there, I know your current feeling. I'm a happy vimmer now but it hasn't been the case for something like a year. There's a reward for real vimmers: you'll never need to switch anymore to another editor, because Vim is there, powerfull, opensource, free, multi-plateform, and you know how to use it smoothly.
I'm really curious; missing this feature from heavyweight IDEs.
"Jumping to somewhere in an unbuffered file according to where I am in the current buffer", that is actually depending on a background worker that knows a very specific set of rules and use it to constantly cycle threw the filesystem. Which bg process is usually provided by tanks like Eclipse.
With the time I've found something that matches that behavior without the payload on the computer, and guess what, it's my brain.
I'm no more in pain of jumping to the definition of a css rule, because I know which css file I have to invoke and I can do it _very_ quickly thanks to Control+P, and jumping to the definition is a matter of one or two "/".
Of course you need to organize things smartly in your project if you ever want to do that without too much thinking time, but hell, I count that on the bright side of this solution.
It would drive me _crazy_ if vim saved without me telling it to.
I think a lot of people suffer needlessly trying to make vim be what they want it to be, when it never is going to meet their expectations. You'd be better off trying to get those things you find useful about vim implemented in TextMate or Sublime than the reverse.
It's horrible because you're not quite sure sometimes if there was a legitimate change made in another process that you're now about to undo. Half the time I end up copying the lines I know I added, allowing a reload, and then pasting them back in, just to be safe.
Personally (regarding the original gripe in the post) I'd be horrified if my text editor was silently ignoring edits or just updating the code under me. If that was really a concern while I was working on my software I'd take a look at the workflow to see what could be done about it.
Your configuration is always evolving - so don't fret if a plugin or a setting is not working for you, it just means its gotto go..
That said focus on `your productivity` over a religious choice of an editor. You actually got to live with it for decades to come. choose the right one which fits your use case.
On 5, ctl-p works great for me. I have it set up to use git in choosing what to ignore and it's plenty fast. On 6, I probably just don't know any better.
Answer to some of the points,
Janus: There are divided opinions in vim community about whether distributions should be used or not. I am on the latter side. But still for just checking out I installed Janus a while ago. Yes it is slow, but it turns out that it is as slow as my then `.vimrc` configuration. I tried to track down the problem. It is because of vim's blocking behaviour during executing external commands. When you write a buffer or switch to a buffer, syntastic, tagbar, powerline statusline, gitgutter, bufexplorer all execute external command. Vim becomes more slow when `.git` repository grow larger or when saving a large file. So how do you solve the problem? Remove those plugins and install Unite.vim[1] with vimproc[2] asynchronous library.
Files that change: If you do external edits more frequently then I think it is time to rethink your work-flow. I think there is a common consensus that you should not run live edit in server.
* Indenting pastes* : There is a plugin for that [3] ?
* Opening files inside my project : Last I checked command-t was damn fast, don't know where slowness comes form. Another alternative is `Unite.vim` `file/async` source. It is fast at finding files but goes slow while doing ignore-pattern checking. Without the checking it is DAMN FAST. The `phpcomplete/files` source I created for my php autocomplete plugin[4] easily list 4000+ files in seconds. If you want to list files obeying the patterns in the '.gitignore' or '.hgignore' files. Checkout my unite-file-vcs[4] plugin. It adds a `file/vcs` source that lists files by issuing `git ls-files` or `hg status -c -m -u` command for `git` or `mercurial` projects respectively.
Navigating inside files*: Checkout unite-outline[6]. It shows live output by parsing the current buffer. Unite.vim required. But it does not support css files right now. Adding support should be easy.So the summary of the story. Move to `unite.vim` and friends ;)
[1] https://github.com/Shougo/unite.vim/
[2] https://github.com/Shougo/vimproc.vim
[3] https://github.com/sickill/vim-pasta
[4] https://github.com/m2mdas/phpcomplete-extended
It's possible this isn't what you meant, but external edits do not imply editing code live on a server.