/terminal-dapp-ide

Terminal IDE Setup for Ethereum d-app and GO development

Primary LanguageVimL

Terminal-based Dev Environment for Solidity & Go

Includes ...

  1. vim-go bundle: a complete IDE for golang development, including highlight, auto complete, nerd tree filebrowsing, etc. (Credit to vim-go project: https://github.com/fatih/vim-go)
  2. vim solidity syntax highlightng & syntax check
  3. various vim tweaks, plugins (nerdtree, tagbar, auto complete, airline status bar, etc.) and color (default is "hybrid" colorscheme)
  4. tmux configuration

Cheatsheet

See here

Screenshot

Editing GO file with split screen (tmux) Coding in GO

Solidity: highlighting & Syntax check Solidity Highlighting & Syntax check

GO: Auto complete GO Auto complete

GO: Auto Syntax Check GO Syntax Check

Installation

  1. Git clone the repository and change directory to it

  2. Tmux Setup

    If your tmux file is empty, you could simply copy / overwrite it:

     cp tmux.conf ~/.tmux.conf
    
  3. Copy vim bundle

     cp -R vim_runtime ~/.vim_runtime
    
  4. Add to your vim init file

    If you don't want to overwrite your existing vim config, you could simply concatenate it:

     cat vimrc ~/.vimrc
    
  5. (Optional) Color theme

     mkdir -p ~/.vim/colors
    
     cp -R colors/* ~/.vim/colors