mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-06 23:34:35 +02:00
plugins/telescope/advanced-git-search: init
This commit is contained in:
parent
757e02a183
commit
99a2f96cf0
4 changed files with 75 additions and 0 deletions
|
@ -0,0 +1,57 @@
|
|||
{
|
||||
empty = {
|
||||
plugins = {
|
||||
telescope = {
|
||||
enable = true;
|
||||
extensions.advanced-git-search.enable = true;
|
||||
};
|
||||
web-devicons.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
defaults = {
|
||||
plugins = {
|
||||
web-devicons.enable = true;
|
||||
telescope = {
|
||||
enable = true;
|
||||
|
||||
extensions.advanced-git-search = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
browse_command = "GBrowse {commit_hash}";
|
||||
diff_plugin = "fugitive";
|
||||
git_flags = [ ];
|
||||
git_diff_flags = [ ];
|
||||
git_log_flags = [ ];
|
||||
show_builtin_git_pickers = false;
|
||||
|
||||
entry_default_author_or_date = "author";
|
||||
keymaps = {
|
||||
toggle_date_author = "<C-w>";
|
||||
open_commit_in_browser = "<C-o>";
|
||||
copy_commit_hash = "<C-y>";
|
||||
show_entire_commit = "<C-e>";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
example = {
|
||||
plugins = {
|
||||
web-devicons.enable = true;
|
||||
telescope = {
|
||||
enable = true;
|
||||
|
||||
extensions.advanced-git-search = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue