Aseigo

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Sunday, 24 November 2013

Kate has won

Posted on 12:12 by Unknown

A couple of weeks ago Martin Gräßlin noted that I use vim and not Kate in a G+ discussion. Suitable shown up, II decided to give Kate another serious run. I do this every couple years, and it has indeed gotten better every time I've used it, but ... you have to understand that I'm fighting a long term addiction to vim here ;)

So I checked myself into editor rehab and forced myself to use Kate on two projects recently. I have to admit that I'm a convert. A lot of the keyboard controls I'm used to from vim translate over to Kate; if I turn on the vi mode in Kate it gets even better.

What really sold me though were two things: sessions, and the built in command lines (plural).

Kate lets you give am editing session a name. You can open and close sessions, and Kate tracks the files you have open, etc. There is also a Plasma widget and krunner integration, so I can now hit alt+f2 and type "kate" to see all my saved sessions. With autocompletion, of course! So: alt+f2, "kate mpl", , bam! right directory, 30+ files open. Beauty.

The other must-have for me are the command lines. I live and die by the terminal, so having one around is crucial. Kate allows having a Konsole session right in the editor window. This is collapsable, so it doesn't waste space when i don't need it, but is always right there when I do. The killer feature is that it follows me around as I move between files in the GUI. I can do all my git foo, scp'ing, grep/find'ing, etc. in that window, of course, but perhaps the best thing is that `kate ` opens the file in the kate window, adding it to the session. My workflow is preserved!

There is also another command line in Kate: the Kate command line. This lets you tell Kate to do things with nifty little commands. As a vimmer, this feels so very, very natural. :)

A lot of things I'm used to doing quickly in vim can be done quickly in Kate. It's not 100%, but then Kate is better at some things compared to the default vim, too. For instance, Kate has the filebrowser sidebar with all the usual KDE goodness such as breadcrumbs, autocomplete, etc etc. Kate is fast, scriptable, detects files changed behind its back, autorecovers if your X session dies (not that that ever happens to me when working on things like the lock screen with X screensavers *cough* *cough*). It also has those nifty over scrollbars and various gewgadgetry that is just little sprinkles on the cake.

Not that I won't use vim from time to time still ... (he writes, looking at his various ssh sessions in various konsole tabs...)

Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • more plasma workspaces 4.8 news
    In my last blog entry on Plasma Workspaces 4.8 I talked about a number of things that we've worked on in the last six months. I promise...
  • what trains are for
    Today I had to go to Milan .. and back .. by train. That's a total of eight hours planted in a moving seat. I won't explain why I ha...
  • #merweek
    Make · Play · Live' s website is counting down to ... ? As Dario Freddi  noted in his G+ stream today, the week of the 25th is shaping u...
  • Improv and KDE
    When I announced the Improv ARM computer  on Monday, I did it on my blog which is also syndicated to Planet KDE. That's because there is...
  • a network
    Before I get to the positive strides we're making forward with Spark, I want to first apologize for not having the pre-order registratio...
  • an afternoon of small things
    I spent the afternoon working with some very small computers that we picked up today from a local shop that specializes in electronic parts ...
  • Call to authors
    For the last couple months I've been quietly working on a publishing deal for KDE books. I now have a contract in hand and we're mak...
  • bodega: partners, aggregating audiences and YOU
    I did a quick screencast today showing what "partners" are in Bodega and how they work. It's one of the many ways that Bodega ...
  • Break even weeks on bugs.kde.org!
    KDE developers around the world: we're currently just 14 closed bug reports away from a break even week! As of right now 475 bugs have b...
  • quick notes on using review board effectively
    The Plasma team has been using review board for quite a while. We were the pioneering project within KDE for its use, in fact, which leads t...

Blog Archive

  • ▼  2013 (56)
    • ►  December (1)
    • ▼  November (9)
      • Improv and KDE
      • Introducing Improv
      • Kate has won
      • what trains are for
      • bodega: partners, aggregating audiences and YOU
      • #merweek
      • fewer "omg what did i just do?!" in plasma desktop...
      • panel.autohide = true
      • on introducing new ideas to free software communities
    • ►  October (4)
    • ►  June (3)
    • ►  May (8)
    • ►  April (3)
    • ►  March (11)
    • ►  February (11)
    • ►  January (6)
  • ►  2012 (49)
    • ►  December (1)
    • ►  November (8)
    • ►  October (5)
    • ►  September (4)
    • ►  May (7)
    • ►  April (5)
    • ►  March (2)
    • ►  February (11)
    • ►  January (6)
  • ►  2011 (93)
    • ►  December (3)
    • ►  November (4)
    • ►  October (2)
    • ►  September (7)
    • ►  August (18)
    • ►  July (11)
    • ►  June (3)
    • ►  May (10)
    • ►  April (15)
    • ►  March (7)
    • ►  February (3)
    • ►  January (10)
  • ►  2010 (105)
    • ►  December (1)
    • ►  November (8)
    • ►  October (5)
    • ►  September (8)
    • ►  August (11)
    • ►  July (6)
    • ►  June (6)
    • ►  May (5)
    • ►  April (7)
    • ►  March (10)
    • ►  February (16)
    • ►  January (22)
  • ►  2009 (167)
    • ►  December (2)
    • ►  November (8)
    • ►  October (16)
    • ►  September (10)
    • ►  August (9)
    • ►  July (9)
    • ►  June (18)
    • ►  May (10)
    • ►  April (26)
    • ►  March (12)
    • ►  February (16)
    • ►  January (31)
  • ►  2008 (30)
    • ►  December (19)
    • ►  November (11)
Powered by Blogger.

About Me

Unknown
View my complete profile