space space -> pick a file in project space b -> pick a buffer space ' -> pick a mark space ? -> search all keyboard shortcuts space ff -> file fuzzy space fg -> file grep (you can access regex search from within these two) (space fg then ctrl+q is helpful) there are many other cute FzfLua menus, such as git_bcommits. but these aren't useful enough on their own to warrent a dedicated key. you wont remember them. but you can remember space tab to open the meta search to search the search providers. i low-key want to use this one at load, so i made it very easy to trigger. space tab bcom enter for example.
14 lines
335 B
Bash
Executable file
14 lines
335 B
Bash
Executable file
#!/bin/sh
|
|
username="$(id -u -n)"
|
|
if [ "$username" = "clo" ]; then
|
|
name="clover"
|
|
elif [ "$username" = "nmarks" ]; then
|
|
name="natalie"
|
|
elif [ "$username" = "fish" ]; then
|
|
name="fish"
|
|
fi
|
|
if [ -z "$name" ]; then
|
|
echo "Configure this wrapper script with your name." >&2
|
|
exit 1
|
|
fi
|
|
exec nix run "$(dirname "$0")#nvim-$name" -- "$@"
|