mirror of
https://github.com/youwen5/neovim-flake.git
synced 2024-11-25 03:03:49 -08:00
Compare commits
No commits in common. "6ab1d3adfb4792cf3a95206ba23b5d80131c4aef" and "570fddee2d5b5b0ed1d13837cc4dbb6cbe567056" have entirely different histories.
6ab1d3adfb
...
570fddee2d
2 changed files with 7 additions and 35 deletions
|
@ -37,17 +37,7 @@
|
||||||
{
|
{
|
||||||
mode = "n";
|
mode = "n";
|
||||||
action = ":CellularAutomaton make_it_rain<CR>";
|
action = ":CellularAutomaton make_it_rain<CR>";
|
||||||
key = "<leader>mr";
|
key = "<leader>kys";
|
||||||
options = {
|
|
||||||
silent = true;
|
|
||||||
noremap = true;
|
|
||||||
desc = "A mysterious surprise!";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
{
|
|
||||||
mode = "n";
|
|
||||||
action = ":CellularAutomaton game_of_life<CR>";
|
|
||||||
key = "<leader>bruh";
|
|
||||||
options = {
|
options = {
|
||||||
silent = true;
|
silent = true;
|
||||||
noremap = true;
|
noremap = true;
|
||||||
|
@ -74,24 +64,6 @@
|
||||||
desc = "Search previous and center screen, reopening folds";
|
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
|
# The greatest remap of all time -- the primeagen
|
||||||
{
|
{
|
||||||
mode = [
|
mode = [
|
||||||
|
@ -397,7 +369,7 @@
|
||||||
__raw = ''
|
__raw = ''
|
||||||
function()
|
function()
|
||||||
if vim.wo.diff then
|
if vim.wo.diff then
|
||||||
vim.cmd.normal({']g', bang = true})
|
vim.cmd.normal({']c', bang = true})
|
||||||
else
|
else
|
||||||
require('gitsigns').nav_hunk('next')
|
require('gitsigns').nav_hunk('next')
|
||||||
end
|
end
|
||||||
|
@ -417,7 +389,7 @@
|
||||||
__raw = ''
|
__raw = ''
|
||||||
function()
|
function()
|
||||||
if vim.wo.diff then
|
if vim.wo.diff then
|
||||||
vim.cmd.normal({'[g', bang = true})
|
vim.cmd.normal({'[c', bang = true})
|
||||||
else
|
else
|
||||||
require('gitsigns').nav_hunk('prev')
|
require('gitsigns').nav_hunk('prev')
|
||||||
end
|
end
|
||||||
|
|
|
@ -82,10 +82,10 @@
|
||||||
"4" = "<Leader>h4";
|
"4" = "<Leader>h4";
|
||||||
};
|
};
|
||||||
navFile = {
|
navFile = {
|
||||||
"1" = "<leader>j";
|
"1" = "<C-h>";
|
||||||
"2" = "<leader>k";
|
"2" = "<C-j>";
|
||||||
"3" = "<leader>l";
|
"3" = "<C-k>";
|
||||||
"4" = "<leader>;";
|
"4" = "<C-l>";
|
||||||
"5" = "<Leader>1";
|
"5" = "<Leader>1";
|
||||||
"6" = "<Leader>2";
|
"6" = "<Leader>2";
|
||||||
"7" = "<Leader>3";
|
"7" = "<Leader>3";
|
||||||
|
|
Loading…
Reference in a new issue