Giter Club home page Giter Club logo

borlandp.vim's Introduction

borlandp.vim

borlandp.vim is a Vim colorscheme that looks like good old Borland IDEs, such as Turbo Pascal and Turbo C++.

Vim script page: https://www.vim.org/scripts/script.php?script_id=5827

It is based on borland.vim colorscheme by Yegappan Lakshmanan.

Screenshots

This colorscheme has been especially tested with curly-braced languages such as C++ and Java.

borlandp.vim on Vim on Windows 10 Editing a C File

borlandp.vim on Vim on Windows 10 Editing a Java File

Note that javadoc lines has been made less significant to focus on the code.

borlandp.vim on Vim on Windows 10 Editing a Python File

borlandp.vim on Vim on Windows 10 Editing a Pascal File

borlandp.vim on Vim on Windows 10 Editing a Markdown File

borlandp.vim on Vim on DOSBox

Original Borland C on DOSBox for Comparison

Options

If the original color is too blue or bright, the following options can be used to make the background darker, since the background color is customizable.

To do so, one of the following code snippets should be added to VIMRC, before the following line:

colorscheme borlandp

dark_blue background

let g:borlandp_bg = "dark_blue"

dark_gray background

let g:borlandp_bg = "dark_gray"

black background

let g:borlandp_bg = "black"

Restoring the original blue

Simply delete the let g:borlandp_bg = ".." line. The blue background can also be explicitely set:

let g:borlandp_bg = "borland_blue"

Source Files in Screenshots

Source code used in screenshots for C language: https://github.com/id-Software/DOOM/blob/master/linuxdoom-1.10/p_enemy.c

Source code used in screenshots for Java language: https://github.com/AXDOOMER/mochadoom/blob/master/src/doom/player_t.java

Source code used in screenshots for Python language: https://github.com/Pink-Silver/PyDoom/blob/master/pydoom/graphics.py

Source code used in screenshots for Pascal language: https://sourceforge.net/projects/fpcdoom/files/Source%20Code%20Snapshots/FPCDoom_Src_20190919.zip/download

Source code used in screenshots for Markdown file: https://github.com/AXDOOMER/mochadoom/blob/master/README.md

Font

The font used in the screenshots except DOS screenshot:

set gfn=PxPlus_IBM_VGA8:h14:cANSI:qDRAFT

It can be downloaded here: https://int10h.org/oldschool-pc-fonts/readme/

Also, the screen has been configured as follows in Vim:

set columns=80 lines=25

Installation

For Vundle users:

Plugin 'caglartoklu/borlandp.vim'

For all other users, simply drop the borlandp.vim file to your colors directory.

Usage

colorscheme borlandp

See Also

ftcolor.vim

ftcolor.vim is a Vim plugin that switches colorschemes according to the file type.

qbcolor.vim

qbcolor.vim is a Vim colorscheme that looks like good old Microsoft QuickBASIC.

borlandp.vim's People

Contributors

caglartoklu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

doytsujin

borlandp.vim's Issues

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.