Getting all added while testing out oil getting stuff going
Some checks failed
gitea-deepak/nixconf/pipeline/head This commit looks good
testing nix stuff / nix (ubuntu-latest) (push) Failing after 8m13s

This commit is contained in:
Deepak Mallubhotla 2025-03-20 19:04:36 -05:00
parent 285308ff8c
commit 24437dcfa1
Signed by: deepak
GPG Key ID: 47831B15427F5A55
6 changed files with 46 additions and 8 deletions

18
flake.lock generated
View File

@ -365,6 +365,23 @@
"type": "github"
}
},
"nvim-web-devicons": {
"flake": false,
"locked": {
"lastModified": 1742215722,
"narHash": "sha256-JKOvXJr1s2lpP5aeRE7OC3IeOrF5uJxg/Tal3eScd6g=",
"owner": "nvim-tree",
"repo": "nvim-web-devicons",
"rev": "4c3a5848ee0b09ecdea73adcd2a689190aeb728c",
"type": "github"
},
"original": {
"owner": "nvim-tree",
"ref": "master",
"repo": "nvim-web-devicons",
"type": "github"
}
},
"parrot-nvim": {
"flake": false,
"locked": {
@ -446,6 +463,7 @@
"nixpkgs-24-05": "nixpkgs-24-05",
"nixpkgs-24-11": "nixpkgs-24-11",
"nomodoro": "nomodoro",
"nvim-web-devicons": "nvim-web-devicons",
"parrot-nvim": "parrot-nvim",
"sops-nix": "sops-nix",
"spaceport-nvim": "spaceport-nvim",

View File

@ -43,6 +43,7 @@
inputs.nixpkgs.follows = "nixpkgs";
};
# Custom Vim Plugins
cmp-vimtex = {
url = "github:micangl/cmp-vimtex/master";
flake = false;
@ -62,6 +63,11 @@
flake = false;
};
nvim-web-devicons = {
url = "github:nvim-tree/nvim-web-devicons/master";
flake = false;
};
zsh-completions = {
url = "github:zsh-users/zsh-completions/master";
flake = false;

View File

@ -147,7 +147,8 @@ in
cmp_luasnip
nvim-lspconfig
vim-vinegar
# vim-vinegar
oil-nvim
wiki-vim
vim-markdown
@ -180,6 +181,7 @@ in
pkgs.customVimPlugins.spaceport-nvim
pkgs.customVimPlugins.nomodoro
pkgs.customVimPlugins.parrot-nvim
pkgs.customVimPlugins.nvim-web-devicons
# syntax highlighting
vim-just

View File

@ -32,12 +32,16 @@
file = '\\v\\.(aux|bbl|blg|bcf|fdb_latexmk|fls|run.xml|tdo|toc|log|pdf)$'
}
${builtins.readFile ./spaceport.lua}
require('gitsigns').setup()
require("oil").setup()
-- load file browser
-- require("nvim-web-devicons").setup({})
-- load file browser and telescope
${builtins.readFile ./telescope.lua}
${builtins.readFile ./spaceport.lua}
-- color scheme
require("rose-pine").setup({})
require("kanagawa").setup({})
@ -236,11 +240,6 @@
vim.api.nvim_set_keymap("n", "<leader>ns", "<cmd>NomoStop<CR>", { noremap = true})
vim.api.nvim_set_keymap("n", "<leader>nm", "<cmd>NomoMenu<CR>", { noremap = true})
vim.api.nvim_set_keymap("n", "<leader>tt", "<cmd>Telescope<CR>", {noremap = true})
vim.api.nvim_set_keymap("n", "<leader>tg", "<cmd>Telescope live_grep<CR>", {noremap = true})
vim.api.nvim_set_keymap("n", "<leader>to", "<cmd>Telescope find_files<CR>", {noremap = true})
vim.api.nvim_set_keymap("n", "<leader>tb", "<cmd>Telescope file_browser<CR>", {noremap = true})
${builtins.readFile ./lualine.lua}
EOF

View File

@ -8,3 +8,10 @@ require("telescope").setup {
}
require("telescope").load_extension "file_browser"
require('telescope').load_extension('fzf')
vim.api.nvim_set_keymap("n", "<leader>tt", "<cmd>Telescope<CR>", {noremap = true})
vim.api.nvim_set_keymap("n", "<leader>tg", "<cmd>Telescope live_grep<CR>", {noremap = true})
vim.api.nvim_set_keymap("n", "<leader>to", "<cmd>Telescope find_files<CR>", {noremap = true})
vim.api.nvim_set_keymap("n", "<leader>tb", "<cmd>Telescope file_browser<CR>", {noremap = true})

View File

@ -27,6 +27,11 @@ let
name = "parrot-nvim";
};
nvimWebDeviconPlugin = prev.vimUtils.buildVimPlugin {
src = inputs.nvim-web-devicons;
name = "nvim-web-devicons";
};
zshCompletionPlugin = {
name = "zsh-completions";
src = inputs.zsh-completions;
@ -38,6 +43,7 @@ let
spaceport-nvim = spaceportNvimPlugin;
nomodoro = nomodoroNvimPlugin;
parrot-nvim = parrotNvimPlugin;
nvim-web-devicons = nvimWebDeviconPlugin;
};
customZshPlugins = {