Note: fix before installing on new device

Main
Johannes Hendrik Gerard van der Weide 2024-04-09 15:19:29 +02:00
parent cc024161bf
commit 82b3939b4d
5 changed files with 114 additions and 7 deletions

View File

@ -1,7 +1,8 @@
{ {
imports = [ imports = [
./extraLua.nix ./startup.nix
./telescope.nix
./lsp.nix ./lsp.nix
./colorScheme.nix ./colorScheme.nix
]; ];

View File

@ -1,6 +0,0 @@
{
extraConfigLua = ''
vim.api.nvim_command('set number')
print("Welcome to Vim, Hertog! :3")
'';
}

View File

@ -0,0 +1,10 @@
{
plugins.telescope = {
enable = true;
extensions = {
filebrowser = {
enable = true;
};
};
};
}

97
programs/vim/startup.nix Normal file
View File

@ -0,0 +1,97 @@
{
plugins.startup = {
enable = true;
extraOptions= {
keygen_church = {
type = "text";
title = "PRAISE THE CODE";
defaultColor = "#FF0000";
highlight = "";
margin = 5;
align = "center";
content = [
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
];
oldfilesAmount = 0;
};
praise = {
type = "text";
content = ["PRAISE THE CODE"];
align = "center";
highlight = "";
defautlColor = "#CCCCCC";
};
piano = {
type = "text";
align = "center";
highlight = "";
defaultColor = "#FF0000";
content = [
""
""
];
};
body = {
type = "mapping";
align = "center";
foldSection = false;
title = "Commands";
margin = 0;
content = [
[ "READ AS IS WRITTEN" "Telescope find_files" "<leader>f" ] # Requires telescope
[ "THE OLD CODE REMAINS" "Telescope oldfiles" "<leader>r" ] # Requires telescope
[ "WANDER THROUGH THE ARCHIVES" "Telescope file_browser" "<leader>b" ] # Requires telescope and file_browser
[ "REMEMBER ALL THAT HAS BEEN" "Telescope git_commits" "<leader>l" ] # Requires telescope
[ "AWAIT ALL THAT WILL" "Telescope git_status" "<leader>s" ] # Requires telescope
[ "RECORD FOR THOSE TO COME" "lua require'startup'.new_file()" "<leader>n" ]
];
highlight = "";
default_color = "#BF0000";
};
options = {
mappingKeys = true;
disableStatuslines = true;
cursonColum = 0.5;
paddings = [ 10 1 1 0];
};
mappings = {
executeCommand = "<CR>";
openFile = "o";
openFileSplit = "<c-o>";
openSection = "<TAB>";
openHelp = "?";
};
colors = {
background = "#000000";
};
parts = [
"keygen_church"
"praise"
"body"
"piano"
];
};
};
}

View File

@ -0,0 +1,5 @@
{
plugins.telescope = {
enable = true;
};
}