• Stars
    star
    272
  • Rank 151,235 (Top 3 %)
  • Language
    Vim Script
  • License
    MIT License
  • Created over 6 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Fibonacci Indentation for Vim.

vim-fibo-indent

Vim plugin that increases the spacing for each successive indentation according to the Fibonacci sequence.

vim-fibo-indent

Great for mathematicians and for people who like to avoid deep indentations. Supports 15 indentation levels, which should be more than enough even if you have a really wide display (though it can be increased for the extra brave).

Installation

You can easily install this Plugin with Pathogen or Vundle.

Configuration

Add this line to your .vimrc to disable this plugin:

let g:FiboIndentDisable=1

If for some reason you need more than 15 levels of indentation its depth can be set with:

let g:FiboMaxDepth=20

To disable Fibonacci formatting for a given filetype, use the following:

autocmd FileType SOME_FILETYPE let g:gFiboIndentDisable=1

Inspiration

The idea came from a Tweet made by @RichardWestenra.

How it works

This plugin wraps the original formatter defined for a filetype and modifies its indentation levels to match the Fibonacci sequence. It also sets tabstop=1 to use a single space for the basis of the indentation levels.

More Repositories

1

vim-disapprove-deep-indentation

ಠ_ಠ Vim plugin to disapprove deeply indented code. ಠ_ಠ
Vim Script
558
star
2

scott

Never debug a test again: Detailed failure reports and hassle free assertions for Java tests - Power Asserts for Java
Java
135
star
3

testing-in-bash

Bash test framework comparison
Shell
100
star
4

tracing-paper-sketching

Android App to copy images from the screen to physical paper.
JavaScript
15
star
5

time-admin

A simple web application for time tracking.
Scala
10
star
6

jvm-dynamic-optimizations-performance-test

Performance tests to demonstrate some of the profile-based (optimistic, speculative) optimizations performed by the JVM.
Java
7
star
7

bash-preprocessor

Bash Macros: replace snippets in a script file with their output
Shell
4
star
8

cucumber-gifreporter-experiment

Experiment to embed animated GIFs to Cucumber test reports.
Java
4
star
9

srtm-map-renderer

Java application to render SRTM data
Java
3
star
10

java-helpful-npe-demo

Java 14 Helpful NullPointerExceptions Demo
Java
2
star
11

unreal-engine-stealthgame-tutorial

A very simple single/multiplayer FPS game
C++
2
star
12

working-with-structured-data-in-java

Examples for updating, merging and comparing hierarchical data in Java, using Maps, POJOs and JsonStructures with Jackson, Apache Commons Lang, JSON-P and Guava.
Java
2
star
13

unreal-coop-shooter-game

C++
1
star
14

unreal-bullcowgame-tutorial

Word guessing terminal game in Unreal Engine 4
C++
1
star
15

AJAX-activity-indicator

This script adds onOpenGlobal and onDoneGlobal functions and numberOfOpenCalls property to XMLHttpRequest.
JavaScript
1
star
16

cucumber-attached-tests-example

Java
1
star
17

java-tutorials

Java Tutorials and Examples
Java
1
star
18

bash-jq-tutorial

Showcasing bash with jq by creating statistics based on the contents a dummy blog engine
TSQL
1
star