Compare commits

..

4 commits

2 changed files with 35 additions and 7 deletions

View file

@ -37,7 +37,17 @@
{
mode = "n";
action = ":CellularAutomaton make_it_rain<CR>";
key = "<leader>kys";
key = "<leader>mr";
options = {
silent = true;
noremap = true;
desc = "A mysterious surprise!";
};
}
{
mode = "n";
action = ":CellularAutomaton game_of_life<CR>";
key = "<leader>bruh";
options = {
silent = true;
noremap = true;
@ -64,6 +74,24 @@
desc = "Search previous and center screen, reopening folds";
};
}
{
mode = "n";
key = "<C-k>";
action = ":cnext<CR>zz";
options = {
noremap = true;
desc = "Go to next diagnostic";
};
}
{
mode = "n";
key = "<C-j>";
action = ":cprev<CR>zz";
options = {
noremap = true;
desc = "Go to previous diagnostic";
};
}
# The greatest remap of all time -- the primeagen
{
mode = [
@ -369,7 +397,7 @@
__raw = ''
function()
if vim.wo.diff then
vim.cmd.normal({']c', bang = true})
vim.cmd.normal({']g', bang = true})
else
require('gitsigns').nav_hunk('next')
end
@ -389,7 +417,7 @@
__raw = ''
function()
if vim.wo.diff then
vim.cmd.normal({'[c', bang = true})
vim.cmd.normal({'[g', bang = true})
else
require('gitsigns').nav_hunk('prev')
end

View file

@ -82,10 +82,10 @@
"4" = "<Leader>h4";
};
navFile = {
"1" = "<C-h>";
"2" = "<C-j>";
"3" = "<C-k>";
"4" = "<C-l>";
"1" = "<leader>j";
"2" = "<leader>k";
"3" = "<leader>l";
"4" = "<leader>;";
"5" = "<Leader>1";
"6" = "<Leader>2";
"7" = "<Leader>3";