Use esc to exit search, and now you have the selection in your clipboard.When your search term is selected, use cmd+c to copy the selection.Although it moves to the previous search result if one exists.Use shift+tab to expand your search to the previous word.Use tab to expand your search to the next word.Navigate until you are on the desired location.Use shift+enter to move to the previous search result.Use enter to move to the next search result.The following is a summary of this approach: I find it difficult to get right, as you cannot really afford any mistakes. To be honest, I don’t use this search copying approach very often. In addition, I found the shift+tab command cycled the selected search result, leading to some confusion. It works in a pinch, but if you mess up the amount of text in your selection, you basically have to restart the process. It is an interesting approach, to say the least:Įssentially, you initiate the search with cmd+f and you can use the enter and tab to move your selection around and to control how much of the text you want in your selection. So one approach to copying anything within the iTerm2’s session is to use the default search. We will cover others two in the sections that follow. The first one we’re not interested in as it’s the standard way to select and copy text.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |