I would like to have two features in VIM
- Mouse Cursor Movement
- Paste from global clipboard with middle mouse
For the first feature I can set
mouse=a and the second
Separately these features work but not together.
If I set
- mouse cursor move [OK]
- middle button mouse paste using information selected within vim [OK]
- middle button mouse paste using information selected from external app [FAIL]
Is it possible to get these feature in same time without install extra applications /packages ?
$ vim --version | grep clipboard
-clipboard +iconv +path_extra -toolbar
+eval +mouse_dec +startuptime -xterm_clipboard
Thanks for your help
Edit I was told that I can use shift+middle mouse button to paste from external selection. This could do the job, if there was a way to merge both internal and external buffer (selection). In such case how to enter in insert mode when shift+middle mouse button is used ?