summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulianTeu <JulianTeu>2018-06-16 12:19:29 +0200
committerJulianTeu <JulianTeu>2018-06-16 12:19:29 +0200
commitff0c3651203617d584476336bf1abb79f2c3d1d5 (patch)
treebfc0b6362a40fbab976721eec44a88c08558172f
parent026bf6cb39e588b801da9ae4dca47e059f57b3be (diff)
Added xprofile with sshagent
-rw-r--r--.vimrc7
-rw-r--r--.xprofile8
2 files changed, 8 insertions, 7 deletions
diff --git a/.vimrc b/.vimrc
index e7a4df6..4578308 100644
--- a/.vimrc
+++ b/.vimrc
@@ -17,20 +17,13 @@ Plugin 'autozimu/LanguageClient-neovim'
Plugin 'tpope/vim-surround'
Plugin 'tpope/vim-repeat'
-Plugin 'tpope/vim-speeddating'
-Plugin 'tpope/vim-fugitive'
Plugin 'vim-latex/vim-latex'
Plugin 'vim-scripts/ReplaceWithRegister'
-
-Plugin 'vim-erlang/vim-erlang-runtime'
-
Plugin 'zchee/deoplete-jedi'
-Plugin 'leafgarland/typescript-vim'
Plugin 'sirtaj/vim-openscad'
Plugin 'tmhedberg/matchit'
-Plugin 'nanotech/jellybeans.vim'
Plugin 'kien/ctrlp.vim'
Plugin 'Shougo/deoplete.nvim'
diff --git a/.xprofile b/.xprofile
new file mode 100644
index 0000000..5a11352
--- /dev/null
+++ b/.xprofile
@@ -0,0 +1,8 @@
+xcape -e "Control_L=Escape"
+
+if ! pgrep -u "$USER" ssh-agent > /dev/null; then
+ ssh-agent > ~/.ssh-agent-thing
+fi
+if [[ "$SSH_AGENT_PID" == "" ]]; then
+ eval "$(<~/.ssh-agent-thing)"
+fi