Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Secure Shell

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-14-2012, 09:50 AM
dhahn dhahn is offline
Registered User
 
Join Date: Mar 2012
Posts: 2
Feature Request: Paste Special

I'm using version 6.6.3 (x64 build 412). I'd like to make a request for a "paste special" command that would convert X number of spaces to a tab in whatever text you are pasting.

Somewhere in settings, the user could specify the number of spaces that would be replaced.

Here's my use case. I'm often doing a lot of copying and pasting from one UNIX vi text file to another. When I do, it appears my tabs get converted to spaces when I paste. Something that starts...

if ($foo == 1) {
[TAB]if ($bar == 1 ) {
[TAB][TAB]print "Baz!";
[TAB]}
}

...becomes the following when copy/pasted using SecureCRT:

if ($foo == 1) {
[SPACE][SPACE][SPACE][SPACE][SPACE]if ($bar == 1 ) {
[SPACE][SPACE][SPACE][SPACE][SPACE][SPACE][SPACE][SPACE][SPACE][SPACE]print "Baz!";
[SPACE][SPACE][SPACE][SPACE][SPACE]}
}

By using a Paste Sepcial command, it would see five (in my example above) spaces, and make each of those a tab.

--drew
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 05:00 AM.