-
-
Save haryandb/a570a706ed20ad12093903ad6d8f33cf to your computer and use it in GitHub Desktop.
zsh functions I use for Helix / Flutter development
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function flutter-watch(){ | |
| tmux new-session \;\ | |
| send-keys 'flutter run --pid-file=/tmp/tf1.pid' Enter \;\ | |
| split-window -v \;\ | |
| send-keys 'npx -y nodemon -e dart -x "cat /tmp/tf1.pid | xargs kill -s USR1"' Enter \;\ | |
| resize-pane -y 5 -t 1 \;\ | |
| select-pane -t 0 \; | |
| } | |
| function hx-find(){ | |
| hx $(ag . | fzf | cut -d : -f 1,2) | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| theme = "tokyonight_storm" | |
| [editor] | |
| true-color = true # ssh compatibility | |
| line-number = "relative" | |
| mouse = false | |
| rulers = [80] | |
| shell = ["zsh", "-c"] | |
| bufferline = "multiple" | |
| [keys.normal] | |
| C-p = ["move_line_up", "scroll_up"] | |
| C-n = ["move_line_down", "scroll_down"] | |
| esc = ["collapse_selection", "keep_primary_selection"] | |
| [editor.cursor-shape] | |
| insert = "bar" | |
| normal = "block" | |
| select = "underline" | |
| [editor.file-picker] | |
| hidden = false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment