From 214a56a8368f747dac47e57511049571cd9604f7 Mon Sep 17 00:00:00 2001 From: Marco Thomas Date: Thu, 12 Dec 2019 14:34:53 +0100 Subject: [PATCH] Added Vundle plugin manager and plugins/colorschemes --- dotdrop | 2 +- dotfiles/bashrc | 2 -- dotfiles/vimrc | 30 ++++++++++++++++++++++++++++-- 3 files changed, 29 insertions(+), 5 deletions(-) diff --git a/dotdrop b/dotdrop index 364de92..84b049a 160000 --- a/dotdrop +++ b/dotdrop @@ -1 +1 @@ -Subproject commit 364de925052d44e917c6e93fbaf7524ea2b473ed +Subproject commit 84b049a99234551f1ce5b5ea6838d859d4a03e07 diff --git a/dotfiles/bashrc b/dotfiles/bashrc index 0ffdc05..35b390c 100755 --- a/dotfiles/bashrc +++ b/dotfiles/bashrc @@ -11,8 +11,6 @@ export LS_COLORS # dotfile management alias dotdrop="~/dotfiles/dotdrop.sh --cfg=~/dotfiles/config.yaml" -alias dddef="dotdrop -p default" -alias ddef="dotdrop -p default" # shortcuts alias ..="cd .." diff --git a/dotfiles/vimrc b/dotfiles/vimrc index d73d95a..fe17af5 100644 --- a/dotfiles/vimrc +++ b/dotfiles/vimrc @@ -2,8 +2,32 @@ " ### .vimrc from Marc ### " ######################## +" Vundle Plugin Manager - START +" Required +set nocompatible +set rtp+=~/.vim/bundle/Vundle.vim +call vundle#begin() +" Plugins +Plugin 'VundleVim/Vundle.vim' +Plugin 'jiangmiao/auto-pairs' +Plugin 'scrooloose/nerdtree' +Plugin 'editorconfig/editorconfig-vim' +" Colorscheme +Plugin 'joshdick/onedark.vim' +Plugin 'itchyny/lightline.vim' +" Required +call vundle#end() +filetype plugin indent on +" Vundle Plugin Manager - END + +" Plugin Settings +let NERDTreeShowHidden=1 + " Coloooooors syntax on +let g:lightline = { + \ 'colorscheme' : 'wombat', + \} colorscheme onedark filetype on filetype indent plugin on @@ -11,7 +35,7 @@ set colorcolumn=80 " Numbers at the left side set number -:highlight LineNr ctermfg=white "color +:highlight LineNr ctermfg=gray "color " set relativenumber " Parathesis highlighting @@ -54,9 +78,11 @@ cmap Q q cmap W w cmap q1 q! +map :NERDTreeToggle + " go to line edited, when closed if has("autocmd") - au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") + au BufReadPost * if line("' f\"") > 0 && line("'\"") <= line("$") \| exe "normal! g'\"" | endif endif