Giter Club home page Giter Club logo

fittencode.vim's Introduction

Fitten Code Vim

Fitten Code AI Programming Assistant Vim Edition, helps you to use AI for automatic completion in vim, with support for functions like login, logout, shortcut key completion, and single file plugin, convenient for integration into your environment.

Fitten Code AI编程助手 Vim 版本,帮助您在vim中通过AI进行自动补全,支持功能:登录、登出、快捷键补全,单文件插件,方便集成到您的环境当中。

img

Install

# github install
mkdir -p ~/.vim/plugin
curl -o ~/.vim/plugin/fittencode.vim https://raw.githubusercontent.com/fittentech/fittencode.vim/master/plugin/fittencode.vim

# gitee install 
mkdir -p ~/.vim/plugin
curl -o ~/.vim/plugin/fittencode.vim https://gitee.com/fittentech/fittentech.vim/raw/master/plugin/fittencode.vim

Usage

If you haven't registered yet, please click here to register.

After registration, enter :Fittenlogin <username> <passwd> in vim command line to login. After successful login, press <C-L> to toggle completion and <TAB> to accept the completion. You can also modify the shortcut key binding in the fittencode.vim file to your preferred completion shortcut.

如果您还没注册,请先点击这里注册。

注册完成后,在vim命令行输入:Fittenlogin <username> <passwd>登录;登录成功后,按下<C-L>即可弹出补全提示,按下 <TAB> 键完成补全,您也可以修改fittencode.vim文件的快捷键绑定,改为自己习惯的补全快捷键。

# Intelligent completion example for input code
def calculate_area(radius):
    return 3.14 * radius ** 2

# Intelligent prompt example when the cursor is on the function name and the shortcut key is pressed
calculate_area(|)

You can also enter :Fittenlogout to log out.

您还可以输入:Fittenlogout登出。

fittencode.vim's People

Contributors

lzhengning avatar luozhiya avatar cjld avatar

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.