mirror of
https://github.com/itchyny/lightline.vim.git
synced 2025-11-15 06:53:51 -05:00
improve English
This commit is contained in:
13
README.md
13
README.md
@@ -69,7 +69,7 @@ MIT License
|
||||
## Configuration tutorial
|
||||
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
|
||||
let g:lightline = {
|
||||
\ '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):
|
||||
```vim
|
||||
@@ -129,7 +130,7 @@ Hurrah! Cool!
|
||||
|
||||
|
||||
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.
|
||||
```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?
|
||||
@@ -217,7 +218,7 @@ Fine and readable!
|
||||
|
||||
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
|
||||
let g:lightline = {
|
||||
\ 'colorscheme': 'wombat',
|
||||
|
||||
Reference in New Issue
Block a user