summaryrefslogtreecommitdiff
path: root/files/config/fish
diff options
context:
space:
mode:
Diffstat (limited to 'files/config/fish')
-rw-r--r--files/config/fish/config.fish35
-rw-r--r--files/config/fish/fish_variables43
2 files changed, 78 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
diff --git a/files/config/fish/fish_variables b/files/config/fish/fish_variables
new file mode 100644
index 0000000..da82a2b
--- /dev/null
+++ b/files/config/fish/fish_variables
@@ -0,0 +1,43 @@
+# This file contains fish universal variable definitions.
+# VERSION: 3.0
+SETUVAR EDITOR:nvim
+SETUVAR __fish_initialized:3400
+SETUVAR fish_color_autosuggestion:666
+SETUVAR fish_color_cancel:\x2d\x2dreverse
+SETUVAR fish_color_command:normal
+SETUVAR fish_color_comment:888\x1e\x2d\x2ditalics
+SETUVAR fish_color_cwd:0A0
+SETUVAR fish_color_cwd_root:A00
+SETUVAR fish_color_end:009900
+SETUVAR fish_color_error:F22
+SETUVAR fish_color_escape:0AA
+SETUVAR fish_color_history_current:0AA
+SETUVAR fish_color_host:normal
+SETUVAR fish_color_host_remote:\x1d
+SETUVAR fish_color_keyword:\x1d
+SETUVAR fish_color_match:0AA
+SETUVAR fish_color_normal:B2B2B2
+SETUVAR fish_color_operator:0AA
+SETUVAR fish_color_option:\x1d
+SETUVAR fish_color_param:ccccff
+SETUVAR fish_color_quote:9ce781
+SETUVAR fish_color_redirection:FFF
+SETUVAR fish_color_search_match:\x2d\x2dbackground\x3d533
+SETUVAR fish_color_selection:\x2d\x2dbackground\x3dB218B2
+SETUVAR fish_color_status:red
+SETUVAR fish_color_user:brgreen
+SETUVAR fish_color_valid_path:\x2d\x2dunderline
+SETUVAR fish_key_bindings:fish_vi_key_bindings
+SETUVAR fish_pager_color_background:\x1d
+SETUVAR fish_pager_color_completion:BBB
+SETUVAR fish_pager_color_description:666
+SETUVAR fish_pager_color_prefix:0AA\x1e\x2d\x2dunderline
+SETUVAR fish_pager_color_progress:0AA
+SETUVAR fish_pager_color_secondary_background:\x1d
+SETUVAR fish_pager_color_secondary_completion:\x1d
+SETUVAR fish_pager_color_secondary_description:\x1d
+SETUVAR fish_pager_color_secondary_prefix:\x1d
+SETUVAR fish_pager_color_selected_background:\x2d\x2dbackground\x3d333
+SETUVAR fish_pager_color_selected_completion:\x1d
+SETUVAR fish_pager_color_selected_description:\x1d
+SETUVAR fish_pager_color_selected_prefix:\x1d