Saturday, October 8, 2016

After upgrade to vim8 paste with right mouse button from putty fails

Hello,
since I upgraded to Vim8 on my ArchLinux arm system, I cannot paste the clibboard content from within putty to vim. On my previous vim version, I had to enter the edit mode and could insert the clipboard content by clicking the right mouse button within putty (Win7). When I click the right mouse button, the status line will change from "-- INSERT --" to "-- (insert) VISUAL --" On the command line and in nano pasting still works, so I guess its a "new feature" of vim 8. What do I need to configure to get back the old behaviour ?

Environment:
Putty via Network from a Win7 System to a OrangePI PC device using ArchLinux arm.
Putty version 0.65 on Win7-64
VIM version 8.0.13
linux-armv7 4.7.6-1

Here te content of my /etc/vimrc:
-------------------------------------
" All system-wide defaults are set in $VIMRUNTIME/archlinux.vim (usually just
" /usr/share/vim/vimfiles/archlinux.vim) and sourced by the call to :runtime
" you can find below. If you wish to change any of those settings, you should
" do it in this file (/etc/vimrc), since archlinux.vim will be overwritten
" everytime an upgrade of the vim packages is performed. It is recommended to
" make changes after sourcing archlinux.vim since it alters the value of the
" 'compatible' option.

" This line should not be removed as it ensures that various options are
" properly set to work with the Vim-related packages.
runtime! archlinux.vim

" If you prefer the old-style vim functionalty, add 'runtime! vimrc_example.vim'
" Or better yet, read /usr/share/vim/vim74/vimrc_example.vim or the vim manual
" and configure vim to your own liking!
if has("syntax")
syntax on
endif

" Source a global configuration file if available
if filereadable("/etc/vim/vimrc.local")
source /etc/vim/vimrc.local
endif
if has("syntax")
syntax on
endif
set hidden
set history=100
set backspace=eol,start,indent
set whichwrap+=<,>,h,l
set smartcase
set hlsearch
"set showmatch
set mat=10
colorscheme desert
set background=dark
autocmd BufReadPost *
\ if line("'\"") > 0 && line("'\"") <= line("$") |
\ exe "normal! g`\"" |
\ endif

regards Rolf

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: