diff --git a/.profile b/.profile index 2fe763f..2df3854 100644 --- a/.profile +++ b/.profile @@ -2,8 +2,8 @@ # ~/.profile -- Included by .bash_profile; includes ~/.profile.local # -# SSH key agent is started by systemd user -#export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.sock" +# SSH key agent +[[ -e "$XDG_RUNTIME_DIR/gcr/ssh" ]] && export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/gcr/ssh" # GPG key stuff export GPG_TTY=$(tty) diff --git a/.vimrc b/.vimrc index 12dc898..5d48566 100644 --- a/.vimrc +++ b/.vimrc @@ -139,6 +139,9 @@ inoremap j inoremap k inoremap l +" Unindent with Shift-Tab +inoremap << + " Copy and to X clipboard (Ctrl-C in visual mode and Ctrl-V in insert mode) vmap "+y imap "+P