Go Back   DaemonForums > Miscellaneous > Guides

Guides All Guides and HOWTO's.

Thread Tools Display Modes
  #1   (View Single Post)  
Old 11th May 2019
ripe's Avatar
ripe ripe is offline
Package Pilot
Join Date: Feb 2013
Location: France
Posts: 149
Default Dracula theme for Vim

A simple guide to use the dracula them on Vim.

Application: Vim is a text editor.
Theme: Dracula is a dark theme.

1) Install Vim, for me:
# pkg_add vim-8.1.1048-no_x11.tgz
You can learn to use vim by refering the documentation.

2) Download Dracula theme (you can use raw and save the file) and put it in colors directory of Vim.
Use root:
# mv /home/YOUR_USER/dracula.vim /usr/local/share/vim/vim81/colors/

3) In your home directory create a file with the name: .vimrc
$ touch .vimrc
Put inside this content:
syntax on
set termguicolors
colorscheme dracula
highlight Normal ctermbg=NONE
set number
set cindent
set visualbell
Visualbell. If you prefer sound bell, remove this line.
cindent for indenting as C language.
number for the numbering lines.
I noticed an issue so I use colorscheme dracula and highlight Normal ctermbg=NONE
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
stop in gnome-icon-theme jewsofeast NetBSD General 0 21st November 2010 12:15 PM
n00b question, installed theme via ports. How to use it? disappearedng FreeBSD General 1 25th June 2008 07:26 PM

All times are GMT. The time now is 02:44 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick