mirror of
https://github.com/itchyny/lightline.vim.git
synced 2025-11-13 22:13:50 -05:00
remove control-x characters from the code
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
" Version: 0.0
|
" Version: 0.0
|
||||||
" Author: itchyny
|
" Author: itchyny
|
||||||
" License: MIT License
|
" License: MIT License
|
||||||
" Last Change: 2013/08/31 19:14:21.
|
" Last Change: 2013/08/31 19:42:33.
|
||||||
" =============================================================================
|
" =============================================================================
|
||||||
|
|
||||||
let s:save_cpo = &cpo
|
let s:save_cpo = &cpo
|
||||||
@@ -38,11 +38,11 @@ function! lightline#init()
|
|||||||
let s:lightline.mode_map = get(s:lightline, 'mode_map', {})
|
let s:lightline.mode_map = get(s:lightline, 'mode_map', {})
|
||||||
call extend(s:lightline.mode_map, {
|
call extend(s:lightline.mode_map, {
|
||||||
\ 'n': 'NORMAL', 'i': 'INSERT', 'R': 'REPLACE', 'v': 'VISUAL',
|
\ 'n': 'NORMAL', 'i': 'INSERT', 'R': 'REPLACE', 'v': 'VISUAL',
|
||||||
\ 'V': 'V-LINE', 'c': 'COMMAND', '': 'V-BLOCK', 's': 'SELECT',
|
\ 'V': 'V-LINE', 'c': 'COMMAND', "\<C-v>": 'V-BLOCK', 's': 'SELECT',
|
||||||
\ 'S': 'S-LINE', '': 'S-BLOCK', '?': ' ' }, 'keep')
|
\ 'S': 'S-LINE', "\<C-s>": 'S-BLOCK', '?': ' ' }, 'keep')
|
||||||
let s:lightline._mode_ = {
|
let s:lightline._mode_ = {
|
||||||
\ 'n': 'normal', 'i': 'insert', 'R': 'replace', 'v': 'visual', 'V': 'visual',
|
\ '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', {})
|
let s:lightline.mode_fallback = get(s:lightline, 'mode_fallback', {})
|
||||||
call extend(s:lightline.mode_fallback, { 'replace': 'insert', 'select': 'visual' })
|
call extend(s:lightline.mode_fallback, { 'replace': 'insert', 'select': 'visual' })
|
||||||
let s:lightline.component = get(s:lightline, 'component', {})
|
let s:lightline.component = get(s:lightline, 'component', {})
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ Version: 0.0
|
|||||||
Author: itchyny (https://github.com/itchyny)
|
Author: itchyny (https://github.com/itchyny)
|
||||||
License: MIT License
|
License: MIT License
|
||||||
Repository: https://github.com/itchyny/lightline.vim
|
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*
|
CONTENTS *lightline-contents*
|
||||||
|
|
||||||
@@ -149,10 +149,10 @@ OPTIONS *lightline-option*
|
|||||||
\ 'v' : 'VISUAL',
|
\ 'v' : 'VISUAL',
|
||||||
\ 'V' : 'V-LINE',
|
\ 'V' : 'V-LINE',
|
||||||
\ 'c' : 'COMMAND',
|
\ 'c' : 'COMMAND',
|
||||||
\ '': 'V-BLOCK',
|
\ "\<C-v>": 'V-BLOCK',
|
||||||
\ 's' : 'SELECT',
|
\ 's' : 'SELECT',
|
||||||
\ 'S' : 'S-LINE',
|
\ 'S' : 'S-LINE',
|
||||||
\ '': 'S-BLOCK',
|
\ "\<C-s>": 'S-BLOCK',
|
||||||
\ '?': ' ' }
|
\ '?': ' ' }
|
||||||
<
|
<
|
||||||
When you search a word, you get into the command mode. But if
|
When you search a word, you get into the command mode. But if
|
||||||
|
|||||||
Reference in New Issue
Block a user