some cursorline / listchars fixes
This commit is contained in:
parent
642b1f0e51
commit
5c570306dc
1 changed files with 3 additions and 2 deletions
5
vimrc
5
vimrc
|
@ -2,7 +2,6 @@ set nocompatible
|
||||||
set background=dark
|
set background=dark
|
||||||
set backspace=indent,eol,start
|
set backspace=indent,eol,start
|
||||||
set clipboard=exclude:.*
|
set clipboard=exclude:.*
|
||||||
set cursorline
|
|
||||||
set foldmethod=marker
|
set foldmethod=marker
|
||||||
set history=50
|
set history=50
|
||||||
set hlsearch
|
set hlsearch
|
||||||
|
@ -54,6 +53,8 @@ autocmd BufNewFile *.pl 0put =\"#!/usr/bin/env perl\<nl>\use strict;\<nl>\use wa
|
||||||
let mapleader = ","
|
let mapleader = ","
|
||||||
nmap <Space> <C-W>
|
nmap <Space> <C-W>
|
||||||
noremap <F1> <Esc>
|
noremap <F1> <Esc>
|
||||||
|
"enable cursorline on demand
|
||||||
|
nnoremap <Leader>c :set cursorline!<CR>
|
||||||
"clear search highlight
|
"clear search highlight
|
||||||
nnoremap <Leader>/ :nohls<CR>
|
nnoremap <Leader>/ :nohls<CR>
|
||||||
"disable auto indent
|
"disable auto indent
|
||||||
|
@ -74,7 +75,7 @@ if v:version >= 700
|
||||||
|
|
||||||
set number
|
set number
|
||||||
set list
|
set list
|
||||||
set listchars=tab:\|.,nbsp:x
|
set listchars=tab:\|_,nbsp:x
|
||||||
nnoremap <Leader>n :setlocal number!<CR>
|
nnoremap <Leader>n :setlocal number!<CR>
|
||||||
nnoremap <Leader>l :setlocal list!<CR>
|
nnoremap <Leader>l :setlocal list!<CR>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue