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

MilesAhead

Eclectician
Guru
Gold Member
Local time
3:58 PM
Messages
5,063
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:

My Computer My Computer

At a glance

Windows 7 32 bitAMD 5200+ dual core2 GBNVidia GeForce 6150SE 128 MB
Computer Manufacturer/Model Number
HP Media Center
OS
Windows 7 32 bit
CPU
AMD 5200+ dual core
Memory
2 GB
Graphics Card(s)
NVidia GeForce 6150SE 128 MB
Monitor(s) Displays
CRT
Screen Resolution
1280x1024
Hard Drives
500 GB Sata internal :

SIIG USB 3.0 docking stations w/WD Caviar Black 6 Gb/s drives
Keyboard
PS/2
Mouse
PS/2 Wheel Mouse
Other Info
SIIG USB 3.0 PCIexpress card.
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 My Computer

At a glance

Windows 7 Home Premium (64-bit) *** Windows X...AMD Athlon Neo X2 1.6GHz *** Intel Core i7 Qu...4.00 GB *** 4.00 GBATI Radeon HD 3200, 384MB *** ATI Radeon HD 4...
Computer Manufacturer/Model Number
HP Pavilion dm3 (netbook) *** 27" iMac (Dual-Boot)
OS
Windows 7 Home Premium (64-bit) *** Windows XP SP3 (32-bit), OSX 10.6
CPU
AMD Athlon Neo X2 1.6GHz *** Intel Core i7 Quad Core 2.8GHz
Memory
4.00 GB *** 4.00 GB
Graphics Card(s)
ATI Radeon HD 3200, 384MB *** ATI Radeon HD 4850, 1GB
Sound Card
ATI High Definition Audio *** ATI High Definition Audio
Monitor(s) Displays
LG Flatron W2053TX
Screen Resolution
1600 x 900 (monitor), 1266 x 768 (laptop) *** 2560 x 1440
Hard Drives
300 GB SATA (internal), 500 GB HP SimpleSave (external) *** 1 TB SATA (internal), 160 GB LaCie (external)
Mouse
Logitech Cordless Optical Mouse for Notebooks
Internet Speed
Broadband
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:

My Computer My Computer

At a glance

Windows 7 32 bitAMD 5200+ dual core2 GBNVidia GeForce 6150SE 128 MB
Computer Manufacturer/Model Number
HP Media Center
OS
Windows 7 32 bit
CPU
AMD 5200+ dual core
Memory
2 GB
Graphics Card(s)
NVidia GeForce 6150SE 128 MB
Monitor(s) Displays
CRT
Screen Resolution
1280x1024
Hard Drives
500 GB Sata internal :

SIIG USB 3.0 docking stations w/WD Caviar Black 6 Gb/s drives
Keyboard
PS/2
Mouse
PS/2 Wheel Mouse
Other Info
SIIG USB 3.0 PCIexpress card.
The keystroke math makes sense, but doesn't take into account frequency of errors. You actually stated my main issue:
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 My Computer

At a glance

Windows 7 Home Premium (64-bit) *** Windows X...AMD Athlon Neo X2 1.6GHz *** Intel Core i7 Qu...4.00 GB *** 4.00 GBATI Radeon HD 3200, 384MB *** ATI Radeon HD 4...
Computer Manufacturer/Model Number
HP Pavilion dm3 (netbook) *** 27" iMac (Dual-Boot)
OS
Windows 7 Home Premium (64-bit) *** Windows XP SP3 (32-bit), OSX 10.6
CPU
AMD Athlon Neo X2 1.6GHz *** Intel Core i7 Quad Core 2.8GHz
Memory
4.00 GB *** 4.00 GB
Graphics Card(s)
ATI Radeon HD 3200, 384MB *** ATI Radeon HD 4850, 1GB
Sound Card
ATI High Definition Audio *** ATI High Definition Audio
Monitor(s) Displays
LG Flatron W2053TX
Screen Resolution
1600 x 900 (monitor), 1266 x 768 (laptop) *** 2560 x 1440
Hard Drives
300 GB SATA (internal), 500 GB HP SimpleSave (external) *** 1 TB SATA (internal), 160 GB LaCie (external)
Mouse
Logitech Cordless Optical Mouse for Notebooks
Internet Speed
Broadband
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 My Computer

At a glance

Windows 7 32 bitAMD 5200+ dual core2 GBNVidia GeForce 6150SE 128 MB
Computer Manufacturer/Model Number
HP Media Center
OS
Windows 7 32 bit
CPU
AMD 5200+ dual core
Memory
2 GB
Graphics Card(s)
NVidia GeForce 6150SE 128 MB
Monitor(s) Displays
CRT
Screen Resolution
1280x1024
Hard Drives
500 GB Sata internal :

SIIG USB 3.0 docking stations w/WD Caviar Black 6 Gb/s drives
Keyboard
PS/2
Mouse
PS/2 Wheel Mouse
Other Info
SIIG USB 3.0 PCIexpress card.
Back
Top