remove control-x characters from the code

This commit is contained in:
itchyny
2013-08-31 19:46:33 +09:00
parent e4326a5cdd
commit 4dbd28a07d
2 changed files with 7 additions and 7 deletions

View File

@@ -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', "\<C-v>": 'V-BLOCK', 's': 'SELECT',
\ 'S': 'S-LINE', "\<C-s>": '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', "\<C-v>": 'visual', 's': 'select', 'S': 'select', "\<C-s>": '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', {})

View File

@@ -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',
\ "\<C-v>": 'V-BLOCK',
\ 's' : 'SELECT',
\ 'S' : 'S-LINE',
\ '': 'S-BLOCK',
\ "\<C-s>": 'S-BLOCK',
\ '?': ' ' }
<
When you search a word, you get into the command mode. But if