Vim 6.4 Released
file cabinet writes to tell us that for the first time in more than a year Vim has released a new version. Version 6.4 stable was released yesterday and while there are no new features added they are touting dozens of bug fixes.
In good sadness, though, I'm looking forward to the spell-checking in Vim 7.
I want to say thanks to all of the VIM developers who have helped create such an amazing piece of software. Indeed, I don't think we can even begin to consider how much other software has been written by developers using VIM.
Cyric Zndovzny at your service.
Dozens of bugs have been fixed, runtime files were added and updated. There are no new features They are focusing more on fixing problems rather than add new features and in essence adding new bugs. Its rare to see updates which are meant for donzens of fixes. A smart approach.
More than a year? At least that's quicker than Microsoft....
-ELiTe185
How many new features can you add to VI? VIM is near perfect software and has been for years. Free licence has done its work already with this software, troll.
POKE 36879,8
I mean, it is the 6.4 release. Many projects typically do not add features after a major release. It's the minor point releases that focus on fixing bugs. So in this case it's the fourth round of bugfixes.
Cyric Zndovzny at your service.
I just wanted to point out that Intellisense (context-sensitive completion based on parsing or "understanding" code) is the #1 most voted VIM feature. You should add your own votes (with your hard-earned cash, if you will) if you want to see this feature come to VIM.
I personally do want this feature. It would make VIM the perfect text editor, IMO. Right now, VIM's completion is already pretty good, and a couple people have implemented completion as a plugin, but it usually ends up being a hack. I think Bram can figure out a nice way to do it for Vim 7.
People who know how to use VIM well find themselves really productive in it. But, that said, I end up being slightly more productive writing Java code in Eclipse, ONLY because of completion, even though all my other editing features from VIM aren't there (or are buried).
What I usually end up doing is keeping a console handy and switching between Eclipse and VIM when I have to do Java, but that's not that nice. I think Vim can pull this off.
http://www.vim.org/sponsor/vote_results.php
Sometimes I think Bram Moolenaar doesn't get enough credit for what he's done almost single-handedly. vim is an amazing piece of software. I've been using it almost since the day it arrived, and I was a vi user who thought vi was everything. But Bram brought vim and immediately began carefully, but boldly, extending vi, without the constraints of waiting for POSIX standards anointing any changes to vi.
Credit to Bill Joy also (and to AT&T, for "sc") for the pre-cursors and inspirations for vim.
vi in and of itself is a workhorse with its philosophy of "no gui or mouse necessary", and while vim now has its gui rendition (I never use it), the underlying philosophy and principles remain intact. Color syntax alone is worth it. If you haven't tried vim, you should. For raw and pure editing, there's nothing better (don't flame me, emacs people... please). I've often challenged people to editing faceoffs... where I'd dialup at 1200 baud (yes, I've been around for a while), and they could use ANY editor, at any connection speed, and I'd beat them at making a set of edits against a file.)
(Aside: how many vi users out there have spuriously put "www, jjj, bbb, G " in their comments when they used the browser text widgets.)
Hehe. Obligatory emacs comment here. Anyway I've never understood why people feel this compulsion to use a mode-based editor when there are so many wonderful editors out there today. I wonder if any of the VIM developers use emacs to develop VIM. :)
GJC
Gregory Casamento
## Chief Maintainer for GNUstep
Indeed, finding out a "nice" way of doing it is essential. Nothing is more of a hassle than having Eclipse or the Visual Studio IDE autocomplete a keyword, identifier, and so on, incorrectly. Going back and correcting its error can take three or four times the amount of time it would've taken to type in the text manually.
At least it's possible that it would not be enabled by default.
Cyric Zndovzny at your service.
I hope they fixed the bug that made you type all those weird key combinations to write to a file and save.
Try viper-mode. Love viper-mode. Then try Vim. It's viper-mode without the bloat.
...welcome our new 18 fingered overlords!
(yes I'm a daily vim user)
Keep up the fantastic work guys - vim is one of those apps which is actually a pleasure to use.
"And then I visited Wikipedia
The last version of Emacs came complete with Vim v. 10.03c! ;)
Then you might want to look at vim 7, which is where all the features are going. Spell checking, intelligent autocompletion, a hell of a lot of new tweaks that make vim even nicer to work with.
The 6.x branch is in 'maintenance mode', meaning it's bugfixes only. The 7.x branch is where all the work's going on, and vim 6 to vim 7 is already like going from vi to vim.
because I use vi.
... but it is also a fantastic pager. Using it instead of less or more to quickly scan over source code is a blessing! Indeed, you get the syntax highlighting of a GUI editor, but without the overhead. You can view files instantly from the command line, and they're very nicely formatted.
Cyric Zndovzny at your service.
No no no. The features are being added in the 7.x branch, which you can get from CVS. 6.x is purely for maintenance (ie bugfixes). This is a mixed blessing... It means 6.x is extremely stable, but if you want new goodies like spellchecking and intelligent autocompletion, you have to switch to the CVS only branch.
It's a tricky decision. Some projects are way over on the side of "keep throwing out new versions with new features and new bugs". Vim is way over on the other extreme: "release 'new feature' releases every few years and keep the stable branch working". For end users it's a mixed blessing.
Fortunately, the 7.x branch is pretty much stable (as in every day usable) at the moment. I've been using the Gentoo ebuilds (package.masked), which means I get a CVS snapshot which has been at least reasonably well checked and had any icky bugs fixed. I'd hate to miss out on the new toys. The 'numberwidth feature alone makes it worth the upgrade, even if 'spell didn't exist.
There have been a lot of great features added in the past few years. Here's a few of the major ones: folding, improved syntax highlighting, quickfix.
----
All of whose base are belong to the what-now?
Because, I thought that I distinctly heard the words "Flame On".
Like priming an enclosed area with flammable fumes. Someone is going to mention Emacs and this place is going to explode.
If Mr. Edison had thought smarter he wouldn't sweat as much. --Nikola Tesla
pseudo-mod: "+1 Interesting" -- good point
As for wishes:
1. Better language completion, if any, language completion.
2. Better editing of binary files.
3. Support for multiple code pages. This may be possible already, but I haven't deciphered the manual enough to figure out how.
4. Support for working with change control systems. I'd like to be able to edit a file in a CCS and have the title bar reflect the release, level, etc that I'm editing, rather than a cryptic temporary file.
5. A better head on my own shoulders to remember all the set commands needed to operate it.
I really can't complain though, because if the above never got implemented, I'd still use it. I've used the editor for years, and still keep learning it.
Ok, some vim guru on here must know, what's the windows vim equivelent of vi's ^V? In vim, it does a frickin' paste! So how do I search for, say ^M? Or enter a macro which includes inserts I need to esc from? Not being able to find that anywhere in the help is the one thing I hate about vim.
I have been a ardent fan of this editor and have been using it consistently for over 3 years now. And I really feel that vim has reached a maturity level where no more development is necessary.
:)
And if it lacks a feature, just write a plugin for the same. If you ask me this is how softwares must be developed - in a fully modular manner.
Kudos to vim developers
Linux Help
for all things on Linux
a new version of emacs will never be released
...puh-lease. I write everything in machine code.
Does there exist a formal list of bugs that were actually fixed for vim? I've never been able to find one :S
The problem is I learned vi so long ago (back in the late 70s when Bill Joy released it), that I simply can't learn anything else. Of course, growing up on TICO and other editors before vi made moving to vi natural.
I have tried many, many times to switch to emacs and always fail. I'm just too old and too stuck in my ways to switch.
Best Buy can have you arrested
Look, as good as vim could be, at this rate, you are not going to catch up with emacs, which is already at version 21.x or something. Which just proved that emacs is much better. If you don't believe, here is some proofs:
1- Emacs has a much higher version number, which proves to be a more mature software, which proves to be better (more mature is better)
2- Even an icon such as RMS whom has been proved to be more intelligent than the average USians, uses Emacs. This shows that smart people always make the right choice, and in reverse, proves that Emacs is better than Vim.
3- Everyone in Cryptonomicon, which is the bibile of all geeks, uses Emacs. We even have a module for encryption. It would take a long time for Vim to catch up to that kind of functionalities.
4- Only in Emacs can you do Ctrl-A to move the beginning of a line. In one shot. How could you do that in
Vim? You have to Esc, then press 0, which is lame. Which just shows how advanced Emacs is in terms of maturity and functionality.
5- As the theorem goes, computer science is a science for minimizing keystrokes. Emacs, in contrast to Vim, can prove this theorem right. Emacs users press less keys than Vim users.
6- Humans have 10 fingers (some may have more, but I don't know how to grow them), and Emacs allows you to use all your fingers at one. Which shows you that Emacs has a better human user interface. In contrast, Vim users can only type one key at a time, which has no concept of fingers. That is like an interface for dogs, which can only press one key at a time with their paws.
7- Emacs allows users to stretch their fingers more, and finger exercise has been proved, again and again, scientifically, to help increase human intelligence. The more you use Emacs, the more you become intelligent. Unlike Vim users, who become dumber and dumber, and end up with paws.
8- Everyone knows that geeks do no exercise. But we Emacs users have our daily dose of finger exercise. As a result, Emacs users have better shape. Take a look at the comparison: RMS (Emacs user) vs ESR (Vi user). RMS definitely looks better, with a nicer beard too. ESR can only have a lousy Asterix moustache. And look at what these two persons said in public, which just proved points 2, 6, and 7.
9- Look at this deductive proof I'm giving right now. Only an Emacs user can attain this level of intellect.
10- As a result of the last 9 points, this proves that Emacs is better. And from an evolutionary point of view, Emacs is like modern humans, and Vim like chimpanzee.
* putting on flame suite *
... don't forget that it's charityware.
When I first saw vi, I thought - WTF. It is suitable for text editing!? Vi, for my point of view, is one of underdogs of software world. And yes, it really truely shines when we talk about remotently editing 40K file over 2800 baud modem or even on system with space about...emm...four megabytes? :)
Yes, there are Word, OO.o Writer, Gedit, Kedit, Pico, Nano, whatever...and there is vi. Freedom of choice does strange things, doesn't it?
user@ubuntubox:~$ stfu This server is going down for shutdown NOW!
But only if you use Gentoo :)
What are the odds that some idiot will name his mutex ether-rot-mutex!
I can't help but wonder why this post got modded Off Topic...
Would you kindly mod me +1 insightful?
I just have to say that. For the enjoyment of other Vim fans, here are a few maps I created to ease writing and quitting:
:w<CR>
:q<CR>
# write the file with alt-w
map <silent> <M-w>
imap <silent> <M-w> <ESC><M-w>a
# quit the file with alt-q
map <silent> <M-q>
imap <silent> <M-q> <ESC><M-q>
The change log;
.gvimrc you may only get one line for the cmdline. (Christian Robinson) Invoke command_height() after the GUI has started up.
/path" to "-isystem /path" for "make depend".
----------------
This section is about improvements made between version 6.3 and 6.4.
This is a bug-fix release. There are also a few new features. The major number of new items is in the runtime files and translations.
The big MS-Windows version now uses:
Ruby version 1.8.3
Perl version 5.8.7
Python version 2.4.2
Changed *changed-6.4*
-------
Removed runtime/tools/tcltags, Exuberant ctags does it better.
Added *added-6.4*
-----
Alsaconf syntax file (Nikolai Weibull)
Eruby syntax, indent, compiler and ftplugin file (Doug Kearns)
Esterel syntax file (Maurizio Tranchero)
Mathematica indent file (Steve Layland)
Netrc syntax file (Nikolai Weibull)
PHP compiler file (Doug Kearns)
Pascal indent file (Neil Carter)
Prescribe syntax file (Klaus Muth)
Rubyunit conpiler file (Doug Kearns)
SMTPrc syntax file (Kornel Kielczewski)
Sudoers syntax file (Nikolai Weibull)
TPP syntax file (Gerfried Fuchs)
VHDL ftplugin file (R. Shankar)
Verilog-AMS syntax file (S. Myles Prather)
Bulgarian keymap (Alberto Mardegan)
Canadian keymap (Eric Joanis)
Hungarian menu translations in UTF-8 (Kantra Gergely)
Ukrainian menu translations (Bohdan Vlasyuk)
Irish message translations (Kevin Patrick Scannell)
Configure also checks for tclsh8.4.
Fixed *fixed-6.4*
-----
"dFxd;" deleted the character under the cursor, "d;" didn't remember the exclusiveness of the motion.
When using "set laststatus=2 cmdheight=2" in the
Gcc would warn "dereferencing type-punned pointer will break strict -aliasing rules". Avoid using typecasts for variable pointers.
Gcc 3.x interprets the -MM argument differently. Change "-I
Patch 6.3.001
Problem: ":browse split" gives the file selection dialog twice. (Gordon Bazeley) Same problem for ":browse diffpatch".
Solution: Reset cmdmod.browse before calling do_ecmd().
Files: src/diff.c, src/ex_docmd.c
Patch 6.3.002
Problem: When using translated help files with non-ASCII latin1 characters in the first line the utf-8 detection is wrong.
Solution: Properly detect utf-8 characters. When a mix of encodings is detected continue with the next language and avoid a "no matches" error because of "got_int" being set. Add the directory name to the error message for a duplicate tag. Files: src/ex_cmds.c
Patch 6.3.003
Problem: Crash when using a console dialog and the first choice does not have a default button. (Darin Ohashi)
Solution: Allocate two more characters for the [] around the character for the default choice.
Files: src/message.c
Patch 6.3.004
Problem: When searching for a long string (140 chars in a 80 column terminal) get three hit-enter prompts. (Robert Webb)
Solution: Avoid the hit-enter prompt when giving the message for wrapping around the end of the buffer. Don't give that message again when the string was not found.
Files: src/message.c, src/search.c
Patch 6.3.005
Problem: Crash when searching for a pattern with a character offset and starting in a closed fold. (Frank Butler)
Solution: Check for the column to be past the end of the line. Al
I've replaced my Windows gvim's _vimrc with my hand-written .vimrc that I use everywhere I have a shell account, and I haven't noticed the behaviour you described. I'm quite sure that the default _vimrc sets an option that does that.
listed in the CHANGELOG, the bug where children in Nairobi in starving has been fixed. So, there's no more hunger or starvation there. GO TEAM VIM!!
Have been using Vim for more than 10 years now. This whole '"open "source thing' as you call it seems to be working much better for than the closed source alternatives. I have used vim under Windows, Linux, Solaris, Amiga OS, and NetBSD. Yup its working.
If someone is passing you on the right, you are an asshole for driving in the wrong lane.
[betcha thought this was an anti-Emacs flame, didn't you? Ha ha!!]
"[Regarding the 'cloud,'] ownership was what made America different than Russia." -- Woz
So does this mean it's now worth changing over from notepad?
:P
Ignorance is bliss huh?
Neither of these two editors works like the sort of editor which people are exposed to these days. Why do you have to have an insert mode? This "feature" came from vi but for me it is exactly like bolting primitive editing behaviors on to more or less
In my day job as a senior programmer I introduce new staff to nedit. I also tell them to make their own choices about the tools they use. Most continue to use nedit because it has a few simple features which enhance usability. For example each function has a menu item, and each menu item tells you which key to use as an alternate way to reach the function. You don't have to worry about which mode it is in. Simple standard actions like opening and closing a file work in exactly the same way as other editors like gedit.
So for me people use vi(m) and emacs out of habit. Unless these tools improve they have no serious future in competition with eclipse, etc. Neither does nedit, for that matter but it will at least provide a better option for people new to *nix.
http://michaelsmith.id.au
Anyone try the numerous plugins touting integration with gdb? Which one is the best? I know the debugging support hooks are there, because it works really well with sun workshop and dbx.
This release is strictly to fix bugs because no doubt a lot of people think like you. Eventually the 20 extra plugins that you didn't think were necessary in the main build will all be a pain to install manually, so someone will package them into one "ultimate" release. Well maybe not considering we're talking about programming software and the honor of maintaining your own distribution is strong, but in general companies are usually better served to release new versions to introduce new features while maintaining the older versions.
:)
Have fun with your VIM, my professor is on the Emacs police squad so I'm happy to use that for now
"And we have seen and do testify that the Father sent the Son to be the Savior of the World"
1 John 4:14
~
:help the damned
~
E149: Sorry, no help for the damned 0,0-1 All
:-(
Has anyone ever attempted to make vim into a library? It seems that if that was done then it would be a lot easier to write various GUI front ends. It seems to me, that a vim library library would be the model of MVC, and other people could write the controller and View, sending commands to the library.
Why not try out something between Notepad and Vim, see http://freshmeat.net/projects/wyoeditor/. BTW wyoEditor is cross-platform and can be used on Windows, Linux and MacOSX.
For a piece of basic system software, it's more important that there's a stable branch that's actually stable. Now if only Linus would see things this way.
I am trolling
Just wanted to say thanks as the rest of the world !
Goddam there is no justice in this world since you don't get the Nobel price.
Even though Emacs is my chosen "home" editor (to the point that I know eLisp, even), when trying out a new distro (usually a live CD), I don't mind visiting vi. vi is impressive for the performance/size ratio, and has saved my butt for always being there to run from the command line when X won't start and I need to fix configuration files. It has also become my chosen "quickie" editor, just using the ed-type keys, for those two-liner shell scripts you dash off on the fly. So I find *both* editors have their seperate merits, with vi being slim and efficient, and emacs being padded and luxurious. And both have the most arcane keyboard syntax known to man, where every time you hit a wrong key, you cringe because you know it was *some* command to do *something*, and you're almost afraid to look at the screen and find out what it is...
how about a font and formatting mode for vim ... develop and write docs at the same time ... ?
maybe this is not the right forum to ask such questions,
but, anyway:
is there some option to make the 'u' visual command work
like in nvi ?
"u.." is inprint in my muscle memory, so I avoid using
vim as much as possible: unfortunately, nvi has no
support for UTF-8, which is quite important for me.
(I don't care about syntax highlighting, spell-checking, etc)
i use mcedit you insensitive clod!
Politics is Treachery, Religion is Brainwashing
Sure, any non-GUI editor will have an obscure key sequence to exit, but I think that C-x (as in nano, for example) is more intuitive than :wZZ or whatever. I'm also put off by how vim decides that if something is more than one and a half keys outside of home row, it's useless. I was raised on Windows, for better of for worse, but I did learn the useful windows editor shortcuts. Home, end, C-home/end, page up, page down, the arrow keys, C-left/right, C-shift-left/right, shift-up/down, C-x/c/v... Personally I find that typing is not the rate-limiting step in my coding, and I'd gladly give up a bit of efficiency for a sensible interface. I understand that others may feel differently, but I find it hard to be taken with an editor that seems to have setting editing speed records as a key goal... Even the menu bar thing--sure, the extra display real estate helped back in the twenties when you had monitors with maximum resolutions of 32x24 that could only display three lines at once or something, and sure, something like Eclipse goes overboard (although you can maximize views), but now (and I'm still on 1024x768)? I can see the usefulness in learning enough vim to get by because it's ubiquitous, but the uber-efficient approach (and especially having it set up that way by default)... Meh...
I'm sure people will tell me to go back to Notepad or whatever, but I'm just saying that there *are* ways to do an efficient, powerful editor that *doesn't* sacrifice an intuitive interface (and no, I don't think Notepad is it).
Telltale Games: Bone, Sam and Max
{{.sig}}
Nobel price NOW !!!
Agreed!
vi is in this respect _ALMOST_ as bad as emacs! I ask you, XS for save. What where they thinking?! Gee gads! That's almost as bad as Notepad's F S. Notepad's even worse because it has TWO key sequences for save... the F S which I've already mentioned, and S. Now, that's confusing!
Bring back edlin!! (I can't remember how you saved files in that.....)
return 0; }
for example:
Cheers,
Matt
News about the Kettle Open Source project: on my blog
I know the geek community generally swears by vim and emacs, but to newer users they're both a closed book. Any search for understanding and explanation is met by what appears to be insanely complex reasoning..
These are text editors, right? Or what? What is their purpose?
Why are they so complicated to use?
I mean, I would have thought the more advanced features would be complicated. But plain vanilla text-editing..? It seems you need to press obscure commands just to be able to scroll through a file, let alone edit it.
I think it's things like this that puts many newer Linux users off configuring things themselves, as having to deal with programs such as vim and emacs is more than a little daunting.
I find vim chokes on files with no line breaks (e.g. unformatted XML where all the tags are on one line for).
I use vim all the time. I used it for my masters (both the thesis (latex) and the code I wrote). some of my favourite commands/plugins:
Does anyone know if vim 7 will feature gdb integration? The only time I use emacs any more is for M-x gdb.
My boss removed my ability to execute VI on all of the company servers to force me to use emacs. No foolin. I swear, I have to type so much more for simple commands, I miss the simplicity and elegance of VI. *sigh*
Horns are really just a broken halo.
not ':wZZ', but ':wq' (write-quit) OR 'ZZ' (or ':x'). Three not-that-hard-to-learn commands.
...download a Cheat Sheet and print it.
While working on a project on someone else's computer
I found myself installing WinVI (which I believe
is based off VIM). It helped edit the code
in ways no other Windows editor I've seen
could. I'm a big fan of VIM, even if
it does have a steep learning curve, and
I'm happy to see new releases chugging out.
6.4 more reasons why.
Join the Slashcott! Feb 10 thru Feb 17!
Autocompletion is not meant (at least as I perceive it) to help you remember the names of functions (although it's a big help there). It's meant to make you type the names faster, which can be a GODSEND if you use names like "intDocumentClassFontState" (overkill, but you get the meaning, and I know using prefixes in dynamically typed languages is wrong, but I like it). I want to be able to read my code when I look at it after having forgotten what it's about. Comments help, but they can only get you so far if your variable names are x, y, z.
Send email from the afterlife! Write your e-will at Dead Man's Switch.
As far as I'm concerned, Nedit and Jedit have replaced Vi and Emacs as the top two rivaling editors. Both are among the best editors available today. Check them out : http://www.nedit.org/ http://www.jedit.org./
We suffer more in our imagination than in reality. - Seneca
There is a difference between User Friendly and Intuitive. VI is actually very user friendly because it is designed for maximum productivity in a text editor. Almost all the function keys are close by so you don't need to move you hand from home row position much. And there are a LOT of functions that other editors don't come close with, which are extremely useful, so once you learn how to use it is very user friendly. But for intuitive No it is not at all. I remember when I first tried VI I couldn't even type (I was in command mode by default) and I had to ctrl z and kill the processes to get out. VI is not Intuitive at all. There are other programs that are Intuitive and Not User friendly. While you instinctive know what to do in the app the the processes is just a big pain to follow, Like the old CD Burning software, before XP and OS X (Linux still sucks at it) where you had to run a separate program add your files and burn it. Vs. The newer way of just dropping the files like it was a normal drive then hit the burn button. Both processes are similar but the second method is more user friendly because you are not leaving the OS's Desktop document theme. A user friendly program is a program once you learn it you really like it, a Intuitive program is a program you know how to use without much of a learning curve.
If something is so important that you feel the need to post it on the internet... It probably isn't that important.
This thread looks like a proper place for this link:
r -perl-developers/
"Vim for Perl Developers"
http://mamchenkov.net/wordpress/2004/05/10/vim-fo
It might be of interest even if you use something other than Perl.
There seems to be a growing (or at least more and more visible) practise of editors (especially GUI editors) not including EOL at the end of every line. They treat it as a line separator, not a line terminator, resulting in no EOL at the end of the last line.
Because of this, they also display lines incorrectly. I have noticed it with the editors in ZDE, Eclipse, and Scite. It only serves to create confusion when they interpret an EOL as 'start a new line', and actually start to display another line as if it already existed. This is very visible if you create a 'proper' text file you'll have to use a well-behaved text editor like vim for this) and open it in one of the above editors. It will display an extra line below the real last line of the file. You see something like this:
There are actually three lines in the text file and you can confirm this with 'wc -l '.
There is a lot of confusion with people who don't understand the concept of EOL and what these editors are doing. For example, I have people at work who use ZDE and when they open a text file created by me (vim), they go bonkers because they think I've put an extra blank line at the bottom of my scripts. There have been problems in the past with people really putting unnecessary blank lines at the bottom of scripts, and of course this lead to premature headers errors. Naturally, they think I'm doing the same, because they don't realise that their editor is displaying the file incorrectly.
I have one colleague who even wrote into our 'coding guidelines' recommending people not use vim because "it puts in extra characters that you don't ask for".
I have noticed that Redhat's default emacs configuration (FC3 at least) also opens text files in binary mode by default, resulting in a missing EOL on the last line of a newly created text file.
I'd like to know if I have the wrong idea about anything, but the question remains: what is the reason for these editors behaving this way?
I read your entire argument only to find the you use Notepad? Oh my god, I've wasted two minutes of my life. Thanks.
You know, in all the *many* discussions I've read about vim over the years, one thing I've never heard is "Well, it has lots of features, but the problem is, it's so bloated and buggy!" Have you ever heard that criticism leveled at vim? Does it have a problem in that regard? If so, this is news to me.
I have, numerous times, asked vim afficianados, "Does it support foo, bar, and baz?" (where foo, bar, and baz are any three arbitrarily chosen advanced features I use on a regular basis in Emacs and would not want to live without), and the answer has NEVER been "Oh, yes, it does all three of those things." It's been a couple of years since the last time, so we can try this again: does it support automatic mode-dependent (i.e., sensitive to the type of file you're editing) grouping-symbol matching (wherein when you type a closing grouping symbol it highlights the opening one)? Does it support correct automatic rewrapping of nested quotations in email and usenet messages? Can it be customized so that when editing a certain type of file, inserting certain characters has additional effects?
It seems to me that a critical lack of important features is vim's one major shortcoming, and that's what development really ought to focus on. Bugs in vim? I've never heard of that being a serious problem.
Cut that out, or I will ship you to Norilsk in a box.
I'm not sure if that applies to vi. I use vi, along with other editors, on both the windows side, and the linux side.
If you are just a point-n-click desktop user, not a developer, or admin, I suppose there is not much use for vi.
But, it is handy to know some vi, if you are working on NIX box with no GUI. I also use vi on old dos boxes.
IMO: vi is nice tool to have around. Although, it may not replace your favorite IDE or wordprocessor.
(If you want to compare the two, type "ed <some file>" at the command prompt on most *IX systems (including cygwin under MS-Windows), and try to edit the file.
Vi(m) is so much better.)
Even when editing on a DECWriter (a hard-copy terminal popular back in ancient times), I preferred using ex, the one-dimensional version of vi, to using ed.
Vi has held up surprisingly well over the last couple of decades, and (g)vim's added capabilities have made it even better.
(I really like the '*' and '#' commands, and being able to use the mouse and arrow keys in insert mode.
Oh, split-screen mode.
Etc., etc.)
Vi has done a decent job making the transition from TTY to GUI.
The one thing that annoys me sometimes is when I accidentally try to use vi commands in a non-vi setting.
For example, more than once I have accidentally dismissed a dialog box after filling in a text box because I hit the escape key to terminate insert mode.
Those who sacrifice security to condemn liberty deserve to repeat history or something. - Benjamin Santayana
Don't get me wrong, I fully understand that a GUI text editor is hella easier to learn, but I take issue with the statement, "I disagree that everyone should learn to use vi." .conf, I could. Being an avid *nix user, and not knowing at least a little vi is like being a Windows admin and not knowing your way around MMC.
I suppose you're right that vi isn't for everyone, but from a sysadmin's (or even a power-user's) point of view, you'd be stupid to ignore vi. Say a system gets clobbered and your beloved pico (insert other simple text editors here) is shot. What's your boss going think when you tell him you can't fix it because you don't know vi? And it's not that difficult to learn. I decided I wanted to at least get acquainted with vi, so I started taking notes in my Perl class with it. Dorky? Yes, but after a week or two of that, I had basic editing skills down pat. Granted, I don't know vi inside-out, but if I needed to make an emergency edit to a
This sig rocks the casbah.
Here is a little (paying) job
for an experienced vim user and C programmer:
* Add pull-down menus to insert mode
in the text console. They should look
similar to those in gvim.
If interested, please post contact details
in comp.editors. However, you will only be paid
if and when your patch is officially incorporated
into vim.
Usually with these threads there is the temptation to make the "usual comments" regarding vi or emacs.
Interface is frequently mentioned.
If you look back to when these editors were "designed", they were "designed" for doing significant developement, on unix, in a pure shell enviornment.
There are still people who do significant development in a pure shell enviornment, but this sort of thing is in the minority these days.
Most command line editors in nix are primarily used these days to edit configuration files. There is no need for a complex and alien set of key bindings.
If all you truly need a command line editor for is editing config file you might be interested in "ne":
http://ne.dsi.unimi.it/
It has CUA ( windows, dos-like ) key bindings and it even has a DOS style drop down menu.
It is customizable, fully in the command line, and very, very small.
parsed that title as vim: 64bit?
Returned Peace Corps IT Volunteer
It's obvious that the poster is unfamiliar with vim, and only wishes to prove the superiority of his/her ignorance.
Here's a clue. Run gvim with the default settings.
matchit script. So yes it does.
Does it support correct automatic rewrapping of nested quotations in email and usenet messages?
I don't use text based email clients any more, but it should. The only thing suggested seems to be is to set textwidth=72 instead of default 80. As vim supports local settings (setting unique to a buffer). You can set the textwidth to 72 for mails only and have it as 80 for all other files.
Does it support correct automatic rewrapping of nested quotations in email and usenet messages? Can it be customized so that when editing a certain type of file, inserting certain characters has additional effects?
Yes it does. Filetype plugins plus abbreviation.
So in short yes it does support what you want. May be some one using mutt/pine + vim can elaborate on point 2.
for the last time people, I am "frodo from middle eaRTH", not "middle eaST".
It's better to be the foot on the boot than the face on the pavement. ~~ tkx Kadin2048
>you use the wasd keys to move around
just like counter-strike then!
It has it - it's just in a seperate module. I believe it's called TeX - guy called Donald Knuth wrote it. Remember the one program, one task, rule.
You know you're fucked when you're typing a paper in MS Word, and reflexively hit :w every time you want to save.
hang brain.
> Java code in Eclipse, ONLY because of completion, even though all my other editing features from VIM aren't there (or are buried).
That sumarize well why i love vim.
Already tried eclipse, emacs, ultraEdit and even liked for some time jEdit
You tell a newbie to open up a configuration file to edit it, and the next thing you know, you get a litany of disasters because the editor itself is a pain.
This is my sig.
One thing that I like about vim is its small size.
It's a shame that it is getting more and more bloated.
It seems that no software is immune to this.
Those who sacrifice security to condemn liberty deserve to repeat history or something. - Benjamin Santayana
Vim rocks:
Control-P
It's like the IDDQD for typing.
Best Slashdot comment ever
1. You did not specify. You asked simply "what Vim can do that Moe can't". .desktop files contain all the translations (English, Deutsch, Korean, Japanese etc) of the label of an application? Many people need to use an utf8-capable editor.
2. For a text editor, being capable of editing multi-language files is an absolute imperative nowadays. Did you know
3. "Simply use another editor"? Come on, I tought you were asking for information and help (which I tried to provide here) but you seem to be only interested in advertising Moe.
4. I found your answer deeply disrespectful, and I was only trying to help.
Other answers to your question:
A. Vim can execute commands in python, perl, ruby, or tcl (whichever the user prefer) on a line or a block of your text -- no pipes involved (ie. fast).
B. Vim can display file differences in a visual sort of way.
C. Vim can read make's output and put you in the proper point of an error.
D. Besides the four scripting languages, vim has its own, quite powerful, configuration && macro language.
E. Vim has a small, bare-bones version too (vim-tiny).
F. Vim has all the advertised functionalities of Moe, even in the -tiny version -- and it can be used modeless, too (-easy option). AFAIK, there is not a lot of difference between the usage of the modeless option of vim and Notepad.
G. Syntax highlighting.
H. Smart indentation for C/C++, Perl, Java, and other languages.
I. Vim can read grep's output and put you in the place where you found your regex.
J. Many files, one screen.
K. If Moe don't have UTF8, I will safely suppose it doesn't have left-to-right text, too (arabic, hebrew, etc).
Is this enough for you? I hope at least A-J help you.
It's better to be the foot on the boot than the face on the pavement. ~~ tkx Kadin2048
The major problems I have with it is that the modes get in your way. It also confuses many people to use letters for common operations. This can easily be fixed without eliminating any features:
1. Get rid of modes and use control keys for special operations.
2. Use the standard, popular key combinations for the usual purposes, e.g.
arrow keys to mov around, control left and right arrow to move one word
to the left or right, Del to delete the character that the cursor is on,
PgUp and PgDn to move up or down one page, and so on.
This makes it easier for newbies to pick up the fundamental operations. They
can then learn the more complex operations as they need them.
Another approach would be to use a GUI to ease newcomers into the editor. This would not hinder experts if there were "accelerator" keys (control key sequences) to perform the same tasks without having to go through the GUI.
If you want the program to be popular, make it easy for newbies and experts alike.
./configure --with-features=minimal --with-gui=none --disable-x11 && make && sudo make install
Or, in Gentoo, USE="minimal" emerge vim
All of Vim's features are optional. You can even do silly things like turning off support for everything except vt100 if you really want...
... why don't just copy paste the source code too :P
I talked with Bram about this at OSCon a couple of years ago, so he's aware of the request -- and many people have made it.
When will gvim support "one server process, multiple windows?" I am not a fan of using multiple buffers, split in one window (except in certain situations like diff and vertical split).
I'd like to be able to have one vim process running that keeps a single editor context (remembering stuff like last search pattern, last ":" command, etc.), but lets me view one file per window, having more than one window/file open.
Additionally, I'd the ability to issue a vim command at the shell prompt which does: "open this file in a new window." Once that new window is up, it would connect with the single vim process, and have access to search/command history.
_____
I know I can do all of the above with emacs -- there's an emacs server concept and a command line that can be used to pop new windows. I choose, however, to use vim.
I use vim a fair deal, but find myself starting jEdit more and more often.
I regularly copy/paste, use regex and toggle into insert/overwrite modes. Only use arrow keys for navigating, or shift + aoi if i'm feeling really adventurous.. I also feel like my non-us keyboard is holding me back at times.
I figure I'd be more effective if i started using windows/buffers, but seems like such a chore to learn that I only ever work with one window at a time.
What i really miss though, is file handling/navigation. Especially having instant access to a full file tree, like in jEdit or any decent IDE.
Suggestions?
grouping-symbol matching (wherein when you type a closing grouping symbol it highlights the opening one)
.vimrc, which wraps the current block when i hit w ...
yes. by default you jump to opening/closing bracket by pressing % and with a short script snippet you can add any
kind of highlighting you desire.
Does it support correct automatic rewrapping of nested quotations in email and usenet messages?
sure. i have this in my
map w gqap
it can also be done automagically (another 2 lines in your vimrc) but well, i don't like that.
Can it be customized so that when editing a certain type of file, inserting certain characters has additional effects?
yes. i'm not exactly sure why you'd want that (or what it is that you want) but you can add
just about any kind of behaviour limited or not limited to certain filetypes.
e.g. this one-liner will give you a closing curly brace whenever you enter an opening one and hit enter (or wait for a moment). conveniently it will not add the closing brace if you type anything other than enter:
inoremap { {}O
It's better to be the foot on the boot than the face on the pavement. ~~ tkx Kadin2048
A typical document in word/excel at work, parens are myself realizing what happened.
/esc:x
(ok new document, lets get typing)
iJohn Jacob (dammit, how did that damn i get there? well lets delete the thing) 0x
(Dammit now word is thinking I am typing in Swahili, time to break out the mouse, sigh)
(good to go now)
i Jingleheimerschmidt (DAMMIT, forgot to hit escape, wait, not again, time for a bit more mouse action)
$i that's my name too!
By this time I am fed up and fire up vim for windows and just paste what I need. This is also the reason I LOVE Abiword. Vi compatibility is the only way I can do anything of value in that word processor.
But this post is about vim - vi improved. Improved - as in "better as".
Martin
The channel name being only "#", make sure you use something like mIRC, X-Chat, ircle, or a similar "real" IRC client. The DALnet Java client (accessible from their own website, ironically), and some other generalized chat clients, such as Trillian, have difficulty dealing with a "nameless" channel like #. If you come in, let the ops know you know J^raxis, or type !voice to get moded +v; voice mode is how we differentiate the people who're actually "in" # from the newbies who fall in and out, get kicked, and so on.
Liberty in your lifetime