mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-25 21:24:59 +02:00
plugins/telescope: move to by-name
This commit is contained in:
parent
d07a9c78cc
commit
6debe9333f
19 changed files with 0 additions and 2 deletions
|
@ -1,43 +0,0 @@
|
|||
{
|
||||
empty = {
|
||||
plugins.telescope = {
|
||||
enable = true;
|
||||
extensions.undo.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
example = {
|
||||
plugins.telescope = {
|
||||
enable = true;
|
||||
|
||||
extensions.undo = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
use_delta = true;
|
||||
use_custom_command = [
|
||||
"bash"
|
||||
"-c"
|
||||
"echo '$DIFF' | delta"
|
||||
];
|
||||
side_by_side = true;
|
||||
vim_diff_opts.ctxlen = 8;
|
||||
entry_format = "state #$ID";
|
||||
time_format = "!%Y-%m-%dT%TZ";
|
||||
mappings = {
|
||||
i = {
|
||||
"<cr>" = "require('telescope-undo.actions').yank_additions";
|
||||
"<s-cr>" = "require('telescope-undo.actions').yank_deletions";
|
||||
"<c-cr>" = "require('telescope-undo.actions').restore";
|
||||
};
|
||||
n = {
|
||||
"y" = "require('telescope-undo.actions').yank_additions";
|
||||
"Y" = "require('telescope-undo.actions').yank_deletions";
|
||||
"u" = "require('telescope-undo.actions').restore";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue