Compare commits

...

2 commits

Author SHA1 Message Date
Patrick 240ba11c28
fix: disable nix-index zsh integration 2024-04-13 14:24:32 +02:00
Patrick 3449b48e49
feat: nicer window picker 2024-04-13 14:24:32 +02:00
2 changed files with 22 additions and 3 deletions

View file

@ -25,9 +25,27 @@
extraConfigLuaPre = ''
require("onedark").load()
'';
extraConfigLuaPost = ''
vim.notify = require("notify")
'';
extraConfigLuaPost =
/*
lua
*/
''
vim.notify = require("notify")
require("window-picker").setup {
hint = "floating-big-letter",
filter_rules = {
bo = {
filetype = { "neo-tree", "neo-tree-popup", "notify", "quickfix" },
buftype = { "terminal", "quickfix", "prompt" },
},
},
floating_big_letter = {
font = "ansi-shadow",
},
selection_chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ",
show_prompt = false,
}
'';
};
home.sessionVariables.EDITOR = "nvim";
home.shellAliases.vim = "nvim";

View file

@ -22,6 +22,7 @@
programs.zoxide.enable = true;
programs.nix-index.enable = true;
programs.nix-index.enableZshIntegration = false;
programs.nix-index-database.comma.enable = true;
programs.zsh = {