Added Vundle plugin manager and plugins/colorschemes

This commit is contained in:
Marco Thomas
2019-12-12 14:34:53 +01:00
parent 3e4edf8acd
commit 214a56a836
3 changed files with 29 additions and 5 deletions

Submodule dotdrop updated: 364de92505...84b049a992

View File

@@ -11,8 +11,6 @@ export LS_COLORS
# dotfile management # dotfile management
alias dotdrop="~/dotfiles/dotdrop.sh --cfg=~/dotfiles/config.yaml" alias dotdrop="~/dotfiles/dotdrop.sh --cfg=~/dotfiles/config.yaml"
alias dddef="dotdrop -p default"
alias ddef="dotdrop -p default"
# shortcuts # shortcuts
alias ..="cd .." alias ..="cd .."

View File

@@ -2,8 +2,32 @@
" ### .vimrc from Marc ### " ### .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 " Coloooooors
syntax on syntax on
let g:lightline = {
\ 'colorscheme' : 'wombat',
\}
colorscheme onedark colorscheme onedark
filetype on filetype on
filetype indent plugin on filetype indent plugin on
@@ -11,7 +35,7 @@ set colorcolumn=80
" Numbers at the left side " Numbers at the left side
set number set number
:highlight LineNr ctermfg=white "color :highlight LineNr ctermfg=gray "color
" set relativenumber " set relativenumber
" Parathesis highlighting " Parathesis highlighting
@@ -54,9 +78,11 @@ cmap Q q
cmap W w cmap W w
cmap q1 q! cmap q1 q!
map <C-t> :NERDTreeToggle<CR>
" go to line edited, when closed " go to line edited, when closed
if has("autocmd") if has("autocmd")
au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") au BufReadPost * if line("' f\"") > 0 && line("'\"") <= line("$")
\| exe "normal! g'\"" | endif \| exe "normal! g'\"" | endif
endif endif