【英文】Vim激活代码提示

Introduction

Activating code completion in Vim

Windows Keyboard

  • There is a special key on the Windows keyboard, located between the ctrl and alt keys, with a file icon. I refer to this key as the right mouse button replacement key.

  • Pressing this key in Vim can activate code completion.

Other Non-Windows Keyboards

  • On a Mac keyboard, there is no right mouse button replacement key, or you may prefer to activate code completion using the native method.

  • You can use ctrl+p to activate code completion and search for the previous suggestion.

  • You can use ctrl+n to activate code completion and search for the next suggestion.

Conclusion

References

博客园——罗松超 (Blog Garden - Luo Songchao)