init
This commit is contained in:
commit
1e2ca5a6fc
71 changed files with 3330 additions and 0 deletions
88
config/default.nix
Normal file
88
config/default.nix
Normal file
|
|
@ -0,0 +1,88 @@
|
|||
{
|
||||
system,
|
||||
lib,
|
||||
variant,
|
||||
...
|
||||
}:
|
||||
{
|
||||
# Import all your configuration modules here
|
||||
imports =
|
||||
# custom plugins modules
|
||||
[
|
||||
# do not use it in nixpkgs-unstable
|
||||
# ./custom-modules/linediff/default.nix
|
||||
]
|
||||
++ [
|
||||
./TextYankPost.nix
|
||||
./RememberFoldAndView.nix
|
||||
./json-foldable.nix
|
||||
|
||||
# ./colorscheme/onedark.nix
|
||||
# ./colorscheme/gruvbox.nix
|
||||
./colorscheme/tokyonight.nix
|
||||
# ./colorscheme/transparency.nix # This is not required since scrollview bar transparency already fix in tokyonight.nix
|
||||
|
||||
./sets.nix
|
||||
./keymaps.nix
|
||||
|
||||
./plugins/fcitx-vim.nix
|
||||
# ./plugins/bufferline.nix
|
||||
./plugins/comment.nix
|
||||
./plugins/fugitive.nix
|
||||
./plugins/indent-blankline.nix
|
||||
./plugins/leap.nix
|
||||
# ./plugins/flash.nix
|
||||
# ./plugins/sleuth.nix
|
||||
./plugins/gitsigns.nix
|
||||
./plugins/which-key.nix
|
||||
./plugins/telescope.nix
|
||||
./plugins/mini.nix
|
||||
# ./plugins/neoscroll.nix # very slow sometime
|
||||
./plugins/oil.nix
|
||||
|
||||
./plugins/git-conflict.nix
|
||||
|
||||
./plugins/extra/vim-rhubarb.nix
|
||||
./plugins/extra/nvim-scrollview.nix
|
||||
./plugins/harpoon.nix
|
||||
./plugins/undotree.nix
|
||||
./plugins/lualine.nix
|
||||
|
||||
./plugins/lsp/lsp.nix
|
||||
./plugins/csvview-nvim.nix
|
||||
./plugins/nvim-jqx.nix
|
||||
|
||||
./plugins/linediff.nix
|
||||
]
|
||||
# Below plugins excluded in "nvim-nix-on-droid" and "nvim-lite"
|
||||
# Use "nvim --startuptime startuptime.log" to test which plugin slow down nvim startup
|
||||
++
|
||||
lib.optionals
|
||||
(
|
||||
variant == "full"
|
||||
|| variant == "normal"
|
||||
)
|
||||
[
|
||||
./plugins/cmp.nix
|
||||
./plugins/luasnip/luasnip.nix
|
||||
|
||||
# treesitter extremely slow in nix-on-droid
|
||||
./plugins/treesitter.nix
|
||||
]
|
||||
# Below plugins excluded in "nvim-nix-on-droid", "nvim-normal" and "nvim-lite"
|
||||
++
|
||||
lib.optionals
|
||||
(
|
||||
variant == "full"
|
||||
)
|
||||
[
|
||||
# https://github.com/nvim-tree/nvim-tree.lua
|
||||
# A File Explorer For Neovim Written In Lua
|
||||
./plugins/nvim-tree.nix
|
||||
|
||||
./plugins/neorg.nix
|
||||
./plugins/image.nix # enable only when "core.latex.renderer" in neorg is set
|
||||
# ./plugins/noice.nix #breaks :Neorg export dialogue
|
||||
./plugins/notify.nix
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue