求问vim为何没有复制选项
Tofloor
poster avatar
liyongtoluck
deepin
2020-09-15 06:37
Author
本帖最后由 liyongtoluck 于 2020-9-15 20:08 编辑

我已经配置/etc/vim/vimrc文件,但是vim图形化下还是没有复制选项,网上也没查到原因,有人碰到过这个问题么?是问的图形化下如何解决这个问题,不是不会用快捷键。



Reply Favorite View the author
All Replies
liyongtoluck
deepin
2020-09-15 06:38
#1
另外ctrl+shift+c也不能进行复制
Reply View the author
观摩
deepin
2020-09-15 07:13
#2
我的配置

  1. vi ~/.vimrc


  2. set mouse=v
  3. set nu
  4. syntax enable
  5. syntax on

  6. " 用空格代替tab键
  7. set tabstop=4
  8. set softtabstop=4
  9. set shiftwidth=4
  10. set expandtab

  11. set autoindent
  12. set ruler
  13. set cursorline
Copy the Code
Reply View the author
music_wei
deepin
2020-09-15 16:09
#3
vim 了还是尽量用全键盘操作
Reply View the author
Sun
deepin
2020-09-15 17:11
#4
VIM 快捷键: yy 复制当前行,p 粘贴.按 v 选择范围辅助
Reply View the author
liyongtoluck
deepin
2020-09-16 03:19
#5
https://bbs.deepin.org/post/202150
VIM 快捷键: yy 复制当前行,p 粘贴.按 v 选择范围辅助

但是既然是桌面模式,我还是想用鼠标
Reply View the author
liyongtoluck
deepin
2020-09-16 03:20
#6

你的图形化下的复制粘贴可用么
Reply View the author
阿措
deepin
2020-09-16 03:35
#7
去看vim教程,键盘比鼠标快多了,复制是,在命令模式下,yy(复制光标那一行),2yy(光标向下两行)
Reply View the author
oh-my-deepin
deepin
2020-09-16 06:44
#8
选中要复制的内容后,按快捷键"+y
复制到系统剪切板
Reply View the author