mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-15 11:44:32 +02:00
plugins/utils: move to by-name
This commit is contained in:
parent
faff32b9f1
commit
52f125679f
195 changed files with 2 additions and 102 deletions
|
@ -1,117 +0,0 @@
|
|||
{
|
||||
empty = {
|
||||
plugins.neoclip.enable = true;
|
||||
};
|
||||
|
||||
with-sqlite = {
|
||||
plugins.neoclip = {
|
||||
enable = true;
|
||||
|
||||
# This triggers the addition of `pkgs.vimPlugins.sqlite-lua` to `extraPlugins`
|
||||
settings.enable_persistent_history = true;
|
||||
};
|
||||
};
|
||||
|
||||
example = {
|
||||
plugins.neoclip = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
filter = null;
|
||||
preview = true;
|
||||
default_register = "\"";
|
||||
content_spec_column = false;
|
||||
on_paste.set_reg = false;
|
||||
keys = {
|
||||
telescope = {
|
||||
i = {
|
||||
select = "<cr>";
|
||||
paste = "<c-l>";
|
||||
paste_behind = "<c-h>";
|
||||
custom = { };
|
||||
};
|
||||
n = {
|
||||
select = "<cr>";
|
||||
paste = "p";
|
||||
paste_behind = "P";
|
||||
custom = { };
|
||||
};
|
||||
};
|
||||
fzf = {
|
||||
select = "default";
|
||||
paste = "ctrl-l";
|
||||
paste_behind = "ctrl-h";
|
||||
custom = { };
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
defaults = {
|
||||
plugins.neoclip = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
history = 1000;
|
||||
enable_persistent_history = false;
|
||||
length_limit = 1048576;
|
||||
continuous_sync = false;
|
||||
db_path.__raw = "vim.fn.stdpath('data') .. '/databases/neoclip.sqlite3'";
|
||||
filter = null;
|
||||
preview = true;
|
||||
prompt = null;
|
||||
default_register = "\"";
|
||||
default_register_macros = "q";
|
||||
enable_macro_history = true;
|
||||
content_spec_column = false;
|
||||
disable_keycodes_parsing = false;
|
||||
on_select = {
|
||||
move_to_front = false;
|
||||
close_telescope = true;
|
||||
on_paste = {
|
||||
set_reg = false;
|
||||
move_to_front = false;
|
||||
close_telescope = true;
|
||||
};
|
||||
on_replay = {
|
||||
set_reg = false;
|
||||
move_to_front = false;
|
||||
close_telescope = true;
|
||||
};
|
||||
on_custom_action = {
|
||||
close_telescope = true;
|
||||
};
|
||||
keys = {
|
||||
telescope = {
|
||||
i = {
|
||||
select = "<cr>";
|
||||
paste = "<c-p>";
|
||||
paste_behind = "<c-k>";
|
||||
replay = "<c-q>";
|
||||
delete = "<c-d>";
|
||||
edit = "<c-e>";
|
||||
custom = { };
|
||||
};
|
||||
n = {
|
||||
select = "<cr>";
|
||||
paste = "p";
|
||||
paste_behind = "P";
|
||||
replay = "q";
|
||||
delete = "d";
|
||||
edit = "e";
|
||||
custom = { };
|
||||
};
|
||||
};
|
||||
fzf = {
|
||||
select = "default";
|
||||
paste = "ctrl-p";
|
||||
paste_behind = "ctrl-k";
|
||||
custom = { };
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue