![]() As a workaround, you can use Alt+mouse to select the text without entering visual mode or simply remove this setting from your remote ~/.vimrc. With this option, any attempt to select something with the mouse will result in a visual mode selection which can't be copied with Cmd+ C. If the text you want to yank is not displayed entirely you won't be able to copy all of it. Obviously, it seems to be the easiest but it has at least three limitations: Select the text with your mouse and hit Cmd+ C like in any Mac OS X application. In order to copy a chunk of text from the remote Vim to your local machine's clipboard you have three options: The remote server and the remote Vim that you are running on it have zero practical knowledge of your local computer and its system clipboard.īecause of that, y will never put the yanked text in your local clipboard. ![]() ![]() When you are using Vim on a remote server via SSH, everything you do in Vim is done on the remote server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |