Git Product home page Git Product logo

chewbakartik / onenord.nvim Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rmehri01/onenord.nvim

0.0 1.0 0.0 88 KB

๐Ÿ”๏ธ A Neovim theme that combines the Nord and Atom One Dark color palettes for a more vibrant programming experience. Work all done by rmehri01. This is to mitigate installation issues resulting from default branch being main vs master.

License: MIT License

Lua 100.00%

onenord.nvim's Introduction

๐Ÿ”๏ธ onenord.nvim

Screenshot of the onenord theme

Features

Onenord is a Neovim theme written in Lua that combines the Nord and Atom One Dark color palettes. More specifically, it seeks to add more vibrance to the Nord theme and provide a great programming experience by leveraging Treesitter!

Plugin Support

Requirements

  • Neovim >= 0.5.0

Installation

Install via your favourite package manager:

" If you are using Vim Plug
Plug 'rmehri01/onenord.nvim', { 'branch': 'main' }
-- If you are using Packer
use 'rmehri01/onenord.nvim'

Usage

Enable the colorscheme:

" Vim Script
colorscheme onenord
-- Lua
vim.cmd [[colorscheme onenord]]

To enable the onenord theme for Lualine, simply specify it in your lualine settings:

require('lualine').setup {
  options = {
    -- ... your lualine config
    theme = 'onenord'
    -- ... your lualine config
  }
}

Configuration

The configuration of different options is done through a setup function:

require('onenord').setup()

This is an example of the function with the default values:

require('onenord').setup({
  borders = true, -- Split window borders
  italics = {
    comments = false, -- Italic comments
    strings = false, -- Italic strings
    keywords = true, -- Italic keywords
    functions = false, -- Italic functions
    variables = false, -- Italic variables
  },
  disable = {
    background = false, -- Disable setting the background color
    cursorline = false, -- Disable the cursorline
    eob_lines = true, -- Hide the end-of-buffer lines
  },
  custom_highlights = {}, -- Overwrite default highlight groups
})

Here is an example of overwriting the default highlight groups:

local colors = require("onenord.colors")

require("onenord").setup({
  custom_highlights = {
    TSConstructor = { fg = colors.dark_blue },
  },
})

You can also use the onenord color palette for other plugins using local colors = require("onenord.colors")!

Extras

Extra color configs for Kitty, Alacritty, and iTerm can be found in extras. To use them, refer to their respective documentation.

An example of the Kitty onenord theme

Credits

I was highly inspired by these other awesome themes, check them out!

onenord.nvim's People

Contributors

rmehri01 avatar

Watchers

James Cloos avatar

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.