diff options
author | Shipwreckt <shipwreckt@mailfence.com> | 2025-02-22 07:10:10 +0000 |
---|---|---|
committer | Shipwreckt <shipwreckt@mailfence.com> | 2025-02-22 07:10:10 +0000 |
commit | 971bbb74a02f83650c8cd0550fb91886c4d460fe (patch) | |
tree | d0d56e38ba28ddf37866ceb6b275ff5de48a0e40 /files/config/fish/config.fish | |
parent | 749b69e71e0475bcf1f4d7067414f55f830c9e8d (diff) |
2nd initial commit
Diffstat (limited to 'files/config/fish/config.fish')
-rw-r--r-- | files/config/fish/config.fish | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/files/config/fish/config.fish b/files/config/fish/config.fish new file mode 100644 index 0000000..cb4884f --- /dev/null +++ b/files/config/fish/config.fish @@ -0,0 +1,35 @@ +if status is-interactive +end + +set fish_greeting + +starship init fish | source + +set -gx EDITOR nvim + +function fish_user_key_bindings + fish_vi_key_bindings +end + +# Emulates Vim's Cursor Shape Behavior +set fish_cursor_default block +set fish_cursor_insert line +set fish_cursor_replace_one underscore +set fish_cursor_replace underscore +set fish_cursor_external line +set fish_cursor_visual block + +abbr grep "grep --color=auto" +abbr tree pstree +abbr P cd ~/Programming +abbr C cd ~/.config +abbr Cs cd ~/.config/suckless +abbr weather curl wttr.in + +# Neovim as man reader +set -gx MANPAGER 'nvim +Man!' + + +# % to make a new file +abbr note nvim ~/Documents/notes/random/ +abbr todo nvim ~/Documents/notes/todo.md |