diff --git a/.config/fish/profile.fish b/.config/fish/profile.fish index 665792f..eb97740 100644 --- a/.config/fish/profile.fish +++ b/.config/fish/profile.fish @@ -10,7 +10,7 @@ set -x RIPGREP_CONFIG_PATH "$HOME/.ripgreprc" set -U FZF_DEFAULT_COMMAND fd # set -U FZF_CTRL_T_COMMAND "$FZF_DEFAULT_COMMAND" # set -U FZF_OPEN_COMMAND "$FZF_DEFAULT_COMMAND" -set -U FZF_DEFAULT_OPTS "--ansi --type f --strip-cwd-prefix --follow --threads 4" +set -U FZF_DEFAULT_OPTS "--ansi --type f --strip-cwd-prefix --follow --threads 16" set -U FZF_FIND_FILE_COMMAND "$FZF_DEFAULT_COMMAND" set -U FZF_PREVIEW_FILE_CMD "bat --paging=never --color=always --style=numbers --line-range :100" set -U FZF_ENABLE_OPEN_PREVIEW 1 diff --git a/.config/nvim/lua/plugins/workflow/fzf.lua b/.config/nvim/lua/plugins/workflow/fzf.lua index 79a5aab..6b7e59e 100644 --- a/.config/nvim/lua/plugins/workflow/fzf.lua +++ b/.config/nvim/lua/plugins/workflow/fzf.lua @@ -43,10 +43,10 @@ return { local fzf = require("fzf-lua") fzf.setup({ winopts = { + height = 0.8, + width = 0.9, hl = { border = "rounded" }, - default = { - preview = "bat_async", - }, + preview = { "bat_async", flip_columns = 200 }, }, previewers = { builtin = { diff --git a/.ripgreprc b/.ripgreprc index 12391ab..5ceedb7 100644 --- a/.ripgreprc +++ b/.ripgreprc @@ -12,6 +12,5 @@ web:*.{html,css,js}* # Using glob patterns to include/exclude files or folders --glob=!{.git,node_modules}/* -# Because who cares about case!? --smart-case ---threads=4 +--threads=16