Git Product home page Git Product logo

gonvim's Introduction

gonvim

                                   ____ _____  ____ _   __(_)___ ___ 
                                / __ `/ __ \/ __ \ | / / / __ `__ \
                               / /_/ / /_/ / / / / |/ / / / / / / /
                               \__, /\____/_/ /_/|___/_/_/ /_/ /_/ 
                              /____/                               

dashboard

Features

gonvim用作goide,针对go做了大量的配置,您可以用来作为您的主力生产工具(目前我用来代替goland,并且体验非常的好).
您也可以用来写cpp/rust/python语言,但是这些语言的体验可能不如成熟IDE(Jetbrain全家桶)那么好.它主要有如下特性

  • 代码补全(code complete)
  • 集成了folke/trouble.nvim来执行代码检查()
  • 集成了tree-sitter来语法高亮
  • 集成Dap来调试代码
  • snip代码块自动生成
  • 代码格式化(code format use lsp)
  • 更流畅的go package补全/ 通过gopls来补全package会有一些问题issue
  • 基于文件名称检索
  • 基于内容检索文件
  • Rust支持,支持在线检索安装Crate(类似Package管理)
  • Kubernetes支持,有些小伙伴可能对k8s相关的package版本比较懵,gonvim提供在线检索k8s所有package管理/安装
  • 支持给bookmarks 起别名(namedBookmarks)

(Optional)如果需要用到Kubernetes和Rust相关支持,需要安装pynvim ,操作方式如下:python3 -m pip install pynvim; 如果没有数据可以参考https://github.com/neovim/pynvim/pull/496来修改相关的文件(此为pynvim的一个bug,或者直接安装master 分支的pynvim)

(Option1)Docker Version

您可以用过docker方式下载提前编译好的gonvim来体验下(当然您需要提前安装好docker)

$ docker pull l0calh0st/gonvim:v1
$ docker run -it --rm l0calh0st/gonvim:v1 bash

(Option2)Install

gonvim requires Neovim 0.8.0.+
gonvim 建议neovim版本0.8以上版本,另外安装过程最好打开科学上网
If you have not install nvim, you can install it with https://github.com/neovim/neovim.

# 下载项目/clone this repo
$ git clone https://github.com/3Xpl0it3r/gonvim.git
# 建议备份原始nvim配置文件(如果您之前没有安装过nvim,这步可以省略)/back old neovim config
# mv  ~/.config/nvim  ${HOME}/.config/nvim_back  && rm  ~/.config/nvim/plugin/packer_compiled.lua
# ln -sv gonvim ~/.config/nvim
# nvim

失败情况下手动安装(you can install manually in case failure)
#手动安装packer(install packer)
$ git clone --depth 1 https://github.com/wbthomason/packer.nvim\\n ~/.local/share/nvim/site/pack/packer/start/packer.nvim
# 同步插件(recompile plugins)
$ nvim +PackerSync

# 更新Remote插件(这个用于支持rust和k8s相关功能)
$ nvim +UpdateRemotePlugins

Go binaries install and update

下面一些二进制程序需要被安装()

Usage

Default the leader key is set as 'space', you can find the function maps through press space key.
leader快捷键默认设置为,您可以在normal模式下按n键打开导航,另外您还可以通过查看文档来了解更详细的功能

The full documentation can be found at tutorial
完整文档如下tutorial

FAQ

If you have any question, you can ask me for free with email [email protected]
如果您遇到问题或者有任何问题,您可以提个issue或者通过[email protected]来联系我

Contributing

欢迎提意见或者PR
All PR or Issue all welcome.

License

The Apache License - see LICENSE for more details

gonvim's People

Contributors

3xpl0it3r avatar hoorayui 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.