commit 3e08dfea944968021ec2d334bf94deb16383f661
parent 1c4a2b5a6ca7271b62982ee2fb1b94806a57a2b2
Author: bharatvaj.ph <bharatvaj@yahoo.com>
Date: Sat, 2 Oct 2021 00:44:03 +0530
Add XDG path for docker
Add rust bindings for building
Diffstat:
4 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/.config/bash/plugin/git b/.config/bash/plugin/git
@@ -25,7 +25,6 @@ alias gmc='git merge --continue'
alias gp='git pull'
alias gpr='git pull --rebase'
alias gr='git rebase'
-alias gs='git status'
alias gss='git status --short'
alias gst='git stash'
alias gsta='git stash apply'
diff --git a/.config/vim/keybindings/keybindings.vim b/.config/vim/keybindings/keybindings.vim
@@ -5,3 +5,6 @@ nnoremap <leader>p :Rg<cr>
" Plugin keybindings
source $XDG_CONFIG_HOME/vim/keybindings/vimspector.vim
source $XDG_CONFIG_HOME/vim/keybindings/markdown.vim
+
+" Development keybindings
+source $XDG_CONFIG_HOME/vim/keybindings/rust.vim
diff --git a/.config/vim/keybindings/rust.vim b/.config/vim/keybindings/rust.vim
@@ -0,0 +1,2 @@
+nnoremap <leader>cb :Cargo build<cr>
+nnoremap <leader>cr :Cargo run<cr>
diff --git a/.profile b/.profile
@@ -25,6 +25,8 @@ export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority
export ATOM_HOME="$XDG_DATA_HOME"/atom
export WGETRC="$XDG_CONFIG_HOME/wgetrc"
export SCREENRC="$XDG_CONFIG_HOME"/screen/screenrc
+export DOCKER_CONFIG="$XDG_CONFIG_HOME"/docker
+export MACHINE_STORAGE_PATH="$XDG_DATA_HOME"/docker-machine
# Setup editor
export VISUAL=vim