mirror of
https://github.com/itchyny/lightline.vim.git
synced 2025-11-12 21:43:50 -05:00
improve English (close #2)
This commit is contained in:
11
README.md
11
README.md
@@ -50,6 +50,11 @@ With branch name, readonly mark and modified mark.
|
||||
+ [powerline](https://github.com/Lokaltog/powerline) is a nice plugin, but difficult to configure.
|
||||
+ [vim-airline](https://github.com/bling/vim-airline) is a nice plugin, but not configurable. Also, it does *too much* for other plugins, which should be done by users in .vimrc.
|
||||
|
||||
## Spirit of this plugin
|
||||
+ Minimalism. The core script is very small.
|
||||
+ Configurablity. You can create your own component and easily add to the statusline.
|
||||
+ Orthogonality. Any plugin should not change the settings of another plugin. Such a plugin-crossing setting should be written by users in `.vimrc`.
|
||||
|
||||
## Author
|
||||
itchyny (https://github.com/itchyny)
|
||||
|
||||
@@ -77,7 +82,7 @@ MIT License
|
||||
## Configuration tutorial
|
||||
In default, the statusline looks like:
|
||||

|
||||
If you want a wombat colorscheme, add the folowing setting to your .vimrc (or \_vimrc in Windows):
|
||||
If you want a wombat colorscheme, add the following setting to your .vimrc (or \_vimrc in Windows):
|
||||
```vim
|
||||
let g:lightline = {
|
||||
\ 'colorscheme': 'wombat',
|
||||
@@ -138,7 +143,7 @@ Hurrah! Cool!
|
||||
|
||||
|
||||
Now, you look into a help file to find the marks annoying.
|
||||
Help files are read-only and no-modifiable? We know, of cource!
|
||||
Help files are read-only and no-modifiable? We know, of course!
|
||||

|
||||
OK, so you again edit your .vimrc.
|
||||
```vim
|
||||
@@ -271,7 +276,7 @@ Define your own filename component. It has priority over the component lightline
|
||||

|
||||
Looks nice.
|
||||
|
||||
Of cource, you can name your component as you wish.
|
||||
Of course, you can name your component as you wish.
|
||||
```vim
|
||||
let g:lightline = {
|
||||
\ 'active': {
|
||||
|
||||
Reference in New Issue
Block a user