darlingm / vim

Automatically exported from code.google.com/p/vim
0 stars 0 forks source link

set clipboard=autoselect,on windows os, it is not by default #275

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. On windows OS, vim in normal mode, to change the next text line: 

a_golf_ball - > - > - > - > |___________| -

to:

            - > - > - > - > |a_golf_ball| -

using 9 keystrokes:

ver *R<C-R>*<Esc>

2.On Windows, by default, these keystrokes does nothing.

3.But under the X11, with vim using the default settings, changing the line 
works !

What is the expected output? 

To change the line.

What do you see instead?

On windows it does nothing.

What version of the product are you using? On what operating system?
:ver
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Sep 20 2014 00:48:28)
MS-Windows 32-bit console version
Included patches: 1-453
Compiled by test_vim_user@system_win7_32bits
Huge version without GUI.  Features included (+) or not (-):
+acl             +comments        +ex_extra        +keymap          +multi_byte 
     +reltime         -tag_any_white   +vreplace
+arabic          +conceal         +extra_search    +langmap         +multi_lang 
     +rightleft       -tcl             +wildignore
+autocmd         +cryptv          +farsi           +libcall         -mzscheme   
     -ruby            -tgetent         +wildmenu
-balloon_eval    +cscope          +file_in_path    +linebreak       
-netbeans_intg   +scrollbind      -termresponse    +windows
-browse          +cursorbind      +find_in_path    +lispindent      +path_extra 
     +signs           +textobjects     +writebackup
++builtin_terms  +cursorshape     +float           +listcmds        -perl       
     +smartindent     +title           -xfontset
+byte_offset     +dialog_con      +folding         +localmap        
+persistent_undo -sniff           -toolbar         -xim
+cindent         +diff            -footer          -lua             -postscript 
     +startuptime     +user_commands   -xterm_save
+clientserver    +digraphs        -gettext         +menu            +printer    
     +statusline      +vertsplit       -xpm_w32
+clipboard       -dnd             -hangul_input    +mksession       +profile    
     -sun_workshop    +virtualedit
+cmdline_compl   -ebcdic          +iconv/dyn       +modify_fname    -python     
     +syntax          +visual
+cmdline_hist    +emacs_tags      +insert_expand   +mouse           -python3    
     +tag_binary      +visualextra
+cmdline_info    +eval            +jumplist        -mouseshape      +quickfix   
     +tag_old_static  +viminfo

Please provide any additional information below.
I found this for windows OS: 
Changing the clipboard parameter using the command 

:set clipboard=autoselect 

before modifying the line it works also on windows OS.

Original issue reported on code.google.com by Go.Zu...@gmail.com on 25 Oct 2014 at 10:25

GoogleCodeExporter commented 9 years ago
As documented in the help for 'clipboard', this is expected behavior.  The 
'clipboard' option's defaults are those that mimic the typical behavior of 
applications on those OSes, not those that best suit vimgolf.

Original comment by vega.james@gmail.com on 25 Oct 2014 at 10:40

GoogleCodeExporter commented 9 years ago
Thanks !

Original comment by Go.Zu...@gmail.com on 25 Oct 2014 at 10:52

GoogleCodeExporter commented 9 years ago

Original comment by chrisbr...@googlemail.com on 26 Oct 2014 at 7:41