Code Monkey home page Code Monkey logo

Comments (4)

tenfyzhong avatar tenfyzhong commented on June 20, 2024

If the value of g:complete_parameter_mapping_goto_next/g:complete_parameter_mapping_goto_previous is empty, I will use the default value <m-n>/<m-p>. And then map them in the normal, insert ,select, visual mode. It will map in the normal mode too. It'll easy to jump to the next parameter when you are in the normal mode.

from completeparameter.vim.

tracyone avatar tracyone commented on June 20, 2024

好吧,还是说中文吧。

更新了。

不是空的。

我的意思是为啥我这样映射之后,ctrl-j和ctrl-k在一般模式下原来的映射也丢失了?

from completeparameter.vim.

tenfyzhong avatar tenfyzhong commented on June 20, 2024

当前使用了noremap的方式映射了普通模式、插入模式、选择模式、可视模式。所以普通模式下也是跳到下一个参数了。我提供一个配置来设置可以产生作用的模式吧。

from completeparameter.vim.

tenfyzhong avatar tenfyzhong commented on June 20, 2024

@tracyone 这个提交189ae08 已经支持对某些模式下才进行mapping,也可以直接checkout到develop分支。
增加了四个配置:
g:complete_parameter_goto_next_mode,g:complete_parameter_goto_previous_mode,g:complete_parameter_mapping_overload_down_mode,g:complete_parameter_mapping_overload_up_mode。给前两个设置值为iv就可以解决你的总是了。

let g:complete_parameter_goto_next_mode = 'iv'
let g:complete_parameter_goto_previous_mode = 'iv'

from completeparameter.vim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.