Le 10 juin 2017 à 08:22, Jacques a écrit :
Le 10/06/2017 à 04:36, Charles Plessy a écrit :Le Sat, Jun 10, 2017 at 12:38:16AM +0200, Pierre Malard a écrit :Par contre, j’ai un comportement très étrange avec le terminal Apple. Je ne
peux plus utiliser la sélection, ni le copier/coller. À chaque fois que je
sélectionne un texte sous NeoVIM cela passe en mode « VISUAL » et m’interdit
toute action autre que celle prévue dans ce mode. C’est exactement comme si
j’avais tapé un « v » et déplacé le curseur avec les flèches ! C’est un
mélange des genres entre les deux applications très dérangeantes et
pénalisantes.
Bonjour Pierre,
J'ai ça dans tous les terminaux: c'est la conséquence d'avoir l'option
`mouse=a` par défaut (via `/usr/share/vim/vim80/defaults.vim`):
- https://superuser.com/questions/436890/cant-copy-to-clipboard-from" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://superuser.com/questions/436890/cant-copy-to-clipboard-from-vim" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://superuser.com/questions/436890/cant-copy-to-clipboard-from" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://superuser.com/questions/436890/cant-copy-to-clipboard-from-vim
- https://stackoverflow.com/questions/4608161/copy-text-out-of-vim-w" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://stackoverflow.com/questions/4608161/copy-text-out-of-vim-with-set" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://stackoverflow.com/questions/4608161/copy-text-out-of-vim-w" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://stackoverflow.com/questions/4608161/copy-text-out-of-vim-with-set- mouse-a-enabled
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug7880
Bonne fin de semaine,
Charles
Bonjour,
Pour recupérer le copier/coller dans vim , creer ou completer le fichier
/etc/vim/vimrc.local (ou ~/.vim/vimrc) avec la ligne suivante:
let g:skip_defaults_vim = 1
D'après /usr/share/doc/vim/NEWS.Debian.gz:
Vim now ships with a defaults.vim file which, when the user has no
vimrc, enables some options that have historically been disabled by
default. This is described in more detail at ":help defaults.vim".
Since defaults.vim is loaded when the user's vimrc would typically be
loaded, it will override any settings in /etc/vim/vimrc(.local).
In order to disable the loading of defaults.vim, add
let g:skip_defaults_vim = 1
to /etc/vim/vimrc(.local).
Bon week-end
Jacques
Le 10 juin 2017 à 08:22, Jacques <jacques_debian@gwalarn.eu> a écrit :
Le 10/06/2017 à 04:36, Charles Plessy a écrit :
Le Sat, Jun 10, 2017 at 12:38:16AM +0200, Pierre Malard a écrit :
Par contre, j’ai un comportement très étrange avec le terminal Apple. Je ne
peux plus utiliser la sélection, ni le copier/coller. À chaque fois que je
sélectionne un texte sous NeoVIM cela passe en mode « VISUAL » et m’interdit
toute action autre que celle prévue dans ce mode. C’est exactement comme si
j’avais tapé un « v » et déplacé le curseur avec les flèches ! C’est un
mélange des genres entre les deux applications très dérangeantes et
pénalisantes.
Bonjour Pierre,
J'ai ça dans tous les terminaux: c'est la conséquence d'avoir l'option
`mouse=a` par défaut (via `/usr/share/vim/vim80/defaults.vim`):
- https://superuser.com/questions/436890/cant-copy-to-clipboard-from-vim
- https://stackoverflow.com/questions/4608161/copy-text-out-of-vim-with-set- mouse-a-enabled
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=837880
Bonne fin de semaine,
Charles
Bonjour,
Pour recupérer le copier/coller dans vim , creer ou completer le fichier
/etc/vim/vimrc.local (ou ~/.vim/vimrc) avec la ligne suivante:
let g:skip_defaults_vim = 1
D'après /usr/share/doc/vim/NEWS.Debian.gz:
Vim now ships with a defaults.vim file which, when the user has no
vimrc, enables some options that have historically been disabled by
default. This is described in more detail at ":help defaults.vim".
Since defaults.vim is loaded when the user's vimrc would typically be
loaded, it will override any settings in /etc/vim/vimrc(.local).
In order to disable the loading of defaults.vim, add
let g:skip_defaults_vim = 1
to /etc/vim/vimrc(.local).
Bon week-end
Jacques
Le 10 juin 2017 à 08:22, Jacques a écrit :
Le 10/06/2017 à 04:36, Charles Plessy a écrit :Le Sat, Jun 10, 2017 at 12:38:16AM +0200, Pierre Malard a écrit :Par contre, j’ai un comportement très étrange avec le terminal Apple. Je ne
peux plus utiliser la sélection, ni le copier/coller. À chaque fois que je
sélectionne un texte sous NeoVIM cela passe en mode « VISUAL » et m’interdit
toute action autre que celle prévue dans ce mode. C’est exactement comme si
j’avais tapé un « v » et déplacé le curseur avec les flèches ! C’est un
mélange des genres entre les deux applications très dérangeantes et
pénalisantes.
Bonjour Pierre,
J'ai ça dans tous les terminaux: c'est la conséquence d'avoir l'option
`mouse=a` par défaut (via `/usr/share/vim/vim80/defaults.vim`):
- https://superuser.com/questions/436890/cant-copy-to-clipboard-from" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://superuser.com/questions/436890/cant-copy-to-clipboard-from-vim" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://superuser.com/questions/436890/cant-copy-to-clipboard-from" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://superuser.com/questions/436890/cant-copy-to-clipboard-from-vim
- https://stackoverflow.com/questions/4608161/copy-text-out-of-vim-w" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://stackoverflow.com/questions/4608161/copy-text-out-of-vim-with-set" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://stackoverflow.com/questions/4608161/copy-text-out-of-vim-w" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">https://stackoverflow.com/questions/4608161/copy-text-out-of-vim-with-set- mouse-a-enabled
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug7880
Bonne fin de semaine,
Charles
Bonjour,
Pour recupérer le copier/coller dans vim , creer ou completer le fichier
/etc/vim/vimrc.local (ou ~/.vim/vimrc) avec la ligne suivante:
let g:skip_defaults_vim = 1
D'après /usr/share/doc/vim/NEWS.Debian.gz:
Vim now ships with a defaults.vim file which, when the user has no
vimrc, enables some options that have historically been disabled by
default. This is described in more detail at ":help defaults.vim".
Since defaults.vim is loaded when the user's vimrc would typically be
loaded, it will override any settings in /etc/vim/vimrc(.local).
In order to disable the loading of defaults.vim, add
let g:skip_defaults_vim = 1
to /etc/vim/vimrc(.local).
Bon week-end
Jacques