The Union of Vim with KDE
Philippe Fremy writes "Thomas Capricelli, Mickael Marchand and me are pleased to present the first ever stable version of KVim, finally bringing "the power of VIM with KDE's friendliness".
This release contains a port of the standalone editor Vim 6.0 to Qt/KDE (2 and 3) and a KDE KPart Component. The component can currently embed either of GVim or KVim in Konqueror (screenshots), with out-of-process embedding. Further work is required before proper support for KDevelop, KMail and Kate is available, but things are moving forward."
As everyone knows, Vim is the best (only?) text editor, and KDE is the best (only?)
desktop system. Heh.
On a serious note, it shows that we can do things under linux that happen in Windows; the OLE model in Windows has allowed things like this for years, and it's about time we had a similar model in the *nix world.
Defies the whole persona of vim. vim loses what makes it useful when you stick it in a window and add menus and buttons.
vim is all about those wierd keystrokes you learn that funnily enough grow on you and multiply your productivity.
While I'm sure you can still do this with kvim, I don't see what would get a real vim user to use kvim rather than just vim in konsole.
Nice idea, like I said, but I don't expect too much takeup.
Blearf. Blearf, I say.
If this is a "blatant attempt" to start a flamewar, then you my friend, are guilty of putting the first match to the kindling.
;)
You could have just ignored it
PGP KeyId: 0x08D63965
I kinda thought it was a tongue in cheek joke... no need to get your shorts in a bunch.
sic transit gloria mundi
Take a closer look. CmdrTaco himself added that comment, not the submitter of the article.
:)
And yes, we would dance around a camp fire if GNOME announced that it shut down. Or... well, at least some of us would. And we know that at least a few of them would do the same if we ever gave up.
this would have been a great april fools joke. Kvim could include an add on module called kflame that automaticaly generates flaming posts. this would force Gvim to release Gflame. these would be followed by Kextinguish and Gwiz. oh please let it end!
Since it's not in italic, chances are that this was CT's comment, and not the original article writers.
And while they wouldn't dance around a camp fire, the hate isn't exactly pretended either. KDE/Gnome has become one of the holy wars of computing: vi/emacs (go nano!!!), littleendian/bigendian, OOP, and many other venerable silly battles. It's actually an ideological battle - GNOME was started in the first place because KDE was based on Qt, which isn't GPL. Thus, the rush to create a GPL'd window/widget toolkit (GTK) and environment.
Maybe Bill Gates, with his vi background, will consider using KDE in windows 2004... :)
-- No sig today
Well, it's been a high time to get real components on UNIX. Considering that UNIX (and Linux) are all about small tools doing their jobs and integrating with each other, components are logical extension of pipes... Now I just wish I had the time to start a project - I'd probably write component browser/method invoker module for zsh. :)
Anyway... kudos to VIM folks for getting this right.
--
I refuse to use
However, I fail to see the motivation for KVim as a standalone app. What would I, a user, benefit from using this, as opposed to, say, using gvim? Does gvim not run well under DKE?
This humble user greatfully awaits your awesome input... :-)
What's the big deal? VI rocked back in the days when 80x24 amber/green monitors / terminals were the thing to use, but today editors which are SMART are way more productive, since they let the developer focus on the job that has to be done, instead of looking up information that should be available at the fingertips. Any editor without intellisense-like functionality is a waste of time. Seriously.
Not to sound like a troll or anything, I used VI for years, but this is 2002, the year in which we can buy a tiny mobile phone which can be used to watch a movie on it or browse websites, so using an ascii based editor that hasn't any tricks up its sleeve besides coloring keywords is IMHO kidding yourself with irrelevant reasons like "the new stuff is not worth it, this is more productive" etc.
Never underestimate the relief of true separation of Religion and State.
Ah! The acid test for KDE - can it make vi usable for non unix-gurus?
...
Given that there is now a version of Vim for both Gnome & KDE, does it make sense for (X)Emacs to make the jump too? I know the origins of Xemacs are as much political as technical - but does it not make sense to try to branch off 2 versions of emacs into the 2 guis?
I started out making a joke post, but the more I think of it, the cooler i think Kemacs would be
...Otherwise, the Linux community's proposed "improvement" to Mickeysoft's infamous Start button would have been an even MORE non-intuitive looking, oddly situated stone footprint.
IMHO, what allowed KDE to win the desktop war was the fact that its developers actually listened to what their users told them. Their design choices were dictated from the demands of people below, instead of by ego-driven edicts delivered from the people above. Good ideas are never delivered by edict..only unrealistic expectations that will never be filled.
Cheers,
Bowie J. Poag
Well it looks like we Slashdotted it already.
....karma whore :0p
As usual you can view using the trusty Google cache by clicking here.
Yeah I know I know
Why do today what you can put off until tomorrow?
For the treatment of the Criminally Insane Gambler!
Who run Barter Town?
Nothing to see here except a rich, stupid troll called Rob Malda.
"As everyone knows, Vim is the best (only?) text editor, and KDE is the best (only?) desktop system. "
As everyone knows, CmdrTaco is the best (only?) troll, and Timothy is the best (only?) bot.
-Shaunak.
:x saves you one key
ZZ saves you two keys.
always isomething to be learnt.
^ don't you hate those "i's" in your email. 8-)
WTF are u talking about?
the only desktop war is opensource-desktop-environments VS closed-source ones.
KDE and GNOME wars never really existed. If that's what you mean..
This post has been brought to you by the Letter K and the letter V, and the number 3.
Code softly but carry a big magnet.
Does Vim support '%' on #if/#else/#endif yet? That's one of the things that stops me from switching from Elvis.
Every bloody emperor has his hand up history's skirt [Peter Hammill/VdGG]
GTK was/is LGPLed
QT is now GPLed
I don't want to have to put up with people saying (GNU|X)/(K|G)/Emacs! :)
The Union of KVim? I worked with a couple of guys in that union last year. They were always trying to get me to join. It got kinda creepy when they started bringing all of those animals out of such a tiny car...
------
Today's Top Deals
BTW:
;-)
Writing a Haiku
In seventeen syllables
Is not very hard
Every bloody emperor has his hand up history's skirt [Peter Hammill/VdGG]
Why didn't Mr. Taco just say "in the red corner, VI and KDE, in the blue corner EMACS and GNOME, this is the MOTHER of all flamewars! FIGHT!"
If Mr. Edison had thought smarter he wouldn't sweat as much. --Nikola Tesla
Why would you dance around a campfire if GNOME shut down? Can't stand a little bit of honest competition? Rather than let the KDE project speak for itself, you'd rather see the GNOME project go the way of the dodo?
Yeah, figures. Stupid fucking KDE bigot.
join the 21st century, please. these editors are fine if youre stuck at the command line (no X session going), but comn, there are some really snaxxy IDEs out there, and other platforms (as an OS X user, i use emacs at the command line, but BBEdit for my daily coding tasks)
I thought KDE was one of the few things that Emacs users hate more than vim.
This sig is a true statement, but I cannot prove it.
Lets look at this from the other side, the emacs side. With emacs you can have a browser in your editor. While you are at it you can have your shell and tetris and mail, news and and and. I am not here to expose the virtue of emacs but to instead ask why this took so long and what real bennies this will have. I can more than see the good of vi embeded with kdevelop but I would much rather use emacs as my IDE for its stablity reasons. Even if emacs was embeded in konq I would still rather use emacs by its self because konq has a habit of crashing on anything less that 128 meg of real memory. Why dont the vim developers work on makeing a vim with an IDE rather than having other work on embeding vim in other apps?
Karma goes down by several points for unpopular oppinion.
Ascii artist &
Lesson number 1:
Question: How to start a flame war?
Answer: One word - Emacs
Vim? Does it have a calendar? Eliza? news? web? programming language? inline shell? holidays? more to the point, have they fixed that awful bug where you have to press three or four keys to change it from overtyping to inserting or deleting? How could anyone think that was a good idea?
OK I'm trolling, but goddamit I'm trolling for emacs AND I'M PROUD OF IT!! (Anyway, c'mon, what do you expect with a story like that?? "Vim the only text editor"?? Are you mad? As it happens I'm half-way through an install of Mandrak 8.2 on the machine next to this one - sure looks like there's more than one text editor there... fgs there's two versions of emacs alone (four including -nox)...
"None are more hopelessly enslaved than those who falsely believe they are free." -- Goethe
It's like a swamp - if you come inside it's hard to come back outside. You don't want to come back. You are addicted. Only your death will heal you.
It's more likey that (X)emacs people will create their one desktop environment. If you know (X)emacs you know that it's pretty close to it.
Imagine desktop environment working virually the same way in X11 as well as from a command line :)
But most wouldn't. The sad fact is that most users see nothing wrong with having a choice. There's a small but vocal group from both camps that seem out to whip up as much hostility as they can, and sadly, it seems some /. editors are among them (just see the rather skewed gnome item in the 'development' channel).
With the steadily improving interoperability between these two environments, it is easier and easier to run applications for either and just use the desktop that makes you happy. Why care? Why look for a 'winner'? Instead, appreciate the flexibility that a choice of multiple desktop environments gives us (where Gnome and KDE are just the two most visible alternatives).
/Janne
Trust the Computer. The Computer is your friend.
If you think of it, vi is probably better suited for embedding in other apps. The keybindings used in vi are more "compatible" with modern GUI apps, while Emacs has keybindings that would map OVER kde or gnome or whatever... I mean, would the ALT-[bla] or CTRL-[bla] key sequences be received by embedded emacs or by konqueror? It is obvious that vi wins in that respect.
;-) that wants to live on its own while vi is an editor that is easily embeddable.
It seems clear to me that Emacs is a full featured OS
As far as I know (me mucho Linux nOOby), the great advantage of the Vim (aside of it's countless downsides of which one is "looking like someone shat on your screen") is that you can run it via telnet with a 9600 baud conection using something like a basic calculator as a keyboard.
What's next? Porting Emacs to QT/KDE? Or rather the other way around, QT to emacs. Which - considering that emacs seems kinda like an OS in itself - could actually be easier.
How about jEdit? Anyone tried that yet? It actually supports more than 2 bit color without requireing a port... (although it is a little sluggish I admit)
We suffer more in our imagination than in reality. - Seneca
is trolling with this line:
As everyone knows, Vim is the best (only?) text editor, and KDE is the best (only?) desktop system. Heh.
Taco: you should know better than that by now!
An optimist believes we live in the best world possible; a pessimist fears this is true.
Easy to use Vim? Don't you mean Cream?
</shameless plug>There is no need to use a SlashDot sig for SEO...
http://www.darryl.com/vi.shtml
There's a similar project for GNOME, called Gnome-vim (screenshot). AFAIK, it is only useable with Evolution.
Finally a good reason to try KDE.
(+1 Funny) only if I laugh out loud.
"the power of VIM with KDE's friendliness"
What do you get then? Something that is almost user friendly?
> You've gotta sin to get saved.
User-friendly VIM! I can't wait! Nothing sounds kludgely like a mouseless text editor with mouse support!
*sigh*
When I fell back into the Unix/Linux world some four years ago, my biggest crisis was finding a text editor. The obvious choice for me was Vi in a term window (I've been using Vi since Jimmy was president). Alas using it in a windowing environment presented special problems. The big one is that I kept forgetting which mode I was in. Maybe you can have a half-dozen windows open and keep a state diagram of every one in your head. I can't. I needed an editor that was stateless, or at least less stateful than vi(m)-in-a-window.
Lucky for me, this was right when the Vim people perfected GVim, a version that integrated itself with various windowed environment. A paste is a paste, never mind what mode you're in. That by itself was enough for me to send a check to Bram's orphans. (I assume everybody else has?) The rest -- macros, synax colors, incremental search, being able to use the same editor on different platforms -- was just gravy.
So we've actual had this personna-defying version of Vim for quite some time. The Linux port uses GNOME widgets, but runs under KDE, no problem.
Also, you shouldn't assume that Vim is strictly for keep-my-hands-on-the-keyboard geeks. I know people who are put off by the weird modal keystrokes that Vim inherited from Vi. But they use Vim anyway, because it's the best comprimise available between power and functionality. Most editors are either to limited (KEdit) or infected with Feature Elephantitis (EMACS). Vim strikes a nice balance.
> Get some fucking windows too.
Windows? i've got a lot of them, as a matter of fact i'm looking out of one right now.
Hail to the king, baby!
I'm using Emacs on KDE3 right now. If we sit down together and talk, I'm sure we can get an understanding without bloodshed. :-)
Employee of Inrupt, Project Release Manager and Community Manager for Solid
I'm highly suspicious of this "integration" process. This uncessary addition of vim into KDE will deprive consumers of real choice, potentially leading to a stranglehold in the up-and-coming field of text editors. Will retailers have the option of replacing Kvim with a component of their own choosing? What will happen to the Kemacs, Kpico, and the just-started Ked projects? I've read before that KDE has not been developed with modularity in mind, making Kvim's removal impractical at best, so we may be witnessing a thinly-veiled attempt by KDE to subsume the entire editor market. Before we jump on the bandwagon here expousing the virtues of this marriage, we should take a lesson from history and recognize the many subtle consequences of this action.
This is just what Linux needs to succeed on the desktop! So simple, even your grandma could use it!
I think these guys should start a company aiming to provide KVim as an ASP solution for all the enterprises out there, then go IPO and make a fortune.
Now could you please XEmacs21 to PalmOS, please?
--Bud
There are two ways to get vi / emacs / your-favourite-editor embedded into konqueror or kmail or whatever. Either make it into a 'component' which visually sits inside the konqueror window, or write a lightweight component which calls out to a separate editor process. Think about Emacs's 'server mode' where you set $EDITOR to 'emacsclient' and your currently-running Emacs is used as an external editor.
You could have a KDE editor component which just displays the text and a big 'edit' button; the button when pressed launches $EDITOR, which could be Emacs or whatever. It wouldn't look as nice as embedding kvim directly into the app's window, but it should work with all editors, with no special KDEification needed for each one.
-- Ed Avis ed@membled.com
> Why didn't Mr. Taco just say "in the red corner, VI and KDE, in the blue corner EMACS and GNOME, this is the MOTHER of all flamewars! FIGHT!"
Got to get Xemacs involved in this too. Then we could have RMS and Jamie Zawinski as tag partners.
Now how long until we get KDE for Emacs?
VIM keeps growing and becoming more bloated (is that the fate of all software?).
I'm afraid that VIM is becoming the vi equivalent of Emacs. Not pretty.
While I agree with you in part, the part of about using all the funky keystrokes that boost your productivity, I disagree that at GUI version of VIM is less useful.
:)
For one, the support for native GNOME (in the case of GVIM) and KDE (in the case of KVIM) clipboards, without having to go into the xterm window and keep on marking a "screenful" at a time and then scroll, mark another screenful, scroll, etc....with GVIM and KVIM, you can copy these to the clipboard easily like any other GUI editor.
If KVIM is anything like GVIM, it will have native support for KDE printing functionality, something non-existant in a console vim.
The fact that, as someone mentioned, it is a KPART means that other applications can use it. So, for instance, Konqueror could KVIM for the little text editor window that I'm typing in right now and I'd get full Vi-style editing functionality, something that would ROCK if you ask me personally.
Also, adding the menus and buttons give you useful stuff like File Open dialogs. Typing in a long pathname on ':e ' command line is a REAL royal PITA. I'd rather just point and click, thank you.
My journal has hot
Surely it should be the other way around.. :-)
KDE comes with a service called the "KTrader". You can ask it for a list of 'KParts' which are associated with a certain filetype. Wether this is (K|G)VimPart or say, Kate is a matter of taste. You don't like KVimPart ? Edit the filetype and tell it to embed Kate instead.
The article talk about embedding Vim in Konqueror. Unfortunately, I can't reach the site to read the details (/.ed), but if that mean I can use Vim in textbox (such as the one typing in right now), then I am really excited.
/. :)
That will double my productivity when posting to
:wq
It seems odd in the early 21st century to be using only an editor and nothing else to do any real development work. I hate launching ddd, GVim, and kdevelop seperatly for coding, debuging, and looking up documentation. My solution was to enhance my coding skills a little more and actually write a version of Vim and litteraly call it Kvim and then try to use kparts to integrate it with kdevelop. Exactly like what these guys are doing. They beat me to it. Oh well. It would of looked good on my resume. Anyway I will be the first to download it and try it out. This is a must needed godsend for unix and linux. Its hard to convince people to switch when using old command line editors from bash like vi. ALso the unix approach to a problem is to have alot of smaller programs that do one thing well and to use them all together. vim and kdevelop fullfill this idea well.
http://saveie6.com/
From the KVim page:
KVim is released under the smae 'charityware' licence as vim. Please see the vim website for more info.
Why do I smell licensing problems here? That is, unless the developers have a commercial Qt license, they are required to distribute any software linked with Qt under the GNU GPL.
I believe that would be the second time, as Vim was previously linked with libgpm (I don't know if it currently is), which is also distributed under the GNU GPL.
Something that everyone here seems to forget: the great advantage of vi compared to all other editors in Unix: you can trust it will be there, on any system, in any condition. Of course, this is not a big deal if you are a "normal" user, but if you are an administrator, expecially one who gets his hands dirty in day-to-day problems and accidents, you know how good it feels to have an editor in single-user mode, and to know that it will be available on any Unix platform!
(Except for HP-UX: I noticed that I have no editor whatsoever, in single-user mode, until i mount -a. Weird. No, not even a line editor)
Sigged!
Hello, We've mirrored the kvim homepage at http://freenux.org/mirrors/kvim/. Thanx all of your for your attention. We managed being slashdotted once, but this one is too hard.
that is what i was always talking about -- vim in mozilla! gtk vim component existed forever, and still we are all stuck with brainless mozilla
EMACS = Endangered Microcosm of Anti-Componentization?
/.ed already.... Looks like they should have been using IIS.
Silly rabbits never learn...
> You'd rather see the GNOME project go the way of the dodo?
Sure cocksucking, motherfucking, Ximian monkey nigga corporate powah tool.
-CmdrTaconutz
I'm a KDE user and a GVIM fan, so this is absolutely great. I use GVIM under Windows as well, which helps me keep some unity and sanity to my text editing. I particularly love the search and replace power of Vi (basically full sed scripts, inline) and often spawn it from VC++ to do complex searches-and-replaces. I've read that you can replace the VC++ editor with GVIM using OLE, which I might try too.
I do like Konquerer's file manager mode (Mozilla is much better IMO for the web), particularly the CLI attached to the bottom of the window. In fact, I often use it to spawn GVIM to edit a file... Being able to bring up GVIM inline to do text editing would be a dream.
Personally, I'd love to see a study done where we take some Windows gimp, lock em in a room for 48-hrs forcing them to only use Vim -- then gauge the decrease in productivity using any other editor.
The point: Ironically, if I were designing an editor for money, I would probably do the same thing: make all users of my editor be extremely dependent upon it, through inventing some creepy keystroke combo via conditioning... such that the user's productivity dramatically decreases using any other editor.
True, this can be said about Emacs or numerous other editors... I just hope M$ doesn't get any ideas; last thing I want to do is hit Ctrl-ESC for everything.
-- dforce
SELECT * FROM USERS WHERE A_WINNER = "YUO";
it actually makes the most sense out of *any* unix text editor.
.
why?
try this excersize.
cat>some_file
type here.
... now how do you save, and exit editting from this? thats right - Ctrl-X (EOF character) Ctrl-C
thats why emacs uses that key combo
... hi bingo
> 1. Slow - It's just too slow. the slower of all window managers under linux.
That proves that you are a moron. KDE isn't a window manager. And KDE3 is faster than GNOME 1.4.
> Conclusions: Here is a Living proof that OOP is not always suitable. All the inheritance that is going on makes even simple applications running really slow.
Uh, every major modern desktop environment (and OS) is written in OOP. KDE is. GNOME is. Windows's graphical portions are. MacOSX's graphical portions are.
So, whatchutalkin about?
This is probably the greatest user interface advance for developers I can think of. To have the power of vim for editing, plus being able to ebug in vim, setting breakpoints, stepping through code, etc. I drool at the thought.
What a coup.
I thought EOF was C-d. Maybe I'm wrong; can someone explain the difference?
so why doesn't emacs have a Ctrl-D save and exit key?
At least for a person like myself, who has a horrible memory. There are WAY to many different commands. I have learned to use vi on at LEAST 5 different occasions, everything from text selection, cut/past, regex search/replace, etc. Every single time, I come into the office the next day, try to continue using vi, and... I can't remember how to use the goddam thing!
Further, what is the damn reason for the different modes, command mode, visual mode? WTF? It basically serves no practical purpose. Other excellent text editors implement all the same features without resorting to such asinine things...
And on top of that, vim, being the de facto text editor on Linux/Unix, is seriously slowing down the adoption of Linux. When a newbie starts learning how to use a machine, and they're reading a manual or a book that tells them to edit a file using vi, how many times out of 100 do you think they're going to get extremely frustrated and say, "The hell with this, what the fuck?" My guess would be at least 95.
Simply put, I fucking hate that editor! ;-)
I hate emacs too, BTW, it's a horribly bloated operating system. *ducks*
No, I don't like pico either.
For quick editing of simple config files I use pico, for everything else I use nedit(which is possibly the best text editor ever... if only it didn't use Motif).
Sticking feathers up your butt does not make you a chicken - Tyler Durden
Vim for KDE, does this mean someone will port Vigor to KDE? KVigor?
By the taping of my glasses, something geeky this way passes
You would have to embed KDE and GNOME into Emacs because Emacs is an OS that just happens to edit text
Slashdot, the site where everything's made up and the points don't matter
Is the sinlge biggest feature of vi in all of its incarnations.
I am not a C programmer, but do a lot of maintenance on it anyway, and that feature makes a world of difference in other peoples code.
The one thing I hate about vim/gvim is the inability to do MDI. I want to be able to edit multiple documents at a time and copy/paste text between them. The split window just sucks. If you open two separate vim windows, then the only way to copy paste is with the mouse. Then there is some funky way to cycle between open files in the same window, but then you actually need to save the current file and open the next one. All of these methods suck. So, is there or are there any plans for a *real* MDI in vim? I'd like that even more than KDE integration.
___
If you think big enough, you'll never have to do it.
Actually, the best editor ever was BRIEF by Underware, an awesome PC editor then got sucked up by Borland and disappeared.
When I switched to Unix from DOS an aeon ago, the first thing I did was look for a decent editor, and was incredulous that people actually used vi - a line editor!! - for real work. The absolute minimal requirements for a productive editor are modeless, mouse cut and paste and off-the-cuff macro record/playback. I ended up choosing emacs and configuring the keys like BRIEF.
You're right about nedit though - it's an excellent editor and I use it on occasion to do stuff like complicated search/replaces that I've never bothered to learn with emacs (how does emacs refer to wildcarded bits of what you searched for in the replace string?).
Yeah. Whatever you say. The reason for C-X is that it stands for C-eXit. Everybody knows that EOF is C-d.
Why is Windows bashing insightful and Linux bashing flamebait?
"XML is like violence. If it doesn't solve your problem, use more." - Anonymous Coward
I think we're going to witness the developmental evolution of KDE application naming.
Simply prefixing the program with the letter 'k' is not enough, as those lamers developers over at Gnome can simply take the same program, s/qt/gtk+/g, and s/^k/g/g. How's a KDE developer to cope?
Here's an idea: Give all KDE apps girl's names. We have Kate; now all we need is Kim, Kamilla, Katherine, Kookie, Koko, Kitty, and so forth.
Gnome will no longer be able to follow. Aside from 'gertrude', there aren't that many female names beginning with the letter G. And in any case, what are they going to call 'gnome-kate'? Gate? Gkate? Gnate?
Mwahaha! Now all we need is a non-crashing build of KDE3.0, and we shall rule the world!
- undoware.ca
try the excersize.
cat>yo_moms_a_ho
type something here
C-X C-c
thats where emacs gets in from.
... hi bingo
I'm taking Cal II now, and let me tell you, I curse integration to hell every day.
-raph
> editor, and KDE is the best (only?) desktop system.
> Heh.
Vim is definitely my favorite editor. I find it easier and faster to use than any others. However, compaired to XFce, KDE is quite a bit slow and old-fassioned. Maybe KDE 3 will come close to having the feature set and capabilities that XFce does. I can't wait to try it.
--
If I actually could spell I'd have spelled it right in the first place.
And developing closed-source software to run with Qt means a real financial ass-raping from TrollTech. It costs most to develop software for KDE than it does for Windows.
Ok is this just a gui version of vim that adds a tool bar and crap? (if thats the case then this is extremely lame)
or is this a replacement for the standard kde text editor dialog. In other words does this let me use vi to edit emails, and fill out forms on the web, and all that good stuff?
-fox
Hit enter before hitting Ctrl-C and your Ctrl-X will become part of the file.
Or, try anything (well, almost) then Ctrl-C. You will find that all the lines but the one you hit Ctrl-C on will be in the file.
Example:Ctrl-C kills cat before it can write the last line to the file.
> I thought EOF was C-d. Maybe I'm wrong; can someone explain the difference?
Yes - the difference is you're right, and the previous poster doesn't know what he's talking about.
(Actually C-d is the character usually used interactively to signal that you want an end of file. EOF as defined in stdio.h isn't a character at all, which is why getc() and getchar() return ints (casting the result to char before comparing with EOF is a common mistake)).
rant
EOF is ctrl-z; ctrl-d is carriage-return.
VIM, will you marry me?
And why should they? It's an obsolete concept, at least in UI design. If I had the time (and were a better programmer) I'd take the Bram's basic editor engine (which really is very good) and build a modern UI on top of it.
Bah! People who like vim are weird ;-)
Sticking feathers up your butt does not make you a chicken - Tyler Durden
dude, why do these guys need to redefine every thing?
how about "kls" or "kcp" or "kmv"??????
"just add a k in front of every thing and let the KDE guys take control of the world, because we are the best and the rest are a bunch or retarded fuckwards"
Seriously, wouldn't there be other targets for hungry coders to attack ? It is quite difficult to see why this should be a priority for anyone. Don't we already have a terminal ? For what do you seriously need a special version of vi editor then ? Gimme a break. No wonder I no longer use Gnome or KDE as priorities are getting upside down in that world. Of course when compared to mine, that is.
Bah! I wanted to see the effing screenshots, so try this cached URL for them!
Does this remind anyone else of the Parrot (Python + Perl) joke? In particular, the joke sample code they produced?
Quoting from the joke:
# copy stdin to stdout, except for lines starting with #
while left_angle_right_angle:
if dollar_underscore[0] =eq= "#":
continue_next;
}
-Paul Komarek
print dollar_underscore;
I read about the embedding in Konqueror but couldn't get specifics because of the slashdotting. Here is an idea that I have for a potential use of kvim:
I use SquirrelMail, a web-based IMAP client, to read and send mail. It would be super cool to be able to use kvim in place of the usual browser-provided TEXTAREA editor when I send mail. This would also work well here on slashdot, for editing comments like I'm doing now.
Chris
You have been trolled!
I personally think vim + konsole is better than gvim or kvim. Although vim already has split (horizontal and verticle), multiple buffers, and escape to shell, sometimes, its nice to be able to open another shell or do something on the command line. Konsole enables me to do so much more. I can vim one file and then open anothe shell from console to run the program and then go back to fix the problem. Having buttons on kvim is not that useful since most of vim users use only keyboards anyway. For people who works strictly without X, use "screen" will also work. If you are like me who dislikes overlapping windows, using the window manager ion makes the workspace even more convenient from keyboards.
Gail Ginny Ginger Gwen Georgette Gabrielle Gaye Genevieve Grace Gretchen Greta Giselle Glenda Gladys Geri Gigi Gloria and Guinevere.
the other way round would just bloat KDE :-)
Trolltech porting Qt to OS X made headines a few months ago. Does this port of gVim to Qt mean that us OS X users will finally have the option of running a GUI Vim?
That would be nice.Rot-13 my address to e-mail me.
"So I hurry back to little earth / For another life another birth"
Yayayayayayayaaaaaay! :))
Why do you need to do this at all? What's wrong with gvim as it is?
----
All of whose base are belong to the what-now?
True, some command prompts support this, but life without it really sucks.
(Okay, maybe two words.)
If it was really a Troll... there wouldn't be so many good responses. Just cause you don't agree don't make it a troll.
Configuring gvim to auto-complete on windows as well as say JBuilder is something I haven't been able to pull off. Thanks for bringing the point up Otis!
Of course JBuilder, with some of the smartest features I've seen(like drag and drop visual editors you can use on hand written and modified code), really sucks for manipulating text. You can't even search backwards properly. Yes there's a vi plugin for JBuilder, but it doesn't fill those gaps. Other "smart" editors and environments always seem to suffer similar weaknesses.
In practice, I wind up using two editors just for Java coding. gVim when I know what I'm doing and JBuilder when I really need to get in and read/understand a ton of code before making changes.
GAY/Emacs is the work of Satan. There can be only one text editor, and that will be Notepad. As soon as that's ported to *nix, I will continue using a functional OS*.
:w ZZ C-M-f-u-c-k, it's much easier to just have sex with a man.
*functional OS, in layman's terms, is an OS that allows you to do work without having a PhD in computer zealotry and/or 3 years to kill searching man-gina pages for the command line options to a stupid program and/or an asshole big enough to drive a truck through because since you spend all your time hitting C-x
Oh yeah, this has nothing to do with tech stocks dragging down PriceLine, so don't even go there.
Get a life!
http://216.239.51.100/search?q=cache:j5qav0C4GC0C: www.freehackers.org/kvim/screenshots.html+&hl=en
I think these are slashdot proof. ;)
Sorry, I still prefer nvi. It's the default 'vi' on a lot of systems (*BSD, MacOS X, some Linux distros), I'm used to its multi-buffer commands (which are totally different from Vim). The only thing I'd like that isn't there is Lisp indentation, I just don't miss it enough to implement it...
OT, yes, but:
Writing a Haiku
In seventeen syllables
Is very easy.
PGP KeyId: 0x08D63965
the /. editors are now themselves trolling.
It's equation editing doesn't merely trounce equation editor, but blows away the old typesetting commands in v1-5.1 of the macintosh versions of word--by enough that shortly after I met it, I dumped my macs and bought a *nix box as a starving graduate student.
People who write lots of equations *need* LyX. Badly. Never be forced to mouse your way around an equatoin again (though you can when you need to).
hawk, more suited to LaTeX, but using enough equations that he sticks with LyX
Rob Malda is trolling in the damn stories again. This time trying to start an editor war.
The only way the typical /.er can pick up a chick is with a forklift. -- AC
For those who did not know, Vim is the best. Go vim go vim go! :-D
This sig can be distributed under the LGPL license