From 4dbd28a07d9e8efaa50d356e337454c157474a91 Mon Sep 17 00:00:00 2001 From: itchyny Date: Sat, 31 Aug 2013 19:46:33 +0900 Subject: [PATCH] remove control-x characters from the code --- autoload/lightline.vim | 8 ++++---- doc/lightline.txt | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/autoload/lightline.vim b/autoload/lightline.vim index 475f7d2..7960809 100644 --- a/autoload/lightline.vim +++ b/autoload/lightline.vim @@ -3,7 +3,7 @@ " Version: 0.0 " Author: itchyny " License: MIT License -" Last Change: 2013/08/31 19:14:21. +" Last Change: 2013/08/31 19:42:33. " ============================================================================= let s:save_cpo = &cpo @@ -38,11 +38,11 @@ function! lightline#init() let s:lightline.mode_map = get(s:lightline, 'mode_map', {}) call extend(s:lightline.mode_map, { \ 'n': 'NORMAL', 'i': 'INSERT', 'R': 'REPLACE', 'v': 'VISUAL', - \ 'V': 'V-LINE', 'c': 'COMMAND', '': 'V-BLOCK', 's': 'SELECT', - \ 'S': 'S-LINE', '': 'S-BLOCK', '?': ' ' }, 'keep') + \ 'V': 'V-LINE', 'c': 'COMMAND', "\": 'V-BLOCK', 's': 'SELECT', + \ 'S': 'S-LINE', "\": 'S-BLOCK', '?': ' ' }, 'keep') let s:lightline._mode_ = { \ 'n': 'normal', 'i': 'insert', 'R': 'replace', 'v': 'visual', 'V': 'visual', - \ 'c': 'command', '': 'visual', 's': 'select', 'S': 'select', '': 'select' } + \ 'c': 'command', "\": 'visual', 's': 'select', 'S': 'select', "\": 'select' } let s:lightline.mode_fallback = get(s:lightline, 'mode_fallback', {}) call extend(s:lightline.mode_fallback, { 'replace': 'insert', 'select': 'visual' }) let s:lightline.component = get(s:lightline, 'component', {}) diff --git a/doc/lightline.txt b/doc/lightline.txt index 3683c3c..f14256b 100644 --- a/doc/lightline.txt +++ b/doc/lightline.txt @@ -4,7 +4,7 @@ Version: 0.0 Author: itchyny (https://github.com/itchyny) License: MIT License Repository: https://github.com/itchyny/lightline.vim -Last Change: 2013/08/31 19:39:59. +Last Change: 2013/08/31 19:43:56. CONTENTS *lightline-contents* @@ -149,10 +149,10 @@ OPTIONS *lightline-option* \ 'v' : 'VISUAL', \ 'V' : 'V-LINE', \ 'c' : 'COMMAND', - \ '': 'V-BLOCK', + \ "\": 'V-BLOCK', \ 's' : 'SELECT', \ 'S' : 'S-LINE', - \ '': 'S-BLOCK', + \ "\": 'S-BLOCK', \ '?': ' ' } < When you search a word, you get into the command mode. But if