mirror of
https://github.com/itchyny/lightline.vim.git
synced 2025-11-15 15:03:51 -05:00
improve English
This commit is contained in:
13
README.md
13
README.md
@@ -69,7 +69,7 @@ MIT License
|
|||||||
## Configuration tutorial
|
## Configuration tutorial
|
||||||
In default, the statusline looks like:
|
In default, the statusline looks like:
|
||||||

|

|
||||||
If you want a wombat colorscheme, add the folowing settin to your .vimrc:
|
If you want a wombat colorscheme, add the folowing setting to your .vimrc (or \_vimrc in Windows):
|
||||||
```vim
|
```vim
|
||||||
let g:lightline = {
|
let g:lightline = {
|
||||||
\ 'colorscheme': 'wombat',
|
\ 'colorscheme': 'wombat',
|
||||||
@@ -90,9 +90,10 @@ but you find it annoying! So you add to your .vimrc:
|
|||||||
\ }
|
\ }
|
||||||
```
|
```
|
||||||

|

|
||||||
OK. The branch section is removed.
|
OK. The branch section has been removed.
|
||||||
|
The `g:lightline.active.left` stands for the components which appears on the left hand side, for the active window.
|
||||||
|
|
||||||
However, you find the readonly mark is not cool:
|
You find the read-only mark is not cool:
|
||||||

|

|
||||||
So you add the component setting (the following setting is effective with the integrated font for vim-powerline):
|
So you add the component setting (the following setting is effective with the integrated font for vim-powerline):
|
||||||
```vim
|
```vim
|
||||||
@@ -129,7 +130,7 @@ Hurrah! Cool!
|
|||||||
|
|
||||||
|
|
||||||
Now, you look into a help file to find the marks annoying.
|
Now, you look into a help file to find the marks annoying.
|
||||||
Help files are readonly and no-modifiable? We know, of cource!
|
Help files are read-only and no-modifiable? We know, of cource!
|
||||||

|

|
||||||
OK, so you again edit your .vimrc.
|
OK, so you again edit your .vimrc.
|
||||||
```vim
|
```vim
|
||||||
@@ -169,7 +170,7 @@ In order to avoid this, you set expressions to component\_flag, which becomes 1
|
|||||||
\ }
|
\ }
|
||||||
```
|
```
|
||||||

|

|
||||||
Okey. Works nice.
|
Okay. Works nice.
|
||||||
|
|
||||||
|
|
||||||
However, you may wonder we cannot gather these settings?
|
However, you may wonder we cannot gather these settings?
|
||||||
@@ -217,7 +218,7 @@ Fine and readable!
|
|||||||
|
|
||||||
Finally, you come up with concatenating the three components:
|
Finally, you come up with concatenating the three components:
|
||||||

|

|
||||||
Now you may now what to do.
|
Now you may now know what to do.
|
||||||
```vim
|
```vim
|
||||||
let g:lightline = {
|
let g:lightline = {
|
||||||
\ 'colorscheme': 'wombat',
|
\ 'colorscheme': 'wombat',
|
||||||
|
|||||||
Reference in New Issue
Block a user