diff vim-setup/start.sh @ 148:76cd7afa6b8e

[Configs] Updated configs and finally added ctags.
author June Park <parkjune1995@gmail.com>
date Sat, 10 Jan 2026 05:04:19 -0800
parents 5e6a5d3c6868
children
line wrap: on
line diff
--- a/vim-setup/start.sh	Fri Jan 09 13:45:29 2026 -0800
+++ b/vim-setup/start.sh	Sat Jan 10 05:04:19 2026 -0800
@@ -50,7 +50,21 @@
 " Neovim compatibility for Vim config
 set runtimepath^=~/.vim runtimepath+=~/.vim/after
 let &packpath = &runtimepath
-
 EOF
 
+# Being safe
 cat .vimrc >> ~/.config/nvim/init.vim
+
+if [[ "$(uname)" == "Darwin" ]]; then
+  echo "Assuming OS is mac"
+  echo "export FZF_DEFAULT_COMMAND='fd --type f --hidden --ignore-file .ignore'" >> ~/.zshrc
+  echo "export FZF_DEFAULT_OPTS='--bind \"ctrl-a:select-all,ctrl-d:deselect-all\"'" >> ~/.zshrc
+  echo "Re-run ~/.zshrc"
+else
+  echo "Assuming OS is linux"
+  echo "export FZF_DEFAULT_COMMAND='fd --type f --hidden --ignore-file .ignore'" >> ~/.bashrc
+  echo "export FZF_DEFAULT_OPTS='--bind \"ctrl-a:select-all,ctrl-d:deselect-all\"'" >> ~/.bashrc
+  echo "Re-run ~/.bashrc"
+fi
+
+