From 971bbb74a02f83650c8cd0550fb91886c4d460fe Mon Sep 17 00:00:00 2001 From: Shipwreckt Date: Sat, 22 Feb 2025 07:10:10 +0000 Subject: 2nd initial commit --- files/config/fish/config.fish | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 files/config/fish/config.fish (limited to 'files/config/fish/config.fish') 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 -- cgit v1.2.3