Last active
July 4, 2019 10:56
-
-
Save varkadov/305c20055ccc0ed1d549586d79d30f34 to your computer and use it in GitHub Desktop.
This file contains 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
# Turn on vim mode | |
fish_vi_key_bindings | |
# Key bindings | |
function fish_user_key_bindings | |
bind -M insert \cp history-search-backward | |
bind -M insert \cn history-search-forward | |
bind -M insert \cf forward-char | |
# for mode in insert default visual | |
# bind -M $mode \cf forward-char | |
#end | |
end | |
# Set normal blue color | |
set -gx LSCOLORS gxfxcxdxbxegedabagacad | |
function ls --description 'List contents of directory' | |
command ls -lFG $argv | |
end | |
function golan | |
command /usr/local/bin/goland $argv | |
end | |
set PATH node_modules/.bin $PATH | |
# Allow 256 colors in iTerm2 for pretty vim colors | |
set -gx CLICOLOR 1 | |
set -gx TERM xterm-256color | |
# Theme config | |
set -gx theme_display_date no | |
function fish_greeting | |
end | |
function cddir | |
command mkdir $argv; cd $argv | |
end | |
function git | |
command env LC_ALL=C git $argv | |
end | |
# nvm use 7.2.1 | |
# opam configuration | |
source /Users/varkadov/.opam/opam-init/init.fish > /dev/null 2> /dev/null; or true | |
set -g fish_user_paths "/usr/local/opt/curl/bin" $fish_user_paths |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment