diff options
-rw-r--r-- | .vimrc | 4 | ||||
-rw-r--r-- | .zshrc | 7 |
2 files changed, 4 insertions, 7 deletions
@@ -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> @@ -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 |