Comments (5)
您好,可以发个gif么?
from vime.
您好,可以发个gif么?
ctrl+k 是像后翻页,按照赵大的coc里面设置的,设置方法如下:
if has('nvim') || has('patch-8.2.0750')
nnoremap <silent><nowait><expr> <C-k> coc#float#has_scroll() ? coc#float#scroll(1) : "\<C-f>"
nnoremap <silent><nowait><expr> <C-j> coc#float#has_scroll() ? coc#float#scroll(0) : "\<C-b>"
inoremap <silent><nowait><expr> <C-k> coc#float#has_scroll() ? "\<c-r>=coc#float#scroll(1)\<cr>" : "\<Right>"
inoremap <silent><nowait><expr> <C-j> coc#float#has_scroll() ? "\<c-r>=coc#float#scroll(0)\<cr>" : "\<Left>"
vnoremap <silent><nowait><expr> <C-k> coc#float#has_scroll() ? coc#float#scroll(1) : "\<C-f>"
vnoremap <silent><nowait><expr> <C-j> coc#float#has_scroll() ? coc#float#scroll(0) : "\<C-b>"
endif
实际中使用鼠标翻页也是和这个一样,如果不一直向后翻页,那么翻一下之后就会自动跳回的最前端.....
这里是我coc的设置: https://github.com/captainfffsama/vime/blob/my_own/config/plugins/coc.nvim.vim
from vime.
你好,我尝试了下,我这里没出现这个问题唉,可以正常的浏览,因为我目前在wayland下,所以录制的gif都是黑屏的,明天我换到x下面给你录个gif。
你可以尝试下赵大的c-j c-k的配置先去掉,看看还会出现这个问题么,我在keymap.vim中配置的c-j c-k c-h c-l是在窗口之间进行跳转。
如果还有问题的话,那你尝试下在插件列表中注释掉所有的插件,只留下coc这一个插件,看看是不是因为与其他插件冲突了。
from vime.
你好,我尝试了下,我这里没出现这个问题唉,可以正常的浏览,因为我目前在wayland下,所以录制的gif都是黑屏的,明天我换到x下面给你录个gif。
你可以尝试下赵大的c-j c-k的配置先去掉,看看还会出现这个问题么,我在keymap.vim中配置的c-j c-k c-h c-l是在窗口之间进行跳转。
如果还有问题的话,那你尝试下在插件列表中注释掉所有的插件,只留下coc这一个插件,看看是不是因为与其他插件冲突了。
您好,我仔细排查了一些...发现赵大提供的配置来设置coc浮窗翻页没啥问题...问题是:这一句au CursorHoldI * sil call CocActionAsync('showSignatureHelp')
和set updatetime=100
同时设置时,就会出现我这个问题= =|||... 目前我是将au CursorHoldI * sil call CocActionAsync('showSignatureHelp')
注解掉. 然后使用赵大的配置定义一些快捷键,就可以正常浏览翻页了
from vime.
嗯嗯
from vime.
Related Issues (20)
- 问问你这些依赖项咋安装的? HOT 1
- plugin 似乎没有加载 HOT 3
- 似乎在 startify 的Session 中无法使用 easymotion? HOT 5
- "然后打开neovim,执行:PlugInstall等待插件安装完毕即可!" HOT 1
- 请问使用的是哪款操作系统
- nvim-treesitter-textobjects.vim 时发生 错误 HOT 3
- 文件类型丢失 HOT 6
- load file 出現 error HOT 1
- Mac 系统安装问题 HOT 2
- 输入时经常会自动重复前面输入的文字 HOT 3
- Mac 下Option好像不能成功映射成ALT HOT 2
- roxma/vim-tmux-clipboard 导致 neovim中 yyp 换行丢失,建议disable HOT 2
- config/plugin_list.vim 文件是移动到 config/layers/下了吗? HOT 4
- 请问 笔记-可选插件 下的 移动光标 复制bpython内容是通过floaterm实现的吗 HOT 1
- Backspace 失效 HOT 3
- 请求支持“显示python源代码类列表” HOT 3
- git clone 下不知道怎么操作。。。
- [coc.vim] definition not found
- 在将插件加入~/.vimrc文件之后,使用vim来进入文件,界面并没有改变。即插件没有发生作用。
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vime.