diff options
author | Vincent Ambo <tazjin@gmail.com> | 2017-10-20T21·37+0200 |
---|---|---|
committer | Vincent Ambo <tazjin@gmail.com> | 2017-10-20T22·05+0200 |
commit | 106ca2094072a516a8df820d9c31a9be6bbbc75c (patch) | |
tree | d97b0c8e3ac656993313c4c0ff88669d44bb9516 /dotfiles | |
parent | 7fe75e01386f24385ae9ccc624e3d8561df8bcbb (diff) |
feat(dotfiles): Add fish-shell & tmux configuration
Diffstat (limited to 'dotfiles')
-rw-r--r-- | dotfiles/config.fish | 27 | ||||
-rw-r--r-- | dotfiles/tmux.conf | 14 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dotfiles/config.fish b/dotfiles/config.fish new file mode 100644 index 000000000000..55809a2ab6a0 --- /dev/null +++ b/dotfiles/config.fish @@ -0,0 +1,27 @@ +# Configure classic prompt +set fish_color_user --bold blue +set fish_color_cwd --bold white +#set __fish_git_prompt_color green +set __fish_git_prompt_showcolorhints yes +set __fish_git_prompt_color_prefix purple +set __fish_git_prompt_color_suffix purple + +# Fish configuration +set fish_greeting "" +set PATH $HOME/.local/bin $GOPATH/bin $PATH + +# Editor configuration +set -gx EDITOR "emacsclient" +set -gx ALTERNATE_EDITOR "emacs -q -nw" +set -gx VISUAL "emacsclient" + +# Miscellaneous +eval (direnv hook fish) + +# Useful command aliases +alias gpr 'git pull --rebase' +alias gco 'git checkout' +alias gf 'git fetch' +alias gap 'git add -p' +alias pbcopy 'xclip -selection clipboard' +alias edit 'emacsclient -n' diff --git a/dotfiles/tmux.conf b/dotfiles/tmux.conf new file mode 100644 index 000000000000..6c20ae0370b2 --- /dev/null +++ b/dotfiles/tmux.conf @@ -0,0 +1,14 @@ +set -g status off +set -gw mode-keys emacs +setw -g mouse on + +# Correctly set window titles +set -g set-titles on +set -g set-titles-string "#W (#T)" + +# List of plugins +set -g @plugin 'tmux-plugins/tpm' +set -g @plugin 'tmux-plugins/tmux-yank' + +# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) +run '~/.tmux/plugins/tpm/tpm' |