126
GitHub - nvie/vim-togglemouse: Toggles the mouse focus between Vim and your term...
source link: https://github.com/nvie/vim-togglemouse
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
vim-togglemouse
Installation
- Copy the file
plugin/toggle_mouse.vim
to your~/.vim/plugin
directory - There is no step 2.
Usage
Press <F12>
to toggle mouse focus between Vim and your terminal emulator,
allowing terminal emulator mouse commands, like copy/paste.
Toggling restores the Vim 'mouse' option value to its previous value.
Customization
If you don't want to use the <F12>
key for mouse toggling, remap it to
another key. It autodetects whether it has been remapped and won't register
the <F12>
key if so.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK