Free Windows Text Editor that transposes last 2 characters typed on Co


  1. Posts : 5,092
    Windows 7 32 bit
       #1

    Free Windows Text Editor that transposes last 2 characters typed on Co


    I'm looking for a free Windows Text editor, other than XEmacs, that will transpose the last 2 characters typed when I press Control-t. I don't want to swap characters on either side of the cursor. It should be like this:

    I try to type the work "this" and get a typo and end up with "thsi" with the cursor or caret to the right of the 'i' so I hit Control-t and then I have "this" with the caret to the right of the 's' ready to keep on typing.

    For me this is my most frequent typo. But I find very few Windows editors have that transpose function. Seems like it should be standard like deleting a line of text.

    Anyone know of any?

    edit: I guess the ones that have the feature will swap the 2 characters as I've described if they are last on the line.. which is fine. The idea is when you realize you transposed the last 2 characters, hit Control-t and keep on typing. Seems like an obvious feature to me.
    Last edited by MilesAhead; 23 Jul 2010 at 13:15.
      My Computer


  2. Posts : 1,299
    Windows 7 Home Premium (64-bit) *** Windows XP SP3 (32-bit), OSX 10.6
       #2

    I can understand the feature being automated, but I've never heard of it being an assignable action, nor do I see the efficiency gain in typing Ctrl+t instead of just pressing Backspace x 3 and starting over...

    Walker
    Windows Outreach Team
      My Computer


  3. Posts : 5,092
    Windows 7 32 bit
    Thread Starter
       #3

    WalkerA WinTeam said:
    I can understand the feature being automated, but I've never heard of it being an assignable action, nor do I see the efficiency gain in typing Ctrl+t instead of just pressing Backspace x 3 and starting over...

    Walker
    Windows Outreach Team
    Enough people find it efficient to put it in Emacs and several other editors(including MS Visual Studio IDE programmer's editor. It takes too long for the IDE to load to use it as a general editor but the ^t comes in handy when coding.) You just don't see it much on Windows editors. At least not the free ones. Backspace twice then type the 2 characters is 4 keystrokes as opposed to ^t? I guess you don't touch type much.

    An AutoHotKey expert on donationcoder site provided me with a hack. It does reverse the last 2 characters typed on ^t but it's a one shot. Also doesn't work when the caret is between 2 characters as most editors do that have that feature. I get by with it for now. But I'd still like to find a general text editor for Windows that natively supports it, that's not Emacs. Just too much learning curve. I won't use it often enough to stop thinking about the key combos. Just feels too much like being on Linux when using Emacs.
    Last edited by MilesAhead; 25 Jul 2010 at 23:45. Reason: did the math
      My Computer


  4. Posts : 1,299
    Windows 7 Home Premium (64-bit) *** Windows XP SP3 (32-bit), OSX 10.6
       #4

    The keystroke math makes sense, but doesn't take into account frequency of errors. You actually stated my main issue:
    MilesAhead said:
    I won't use it often enough to stop thinking about the key combos
    I probably shouldn't have said anything. I type plenty, but it sounds like you're a programmer which I'm sure requires more precision and efficiency than the average typist. If we're equally accurate but you type faster and longer, it stands to reason you'll have more errors-per-unit-time than me. I can see why a tool like this would be helpful.

    Cheers,

    Walker
    Windows Outreach Team
      My Computer


  5. Posts : 5,092
    Windows 7 32 bit
    Thread Starter
       #5

    The "I won't use it" comment was about Emacs. I did Linux for awhile. Did several versions of Slackware and other distros.. custom kernels, modules, a little programming etc.. but the thing that really made it feel alien was the editors. I was so used to Windows type editors. The only time I could forget about the editing totally was when I used kylix since it was exactly the same as on Windows. But the ^t feature is one of the good things common on Linux. I don't know why it's not adopted more on Windows.

    Plus when you get those web sites where the wise ass swaps the characters you type, it's a lot easier to swap them back with ^t!!

    edit: btw vi type editor are very powerful but I tried them on Linux just enough where I was starting to get that jumping between edit and command mode, and I could see I had to stop or I'd lose my mind and go spastic typing 80 wpm as I lapsed into a coma. Too dangerous. :)
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 21:43.
Find Us