GithubHelp home page GithubHelp logo

tsubota-kouga / basilico Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 11.07 MB

GUI Extension of NeoVim in C++

License: MIT License

Vim Script 2.39% C++ 90.09% Python 4.83% Shell 0.74% CMake 1.95%
neovim vim gui basilico

basilico's Introduction

Basilico

GUI Extension for NeoVim in C++

Note:Only support Linux, it may not work on others.

Required

  • Neovim 0.3.2 or later

  • Qt5.7 or later

    • Qt Download

    • On Ubuntu18.04, default Qt version is 5.9 or later now

  • Boost Library

    • You can install Boost Library by using package manager

    • Required libboost-thread and libboost-system

    sudo apt install libboost-thread-dev libboost-system-dev
  • C++ compiler

    • compiler which can build c++17 such as clang, g++ etc (You will have one)
  • CMake

    sudo apt install cmake
  • Msgpack-c 2.0 or later

    cd path/to/anydir/
    git clone https://github.com/msgpack/msgpack-c
    cd msgpack-c
    mkdir build
    cd build && cmake .. && make
    make install
  • Jinja2

    pip install jinja2

You can install with this

Install

If you have dein.vim, you can write on your dein.toml

[[plugins]]
repo='tsubota-kouga/Basilico'
build='bash build.sh'

or write in init.vim

call dein#add('tsubota-kouga/Basilico')

Note: You can NOT write on your dein_lazy.toml

And make alias

alias basil='bash path/to/sh/basil'

Customize

You can customize, whether use gui tabline or not. And if you use gui tabline, you can set Qt Style Sheet to tabline.

Note: To use Tabpage Plugin, g:basilico#ext_tabline must be v:true.

global val type default example
g:basilico#ext_tabline bool v:false v:true
g:basilico#tabline_style_sheet string '' 'background-color: #444444;'
command name explanation
BasilGenerate Genarate C++ header, source, and so on
BasilBuild Build Basilico

To Install Basilico Plugins, please do following

  1. add to dein.toml or init.vim

  2. start neovim

  3. execute BasilGenerate command

  4. execute BasilBuild command

Feature

  • Tabpage Plugin support

  • Dock Widget Plugin support

  • Multi Wide Charactor support

  • ext_tabline ui_option support

  • mouse support

Future

  • ext_multigrid ui_option support

  • Window Plugin support

  • cursor blinking support

  • vimscript Basilico GUI library

Licence

MIT Licence except neovim.cpp and img directory.

neovim.cpp directory has changed from original.

Original repository is here. Thanks!

nvim.png under img directory by Jason Long is licensed under the Creative Commons Attribution 3.0 Unported License.

basilico's People

Contributors

bfredl avatar tsubota-kouga avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

bfredl

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.