Skip to content

Commit

Permalink
add kanagawa again
Browse files Browse the repository at this point in the history
  • Loading branch information
Sathvik Birudavolu committed Jan 23, 2024
1 parent 5c705d0 commit a86126d
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 7 deletions.
18 changes: 13 additions & 5 deletions configs/nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,13 @@ require("lazy").setup({
end,
},

{
"rebelot/kanagawa.nvim",
config = function()
require("kanagawa").setup()
end,
},

{
"akinsho/bufferline.nvim",
dependencies = "nvim-tree/nvim-web-devicons",
Expand Down Expand Up @@ -254,13 +261,15 @@ require("lazy").setup({
action_callback = require("gitlinker.actions").open_in_browser,
print_url = true,
},
callbacks = {
["github.kensho.com"] = require("gitlinker.hosts").get_github_type_url,
},
mappings = "<leader>go",
})
end,
},

{ "sindrets/diffview.nvim"
},
{ "sindrets/diffview.nvim" },

-- tree-sitter for parsing, syntax highlighting and much more
{
Expand Down Expand Up @@ -301,8 +310,7 @@ require("lazy").setup({
},

-- Non-LSP language support (formatters mostly)
{ "nathangrigg/vim-beancount"
},
{ "nathangrigg/vim-beancount" },

{
"mhartington/formatter.nvim",
Expand Down Expand Up @@ -607,7 +615,7 @@ set.list = true
-- Setup autocmds

-- to change to light mode
vim.cmd([[colorscheme github_dark]])
vim.cmd([[colorscheme kanagawa]])

vim.keymap.set("n", "<leader>/", ":noh<CR>", { noremap = true, silent = true })

Expand Down
43 changes: 41 additions & 2 deletions home/alacritty.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Alacritty terminal
programs.alacritty.enable = true;

programs.alacritty.settings = {
programs.alacritty.settings = rec {
shell = {
program = "${pkgs.fish}/bin/fish";
args = [ "-c" "${pkgs.tmux}/bin/tmux attach || ${pkgs.tmux}/bin/tmux" ];
Expand Down Expand Up @@ -35,8 +35,47 @@
size = 15.0;
};

# Select the coloscheme
colors = kanagawa;

# Alabaster
# https://github.com/alacritty/alacritty-theme/blob/master/themes/alabaster.toml
alabaster = {
primary = {
background = "#F7F7F7";
foreground = "#434343";
};

cursor = {
text = "#F7F7F7";
cursor = "#434343";
};

normal = {
black = "#000000";
red = "#AA3731";
green = "#448C27";
yellow = "#CB9000";
blue = "#325CC0";
magenta = "#7A3E9D";
cyan = "#0083B2";
white = "#BBBBBB";
};

bright = {
black = "#777777";
red = "#F05050";
green = "#60CB00";
yellow = "#FFBC5D";
blue = "#007ACC";
magenta = "#E64CE6";
cyan = "#00AACB";
white = "#FFFFFF";
};
};

# Kanagawa Alacritty Colors
colors = {
kanagawa = {
primary = {
background = "0x1f1f28";
foreground = "0xdcd7ba";
Expand Down
2 changes: 2 additions & 0 deletions home/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@
diff-so-fancy# used for `git diff`
fq
jq
yq
tailspin
;

# Kensho stuff
Expand Down

0 comments on commit a86126d

Please sign in to comment.