mirror of
https://github.com/youwen5/neovim-flake.git
synced 2024-11-28 12:13:51 -08:00
Compare commits
4 commits
570fddee2d
...
6ab1d3adfb
Author | SHA1 | Date | |
---|---|---|---|
6ab1d3adfb | |||
364788b99e | |||
09d61e726a | |||
5336f0bcc6 |
2 changed files with 35 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue