From 5c570306dcb5395043589d541ecf7fcd714875a4 Mon Sep 17 00:00:00 2001 From: Von Random Date: Fri, 19 Jun 2015 13:23:02 +0300 Subject: [PATCH] some cursorline / listchars fixes --- vimrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vimrc b/vimrc index 589d806..b6d8aa5 100644 --- a/vimrc +++ b/vimrc @@ -2,7 +2,6 @@ set nocompatible set background=dark set backspace=indent,eol,start set clipboard=exclude:.* -set cursorline set foldmethod=marker set history=50 set hlsearch @@ -54,6 +53,8 @@ autocmd BufNewFile *.pl 0put =\"#!/usr/bin/env perl\\use strict;\\use wa let mapleader = "," nmap noremap +"enable cursorline on demand +nnoremap c :set cursorline! "clear search highlight nnoremap / :nohls "disable auto indent @@ -74,7 +75,7 @@ if v:version >= 700 set number set list - set listchars=tab:\|.,nbsp:x + set listchars=tab:\|_,nbsp:x nnoremap n :setlocal number! nnoremap l :setlocal list!