Skip to content

Commit

Permalink
fix: adjusted config
Browse files Browse the repository at this point in the history
  • Loading branch information
fbosch committed Jun 19, 2024
1 parent b5c2085 commit 3a3a90a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .config/fish/profile.fish
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .config/nvim/lua/plugins/workflow/fzf.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
3 changes: 1 addition & 2 deletions .ripgreprc
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3a3a90a

Please sign in to comment.