An open API service indexing awesome lists of open source software.

https://github.com/phastmike/vimide

Vim and Tmux as a simple IDE
https://github.com/phastmike/vimide

vim vim-ide

Last synced: 2 months ago
JSON representation

Vim and Tmux as a simple IDE

Awesome Lists containing this project

README

        

# VIMIDE
Shell script to prepare **Vim** and **Tmux** as a simple **IDE**'like code editor with focus on [Vala](http://wiki.gnome.org/Projects/Vala) language.

![vimide](vimide.png "vimide")

## Description
- Using [Vundle](https://github.com/VundleVim/Vundle.vim) 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:

```vim
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:

```vim
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`