/neomoonfly

A dark color scheme for Vim

Primary LanguageVim ScriptMIT LicenseMIT

neomoonfly

neomoonfly is a fork of the moonfly theme created by bluz71. I take absolutely no credit for the vast majority of the theme: there are a couple of minor modifications made to accommodate for some of my personal preferences, but other than that, it's pretty much exactly the same. Because too many changes have been made to the original theme, this theme will NOT be receiving any updates the original moonfly does.

Sources of inspiration for the original moonfly theme include:

Sources of inspiration for neomoonfly include:

Although not even tangentially related to neomoonfly or moonfly, bluz71, the creator of moonfly, maintains another theme named nightfly, which is available here.

Screenshots

Check out some screenshots here.

Quickstart

Here's an example of getting neomoonfly set up. This configures all of the default options (you could omit all of lines starting with let and be completely fine) and sets the color scheme to neomoonfly.

let g:nmfCursorColor = 0
let g:nmfItalics = 1
let g:nmfNormalFloat = 0
let g:nmfTerminalColors = 1
let g:nmfTransparent = 0
let g:nmfUndercurls = 1
let g:nmfUnderlineMatchParen = 0
let g:nmfVertSplits = 1

let g:nmfCursorLine = 1
let g:nmfCursorColumn = 1

let g:nmfCursorLineColor = '#312a5e'
let g:nmfCursorColumnColor = '#312a5e'

let g:nmfCursorLineColorInsert = '#66292d'
let g:nmfCursorColumnColorInsert = '#66292d'

let g:nmfNormalBg = '#000000'
let g:nmfNormalFg = '#7de8aa'

let g:nmfLineNrBg = '#000000'
let g:nmfLineNrFg = '#00ffd9'

" if you use airline and want to use neomoonfly for airline:
let g:airline_theme = 'neomoonfly'

" set the color scheme to moonfly
color neomoonfly

" optionally, you could do:
" color neomoonflyext

Additional Configuration

neomoonfly adds a couple of "features," if you'll call them that, to the original moonfly. Those are as follows:

  • g:nmfCursorLine: 0 to disable cursor line, 1 to enable cursor line (1 by default)
  • g:nmfCursorColumn: 0 to disable cursor column, 1 to enable cursor column (1 by default)
  • g:nmfCursorLineColor: a hex color (ex. #00ff00), highlights the cursor's row/line when not in insert mode
  • g:nmfCursorColumnColor: a hex color (ex. #00ff00), highlights the cursor's column when not in insert mode
  • g:nmfCursorLineColorInsert: a hex color (ex. #00ff00), highlights the cursor's row/line when in insert mode
  • g:nmfCursorColumnColorInsert: a hex color (ex. #00ff00), highlights the cursor's column when in insert mode
  • g:nmfNormalBg: a hex color, default text background
  • g:nmfNormalFg: a hex color, default text foreground
  • g:nmfLineNrBg: a hex color, default line number background
  • g:nmfLineNrFg: a hex color, defualt line number foreground

neomoonflyext color scheme

Click here to learn more!

License

License: MIT