Comments on: Vim Tips http://www.terminally-incoherent.com/blog/2008/10/01/vim-tips/ I will not fix your computer. Tue, 04 Aug 2020 22:34:33 +0000 hourly 1 https://wordpress.org/?v=4.7.26 By: KillerSpaz http://www.terminally-incoherent.com/blog/2008/10/01/vim-tips/#comment-10432 Mon, 20 Oct 2008 18:33:28 +0000 http://www.terminally-incoherent.com/blog/2008/10/01/vim-tips/#comment-10432

Kick ass tips man… And I like your writing style :)

I haven’t installed the plugin for eclipse, but ran across it a while back… what happens if you don’t pay for it? Is it nagware? Limited? etc?

Actually, I’ve been making an effort to go BACK to VIM from Eclipse cuz it sucks up my resources…

Check out my blog, i’ll be posting some more stuff on my vim as an ide tips.

thanks again!

Reply  |  Quote
]]>
By: Luke Maciak http://www.terminally-incoherent.com/blog/2008/10/01/vim-tips/#comment-10308 Thu, 02 Oct 2008 20:56:25 +0000 http://www.terminally-incoherent.com/blog/2008/10/01/vim-tips/#comment-10308

@Tormod Haugen: Oh, and Re:keyboard layouts. I’m probably pretty lucky that Polish Programmer’s layout is a straight QWERTY. We get additional letters like ąęółśćźż by pressing AltGr and the letter to be accented. The only tricky one is ź which is actually AltGr+x but you get used to that pretty quickly. :)

Reply  |  Quote
]]>
By: Luke Maciak http://www.terminally-incoherent.com/blog/2008/10/01/vim-tips/#comment-10304 Thu, 02 Oct 2008 13:28:48 +0000 http://www.terminally-incoherent.com/blog/2008/10/01/vim-tips/#comment-10304

@Tormod Haugen: Yeah, the cheat sheet is hanging over my desk at work. :) It is great, but it has a downside – you sort of need to know what you are looking for to begin with. For example you can’t really use it to answer questions such as “how do I move by this amount” or “how do I enter that mode”. Or rather you can, but it involves scanning the whole cheat sheet for the right key. It is great for reference, but not perfect when you are trying to learn new things. :)

Reply  |  Quote
]]>
By: Tormod Haugen http://www.terminally-incoherent.com/blog/2008/10/01/vim-tips/#comment-10303 Thu, 02 Oct 2008 08:59:38 +0000 http://www.terminally-incoherent.com/blog/2008/10/01/vim-tips/#comment-10303

@Luke Maciak: Dude?!

I’ve been using those, except for the brackets ones. This has mostly to do with the fact that curly and square brackets lie on on the Norwegian keyboard. We’ve got a few extra chars at the right hand; æøå. is a bit harder when it is ;)

I’ve become much better at vim since I found this handy cheat sheet two years ago. It even includes a tutorial! (It made me leave Emacs completely. Wasn’t good at that either, though. :)

@Allan Viz: Nice. As you can see, I hinted at that one in my first comment. ;)

Reply  |  Quote
]]>
By: luca http://www.terminally-incoherent.com/blog/2008/10/01/vim-tips/#comment-10302 Thu, 02 Oct 2008 05:20:15 +0000 http://www.terminally-incoherent.com/blog/2008/10/01/vim-tips/#comment-10302

nicely written.
Thanks

Reply  |  Quote
]]>
By: Luke Maciak http://www.terminally-incoherent.com/blog/2008/10/01/vim-tips/#comment-10301 Thu, 02 Oct 2008 02:39:37 +0000 http://www.terminally-incoherent.com/blog/2008/10/01/vim-tips/#comment-10301

@Allan Viz: Funny you mention this: exhibit 1, exhibit 2. Heh!

Reply  |  Quote
]]>
By: Allan Viz http://www.terminally-incoherent.com/blog/2008/10/01/vim-tips/#comment-10300 Thu, 02 Oct 2008 00:33:48 +0000 http://www.terminally-incoherent.com/blog/2008/10/01/vim-tips/#comment-10300

@jambarama: Remember this? :D

Reply  |  Quote
]]>
By: It’s all text! « G33KY^2 - The Nerd Strikes Back http://www.terminally-incoherent.com/blog/2008/10/01/vim-tips/#comment-10297 Wed, 01 Oct 2008 22:20:24 +0000 http://www.terminally-incoherent.com/blog/2008/10/01/vim-tips/#comment-10297

[…] It’s all text! In einem Beitrag auf Terminal-Incoherent bezüglich einiger Tips für Vi/Vim wurde ein Addon für Firefox erwähnt das ich euch einfach nicht vorenthalten will. It’s all Text ermöglicht es jeglichen Inhalt eines Textfeldes, auf beliebigen Webseiten im Editor der eigenen Wahl zu öffnen. […]

]]>
By: Luke Maciak http://www.terminally-incoherent.com/blog/2008/10/01/vim-tips/#comment-10296 Wed, 01 Oct 2008 20:24:59 +0000 http://www.terminally-incoherent.com/blog/2008/10/01/vim-tips/#comment-10296

@Tormod Haugen: Dude, you totally need to star using the following:

d) – deletes to the end of the sentence
d} – deletes to the end of paragraph
d$ – deletes till the next newline character
d^ – deletes till the start of the current line
dg$ – deletes to the end of the end of the screen line (ie to the point where the text wraps to the next line).
dg^ – deletes to the beginning of the screen line

In fact, you can combine these to do any motion. Skip d and you will just move by that much. Use v for hilighting. Use c to delete and go into insert mode. I find that I use these way more often than de and db stuff. :)

Oh, and also instead of hitting Esc you can do Ctrl+[ so that you don’t have to lift your hand off the home row. :)

@jambarama: I use sed sometimes for doing quick manipulation on text files sometimes. Does it count?

@Starhawk: Yeah, I installed it once but didn’t particularly like it. I just prefer to browse with a 5 button mouse with the thumb buttons bound to back/forward. Vimperator just seemed a bit awkward. I’m sure I could get used to it, but I actually like to see my toolbars – I use bunch of bookmarklets that sit on my toolbar (for example one for posting to /dev/random and I have bunch of plugins that sit in the status-bar (gmail manager, twiterfox, firebug, adsense manager and etc). The headless, modal browser just didn’t really work for me.

Reply  |  Quote
]]>
By: Starhawk http://www.terminally-incoherent.com/blog/2008/10/01/vim-tips/#comment-10295 Wed, 01 Oct 2008 19:49:49 +0000 http://www.terminally-incoherent.com/blog/2008/10/01/vim-tips/#comment-10295

Just wonder whether ya have heard of or use Vimperator:

Vimperator is a free browser add-on for Firefox, which makes it look and behave like the Vim text editor. It has similar key bindings, and you could call it a modal web browser, as key bindings differ according to which mode you are in.

Reply  |  Quote
]]>