1
Fork 0

feat: working devicons and stuff

This commit is contained in:
Matei Adriel 2022-02-07 13:27:36 +02:00
parent 1b15804fea
commit 0de4c4c3be
4 changed files with 8 additions and 8 deletions

View file

@ -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

View file

@ -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";
}; };
}; };
} }

View file

@ -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?
]; ];
}; };
} }

View file

@ -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
]; ];