summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Teu <julianteule@gmail.com>2018-05-16 10:35:11 +0200
committerJulian Teu <julianteule@gmail.com>2018-05-16 10:35:11 +0200
commit52e2dced1db54a3f65daadaebd322410b3bdbae8 (patch)
tree1c3d775d34f57b8162e8f41f41b38a28702eeaa1
parentec4ae135531dff5db1ca825721ffebf910e1eb8c (diff)
Added stuff
-rw-r--r--.vimrc4
-rw-r--r--.zshrc7
2 files changed, 4 insertions, 7 deletions
diff --git a/.vimrc b/.vimrc
index 9734b96..349160a 100644
--- a/.vimrc
+++ b/.vimrc
@@ -32,6 +32,8 @@ Plugin 'Shougo/deoplete.nvim'
Plugin 'agude/vim-eldar'
+Plugin 'scrooloose/nerdtree'
+
call vundle#end() " required
filetype plugin indent on " required
@@ -79,3 +81,5 @@ endfunction
nnoremap <silent> ge :call ToEnd()<cr>
nnoremap <silent> gb :call ToBegin()<cr>
+
+map <C-n> :NERDTreeToggle<CR>
diff --git a/.zshrc b/.zshrc
index 728a332..5206818 100644
--- a/.zshrc
+++ b/.zshrc
@@ -131,13 +131,6 @@ echo "Done"
clear
#Setup ssh agent
-if [[ $(ps -aux | grep ssh-agent | grep -v "grep" | wc -l) == "0" ]]; then
- echo "ssh-agent not found"
- ssh-agent > ~/.ssh-agent-thing
-fi
-if [[ "$SSH_AGENT_PID" == "" ]]; then
- eval "$(<~/.ssh-agent-thing)"
-fi
# Sæt sudo editor
export SUDO_EDITOR=nvim