feat: working devicons and stuff
This commit is contained in:
parent
1b15804fea
commit
0de4c4c3be
|
@ -26,10 +26,10 @@ local bindings = {
|
||||||
function M.setup()
|
function M.setup()
|
||||||
for action, keybind in pairs(bindings) do
|
for action, keybind in pairs(bindings) do
|
||||||
-- Maps the keybind to the action
|
-- Maps the keybind to the action
|
||||||
mapSilent('n', keybind, "<cmd>lua require('telescope.builtint')." .. action .. "()<CR>")
|
mapSilent('n', keybind, "<cmd>lua require('telescope.builtin')." .. action .. "()<CR>")
|
||||||
end
|
end
|
||||||
|
|
||||||
require("telescope").setup {defaults = {mappings = {i = {["<C-h>"] = "which-key"}}}}
|
require("telescope").setup {defaults = {mappings = {i = {["<C-h>"] = "which_key"}}}}
|
||||||
end
|
end
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
|
|
@ -24,7 +24,7 @@ in
|
||||||
|
|
||||||
# transparent bg:)
|
# transparent bg:)
|
||||||
# background_opacity = 0.6;
|
# background_opacity = 0.6;
|
||||||
fonts.normal.family = "Source Code Pro";
|
fonts.normal.family = "Nerd Font Source Code Pro";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,8 +5,7 @@ let
|
||||||
name = "config-nvim";
|
name = "config-nvim";
|
||||||
src = ../../dotfiles/neovim;
|
src = ../../dotfiles/neovim;
|
||||||
};
|
};
|
||||||
in
|
in {
|
||||||
{
|
|
||||||
home-manager.users.adrielus.programs.neovim = {
|
home-manager.users.adrielus.programs.neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.neovim-nightly;
|
package = pkgs.neovim-nightly;
|
||||||
|
@ -45,6 +44,7 @@ in
|
||||||
nvim-treesitter # use treesitter for syntax highlighting
|
nvim-treesitter # use treesitter for syntax highlighting
|
||||||
startup-nvim # splash screen
|
startup-nvim # splash screen
|
||||||
vim-devicons # nice looking icons
|
vim-devicons # nice looking icons
|
||||||
|
plenary-nvim # async utility lib it seems?
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,9 +10,9 @@ in
|
||||||
fonts.fontconfig.enable = true;
|
fonts.fontconfig.enable = true;
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
# fira-code
|
fira-code
|
||||||
# fira-code-symbols
|
fira-code-symbols
|
||||||
# source-code-pro
|
source-code-pro
|
||||||
corefonts
|
corefonts
|
||||||
nerdfonts
|
nerdfonts
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue