aboutsummaryrefslogtreecommitdiff
path: root/profile/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to 'profile/.bashrc')
-rw-r--r--profile/.bashrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/profile/.bashrc b/profile/.bashrc
index a6634bf..2f8e3ed 100644
--- a/profile/.bashrc
+++ b/profile/.bashrc
@@ -9,6 +9,12 @@ export PS1="\[$(tput bold)\]\[$(tput setaf 1)\][\[$(tput setaf 3)\]\u\[$(tput se
export PATH=$PATH:~/.vim/bin
shopt -s autocd
+source /usr/share/fzf/key-bindings.bash
+source /usr/share/fzf/completion.bash
+
+export FZF_DEFAULT_OPTS="--preview '(
+highlight -O ansi -l {} ||
+cat {} || tree -C {}) 2> /dev/null | head -200' --bind '?:toggle-preview'"
#Basic Aliases
alias v="vim"