Skip to content

Instantly share code, notes, and snippets.

View horseinthesky's full-sized avatar

Kirill Pletnev horseinthesky

View GitHub Profile
local utils = require "utils"
local appearance = require "appearance"
local icons = appearance.icons
local colors = appearance.colors
local mode_map = {
n = { "", "NORMAL" },
i = { "", "INSERT" },
ic = { "", "INSERT" },
R = { "", "REPLACE" },
@horseinthesky
horseinthesky / appearance.lua
Created February 24, 2023 15:20
Feline color/icon picker
local M = {}
M.icons = {
dos = "", -- e70f
unix = "", -- f17c
mac = "", -- f179
code = "", -- e000
paste = "", -- f691
dot = "", -- f62e
duck = "", -- f6e4
@horseinthesky
horseinthesky / feline.lua
Created February 24, 2023 15:19
feline configuration
local utils = require "utils"
local appearance = require "appearance"
local icons = appearance.icons
local colors = appearance.colors
local force_inactive = {
filetypes = {
"packer",
"Outline",
"alpha",
@horseinthesky
horseinthesky / galaxyline.lua
Last active July 12, 2022 06:30
galaxyline.lua
local gl = require "galaxyline"
local vcs = require "galaxyline.providers.vcs"
local condition = require "galaxyline.condition"
local devicons = require "nvim-web-devicons"
local utils = require "utils"
local appearance = require "appearance"
local icons = appearance.icons
local theme_map = appearance.color_map[vim.g.colors_name] or appearance.color_map["gruvbox"]
local colors = theme_map[vim.opt.background:get()] or theme_map["dark"]