Init commit
This commit is contained in:
45
config/config.nix
Normal file
45
config/config.nix
Normal file
@@ -0,0 +1,45 @@
|
||||
{
|
||||
colorschemes.catppuccin.enable = true;
|
||||
globals = {
|
||||
mapleader = " ";
|
||||
};
|
||||
opts = {
|
||||
number = true;
|
||||
relativenumber = true;
|
||||
spell = true;
|
||||
spellfile = "~/.config/nvim/spell/en.utf-8.add";
|
||||
shiftwidth = 2;
|
||||
};
|
||||
keymaps = [
|
||||
{
|
||||
mode = "n";
|
||||
key = "<leader>s";
|
||||
action = "[s";
|
||||
}
|
||||
{
|
||||
mode = "n";
|
||||
key = "<leader>S";
|
||||
action = "]s";
|
||||
}
|
||||
{
|
||||
mode = "n";
|
||||
key = "<leader>z";
|
||||
action = "z=";
|
||||
}
|
||||
{
|
||||
mode = "n";
|
||||
key = "<leader>Z";
|
||||
action = "1z=";
|
||||
}
|
||||
{
|
||||
mode = "n";
|
||||
key = "<leader>N";
|
||||
action = ":bprev<CR>";
|
||||
}
|
||||
{
|
||||
mode = "n";
|
||||
key = "<leader>n";
|
||||
action = ":bnext<CR>";
|
||||
}
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user