From 74fee9f7c3a0d3ecae22393068f334b3431350fa Mon Sep 17 00:00:00 2001
From: Ekaitz Zárraga <ekaitz.zarraga@gmail.com>
Date: Thu, 30 Jun 2016 15:15:14 +0200
Subject: Configuration better done

---
 nvim/nvim/init.vim | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

(limited to 'nvim')

diff --git a/nvim/nvim/init.vim b/nvim/nvim/init.vim
index 497fa83..22315c9 100644
--- a/nvim/nvim/init.vim
+++ b/nvim/nvim/init.vim
@@ -1,8 +1,8 @@
 " Vundle stuff ----------------------------------------------
 set nocompatible
 filetype off
-set rtp+=~/.vim/bundle/Vundle.vim
-call vundle#begin()
+set rtp+=$XDG_CONFIG_HOME/nvim/bundle/Vundle.vim
+call vundle#begin($XDG_CONFIG_HOME . '/nvim/bundle/')
 
 " let Vundle manage Vundle, required
 Plugin 'VundleVim/Vundle.vim'
@@ -25,12 +25,7 @@ syntax on
 filetype plugin on
 
 " Show trailing spaces
-highlight ExtraWhitespace ctermbg=red guibg=red
-match ExtraWhitespace /\s\+$/
-autocmd BufWinEnter * match ExtraWhitespace /\s\+$/
-autocmd InsertEnter * match ExtraWhitespace /\s\+\%#\@<!$/
-autocmd InsertLeave * match ExtraWhitespace /\s\+$/
-autocmd BufWinLeave * call clearmatches()
+set list lcs=trail:·,tab:»·
 
 " Clear trailing spaces on <F2>
 function TrimWhiteSpace()
-- 
cgit v1.2.3