telescope ignore node_modules

This commit is contained in:
Mans Ziesel 2023-07-14 10:21:42 +02:00
parent 995e6597d0
commit d9dbe0aea1
4 changed files with 51 additions and 3 deletions

View File

@ -72,6 +72,9 @@
python3
ansible
nodejs_20
exa
bat
cryptomator
];
services.nextcloud-client = {

View File

@ -4,9 +4,9 @@
programs.zsh = {
enable = true;
# autocd = true;
# dotDir = ".config/zsh";
# enableAutosuggestions = true;
# enableCompletion = true;
dotDir = ".config/zsh";
enableAutosuggestions = true;
enableCompletion = true;
shellAliases = {
l = "exa -l";
ssh = "TERM=xterm-256color ssh";

View File

@ -30,6 +30,19 @@
${pkgs.xorg.xrandr}/bin/xrandr --output DP-4 --rate 144.00 --size 1920x1080 --right-of HDMI-0 --primary --output HDMI-0 --auto
'';
# services.gnome.gnome-keyring.enable = true;
# security.pam.services = [
# { name = "gnome_keyring"
# text = ''
# auth optional ${gnome3.gnome_keyring}/lib/security/pam_gnome_keyring.so
# session optional ${gnome3.gnome_keyring}/lib/security/pam_gnome_keyring.so auto_start
#
# password optional ${gnome3.gnome_keyring}/lib/security/pam_gnome_keyring.so
# '';
# }
#];
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
@ -55,6 +68,12 @@
inetutils
];
# services.gnome3.gnome-keyring.enable = true;
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
home-manager = {
extraSpecialArgs = { inherit inputs; };
users = {

View File

@ -3,3 +3,29 @@ vim.keymap.set('n', '<leader>pf', builtin.find_files, {})
vim.keymap.set('n', '<leader>pg', builtin.live_grep, {})
vim.keymap.set('n', '<leader>pb', builtin.buffers, {})
vim.keymap.set('n', '<leader>ph', builtin.help_tags, {})
require('telescope').setup{
defaults = {
-- Default configuration for telescope goes here:
-- config_key = value,
file_ignore_patterns = {
"node_modules"
}
},
pickers = {
-- Default configuration for builtin pickers goes here:
-- picker_name = {
-- picker_config_key = value,
-- ...
-- }
-- Now the picker_config_key will be applied every time you call this
-- builtin picker
},
extensions = {
-- Your extension configuration goes here:
-- extension_name = {
-- extension_config_key = value,
-- }
-- please take a look at the readme of the extension you want to configure
}
}