mirror of
https://github.com/jbowdre/dotfiles.git
synced 2024-12-24 21:22:18 +00:00
33 lines
728 B
Nix
33 lines
728 B
Nix
{
|
|
programs.nixvim = {
|
|
plugins.telescope = {
|
|
enable = true;
|
|
|
|
keymaps = {
|
|
# find files using telescope command-line sugar
|
|
"<leader>ff" = "find_files";
|
|
"<leader>fg" = "live_grep";
|
|
"<leader>b" = "buffers";
|
|
"<leader>fh" = "help_tags";
|
|
"<leader>fd" = "diagnostics";
|
|
|
|
# fzf like bindings
|
|
"<C-p>" = "git_files";
|
|
"<leader>p" = "oldfiles";
|
|
"<C-f>" = "live_grep";
|
|
};
|
|
|
|
settings.defaults = {
|
|
file_ignore_patterns = [
|
|
"^.git/"
|
|
"^.mypy_cache/"
|
|
"^__pycache__/"
|
|
"^output/"
|
|
"^data/"
|
|
"%.ipynb"
|
|
];
|
|
set_env.COLORTERM = "truecolor";
|
|
};
|
|
};
|
|
};
|
|
}
|