Skip to content

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

License

Notifications You must be signed in to change notification settings

caglartoklu/borlandp.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published