mirror of
https://github.com/itchyny/lightline.vim.git
synced 2025-11-13 14:03:51 -05:00
remove control-x characters from the code
This commit is contained in:
@@ -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', {})
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user