Skip to content

embark-theme/vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Embark Logo

An ambitious Vim theme.

Man cannot discover new oceans unless he has the courage to lose sight of the shore.
- Andre Gide

Embark Screenshot


Getting Started

Important

At this time only terminals supporting truecolors will work. Make sure you have termguicolors enabled.

For Vimscript: set termguicolors

For Lua (Neovim): vim.o.termguicolors = true

First install using your plugin manager. Don't forget to change the plugin name to embark using your plugin manager's capabilities.

lazy.nvim

{
  'embark-theme/vim',
  lazy = false,
  priority = 1000,
  name = 'embark'
}

paq-nvim

require('paq') {
  { 'embark-theme/vim', as = 'embark' }
}

vim-plug

Plug 'embark-theme/vim', { 'as': 'embark', 'branch': 'main' }

Then set embark as your colorscheme.

Vimscript:

colorscheme embark

Lua (Neovim):

vim.cmd.colorscheme('embark')

Tip

For lazy.nvim users the colorscheme can be set up in the config callback:

{
  'embark-theme/vim',
  lazy = false,
  priority = 1000,
  name = 'embark',
  config = function()
    vim.cmd.colorscheme('embark')
  end
}

Lightline support

A lightline theme is also available. Just set your colorscheme to 'embark'.

Vimscript:

let g:lightline = {
      \ 'colorscheme': 'embark',
      \ }

Lua (for Neovim):

vim.g.lightline = {
  colorscheme = 'embark'
}

Airline support

Airline should just pick up on the theme automatically. If not you can set manually:

Vimscript:

let g:airline_theme = 'embark'

Lua (for Neovim):

vim.g.airline_theme = 'embark'

Lualine support

For Neovim users, Lualine should pick up the theme with the auto setting. If not you can set it manually:

require('lualine').setup {
  options = {
    theme = 'embark'
  }
}

Configuration

Embark offers a few configuration values to control features. Setting values to 1 will turn the feature on.

Italics - Make sure your terminal is set up to handle them. See this for help getting italics and true color working in your terminal.

Vimscript:

let g:embark_terminal_italics = 1

Lua (for Neovim):

vim.g.embark_terminal_italics = 1

See other available ports at https://embark-theme.github.io/