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

https://github.com/s3rius/hypervim

hyper vim configuration.
https://github.com/s3rius/hypervim

Last synced: 5 months ago
JSON representation

hyper vim configuration.

Awesome Lists containing this project

README

          


Logo

Make your vim hyper flexible


Overview
Installation
Completion Engine
Shortcuts

# Overview

This vim configuration allows you to build your own flexible IDE.

![screenshot1](img/screenshot1.jpg)

![screenshot2](img/screenshot2.jpg)

![screenshot3](img/screenshot3.jpg)

# Installation

To install hyperVim automatically, you can run following:
**Note: ** this script works only for arch-based linux distros. To install on other systems you need to edit install.sh by changing pacman with your system package manager and change packages name if needed. After that you can run script as usual.

```bash
chmod 777 install.sh
./install.sh
```

# Completion engine

In hyperVim we using "YouCompleteMe" code completion engine made by Valloric

YCM engine supported languages:
* Go
* Rust
* C-family (C, C++, Objective-C, Objective-C++, CUDA)
* Python
* Go
* С#
* TypeScript
* Java
* and an omnifunc-based (Ruby, PHP e.t.c.)

To add new language code completition you need to recompile code completition engine.

```bash
cd ~/.vim/bundle/YouCompleteMe/
python3 install.py --java-compiler --...
```

Additional parameters listed in install.sh.

Full documentation can be found in source repository.

# Shortcuts

Editor shortcuts:

* `:tabe filename` - open file in new tab.
* `:spl filename` - open file in horizontal split view.
* `:vsp filename` - open file in vertical split view.

Navigation in split view:
* `Control + H` - navigate to the left split.
* `Control + J` - navigate to the bottom split.
* `Control + K` - navigate to the top split.
* `Control + L` - navigate to the right split.
* `Control + W + W` - navigate to the next split.

* `Control + M` - Open project tree-view.
* `Control + Shift + down_arrow_key` - next tab.
* `Control + Shift + up_arrow_key` - previous tab.
* `#gt` - switch to # tab.

projectTree shortcuts:

* `T` - open file in new tab
* `Shift + I` - show/hide hidden files.
* `Shift + T` - open file in new tab silently.
* `Shift + C` - set chosen directory as root dir.
* `S` - open item in split view.
* `R` - refresh tree.
* `M` - open menu.

While editing python file:

* ` + G` - go to the definition.
* `Control + Space` - show suggestions.

**Note:** -key can be set in ~/.vim_runtime/vimrcs/Vundle.