Spacevim: Allow Ctrl-Shift-c and Ctrl-Shift-v to copy and paste, respectively, to the global clipboard

Created on 1 Jul 2017  ·  7Comments  ·  Source: SpaceVim/SpaceVim

SpaceVim is really quite excellent. However, one thing holding me back is the inability to access the system clipboard using the traditional Ctrl-Shift-c/v shortcuts.

Does a setting which toggles the access already exist? If not, adding this feature would be fantastic.

Most helpful comment

I see. After searching around a bit, I found ":set mouse=r" fixed my
problem. Thanks!

On Sat, Jul 1, 2017 at 2:24 AM, Wang Shidong notifications@github.com
wrote:

Closed #695 https://github.com/SpaceVim/SpaceVim/issues/695.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/SpaceVim/SpaceVim/issues/695#event-1146867340, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AOdgILHC68U-kA3c4wm3-Dzycn0M1dEoks5sJeYDgaJpZM4OLLb2
.

All 7 comments

In vim we can not use ctrl+shift+c. it mapping is handled by terminal. but in spacevim, you can use <Leader>y/p

in neovim only these are supported:

<S-...>     shift-key           *shift* *<S-*
<C-...>     control-key         *control* *ctrl* *<C-*
<M-...>     alt-key or meta-key     *META* *meta* *alt* *<M-*
<A-...>     same as <M-...>         *<A-*
<D-...>     command-key or "super" key  *<D-*

I see. After searching around a bit, I found ":set mouse=r" fixed my
problem. Thanks!

On Sat, Jul 1, 2017 at 2:24 AM, Wang Shidong notifications@github.com
wrote:

Closed #695 https://github.com/SpaceVim/SpaceVim/issues/695.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/SpaceVim/SpaceVim/issues/695#event-1146867340, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AOdgILHC68U-kA3c4wm3-Dzycn0M1dEoks5sJeYDgaJpZM4OLLb2
.

我懂了。经过一番搜索后,我发现“:set mouse = r”解决了我的问题。谢谢!
...
2017年7月1日星期六凌晨2:24,王世东@.*>写道:已关闭#695 < #695 >。 - 您收到此信息是因为您撰写了该帖子。直接回复此电子邮件,在GitHub上查看< #695(评论) >,或将线程静音< https://github.com/notifications/unsubscribe-auth/AOdgILHC68U-kA3c4wm3-Dzycn0M1dEoks5sJeYDgaJpZM4OLLb2 >。

how to change , if set mouse=r can solve , but I try add it to init.toml, but it is invalid.

@awking add into: ~/.SpaceVim.d/init.toml

[options]
...
bootstrap_before = "custom_init#before"

Then execute:

mkdir -p ~/.SpaceVim.d/autoload
cat <<EOF >>~/.SpaceVim.d/autoload/custom_init.vim
function! custom_init#before() abort
    set mouse=r
endf
EOF

@awking add into: ~/.SpaceVim.d/init.toml

[options]
...
bootstrap_before = "custom_init#before"

Then execute:

mkdir -p ~/.SpaceVim.d/autoload
cat <<EOF >>~/.SpaceVim.d/autoload/custom_init.vim
function! custom_init#before() abort
    set mouse=r
endf
EOF

thanks, solve so perfect, I will master add this to project.

@awking add into: ~/.SpaceVim.d/init.toml

[options]
...
bootstrap_before = "custom_init#before"

Then execute:

mkdir -p ~/.SpaceVim.d/autoload
cat <<EOF >>~/.SpaceVim.d/autoload/custom_init.vim
function! custom_init#before() abort
    set mouse=r
endf
EOF

This doesn't seem to work for me. Has anything changed?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jetm picture jetm  ·  5Comments

eperfect picture eperfect  ·  4Comments

s97712 picture s97712  ·  4Comments

linwaytin picture linwaytin  ·  4Comments

keai4le picture keai4le  ·  4Comments