Git Product home page Git Product logo

vimide's Introduction

VIMIDE

Shell script to prepare Vim and Tmux as a simple IDE'like code editor with focus on Vala language.

vimide

Description

  • Using Vundle as Vim plugin manager.
  • Focus on Vala language (adds syntax highlighting and support)
  • anjuta-tags / ctags (Check workaround)
  • Includes 2 additional colorschemes (valloric and github)
  • Installs powerline fonts
  • Installs tmux

Shortcut maps and bindings

Key Application Toggles
F2 Vi/Vim Nerdtree (Left side pane)
F3 Vi/Vim Line 80 marker
F4 Vi/Vim Tagbar (Right side pane)
F5 Vi/Vim Indentation markers
F6 Vi/Vim Space and Tab markers
F7 Vi/Vim Line numbers
F7 Tmux previous Window
F8 Tmux next Window
F9 Tmux new Window
F11 Tmux tmux split with zsh (Check) - Conflict with gnome terminal Fullscreen F11
F12 Tmux send-prefix (nested)

Tagbar workaround

It seems anjuta-tags isn't working so here is a workaround:

  • use ctags instead of anjuta-tags
  • edit (as shown below):
    • ~/.vim/bundle/tagbar/autoload/tagbar/types/ctags.vim
    • ~/.vim/bundle/tagbar/autoload/tagbar/types/uctags.vim

From:

if has_key(s:ctags_types, 'vala') || executable('anjuta-tags') <--- Change anjuta-tags 
  let type_vala = s:TypeInfo.New()
  let type_vala.ctagstype = 'vala' <------- Change vala
  let type_vala.kinds    
  ...

To:

if has_key(s:ctags_types, 'vala') || executable('ctags') <--- to ctags
  let type_vala = s:TypeInfo.New()
  let type_vala.ctagstype = 'c#'   <------- To C#
  let type_vala.kinds    
  ...

This will force C# as the language used. Not the best solution but works to some extent.

It will also complain on Plugin updates as changes are local...

Setup

Run the shell script setup.sh.

Powerline font

Set the terminal font to a powerline one. I've been using Droid Sans Mono Dotted for Powerline Regular 11

vimide's People

Contributors

phastmike avatar

Watchers

 avatar  avatar

vimide's Issues

Fedora 30 default vi/vim

Fedora has a minimal vi as default. To work we must type vim. I've fixed this a couple of times but did not include it in the script.

Include it or add a note.

setup needs a Enter key and no info output informing user

While reinstalling in Fedora 38, when reaching this point:

> Setup plugins via vundle...

The script seems to be paused/stalled. A Enter key press makes the script continue.

Adding that info to the screen will inform the user to do so

Error in color scheme

While running setup.sh on a new instance of Fedora 30 the script seems to freeze as no output goes to the console. The error is this:

Error detected while processing /home/******/.vimrc:
line  137:
E185: Cannot find color scheme 'valloric'

A workaround is to press Enter/Return key to advance.

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.