Sublime Forum

[Proof Of Concept] Cut or Copy Text to Inactive View

#1

In response to this StackOverflow question:
How do I create a keyboard shortcut to move text from one open file to another
 

 



Features:

  • bidirectional copy & cut commands ( from active document to inactive document, works on either view )
  • selects & scrolls to inserted text @ inactive document
  • only executes if there are exactly 2 view groups
     


Code & More Info:

@ GitHub

2 Likes

#2

I saw that question and thought “that’s gonna get a decent @fico answer” and I was right :smiley:
admittedly I was expecting a “chain of command” solution or something instead though :wink:

1 Like