Skip to content

Commit 5f842de

Browse files
committed
Merge branch 'add-statusline-and-colorscheme-plugin'
2 parents 96c7e48 + dab0458 commit 5f842de

File tree

3 files changed

+57
-0
lines changed

3 files changed

+57
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,8 @@ For more keys, see `:h vimwiki-mappings` or [vimwiki-readme](http://github.com/v
132132
<!-- PLUGIN_LIST_BEGIN -->
133133
| Plugin | Description |
134134
| ------ | ----------- |
135+
| [lightline.vim](https://github.com/itchyny/lightline.vim) [:gear:](./plug_plugins/lightline.vim) | A light and configurable statusline/tabline plugin for Vim |
136+
| [molokai](https://github.com/tomasr/molokai) [:gear:](./plug_plugins/molokai.vim) | Molokai color scheme for Vim |
135137
| [vim-polyglot](https://github.com/sheerun/vim-polyglot) [:gear:](./plug_plugins/vim-polyglot.vim) | A solid language pack for Vim. |
136138
| [vimwiki](https://github.com/vimwiki/vimwiki) [:gear:](./plug_plugins/vimwiki.vim) | Personal Wiki for Vim |
137139
<!-- PLUGIN_LIST_END -->

plug_plugins/lightline.vim

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
" Copyright (c) 2019-present Kaiming Guo. All rights reserved.
2+
" Use of this source code is governed by a BSD-style license that can be
3+
" found in the LICENSE file.
4+
5+
if exists('g:plug_installing_plugins')
6+
Plug 'itchyny/lightline.vim'
7+
finish
8+
endif
9+
10+
let g:lightline = {
11+
\ 'active': {
12+
\ 'left': [ ['mode', 'paste'],
13+
\ ['readonly', 'filename', 'modified'] ],
14+
\ 'right': [ ['lineinfo'],
15+
\ ['percent'],
16+
\ ['fileformat', 'fileencoding', 'filetype'] ]
17+
\ },
18+
\ 'inactive': {
19+
\ 'left': [['filename']],
20+
\ 'right': [['lineinfo', 'percent']]
21+
\ },
22+
\ 'tabline': {
23+
\ 'left': [['tabs']],
24+
\ 'right': [['close']]
25+
\ },
26+
\ 'component': {
27+
\ 'lineinfo': '%3l:%-2v',
28+
\ },
29+
\ 'component_function': {},
30+
\ 'component_function_visible_condition': {},
31+
\ 'component_expand': {},
32+
\ 'colorscheme': 'seoul256'
33+
\ }
34+
35+
" vim: set sw=2 ts=2 et tw=78 :

plug_plugins/molokai.vim

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
" Copyright (c) 2019-present Kaiming Guo. All rights reserved.
2+
" Use of this source code is governed by a BSD-style license that can be
3+
" found in the LICENSE file.
4+
5+
if exists('g:plug_installing_plugins')
6+
Plug 'tomasr/molokai'
7+
finish
8+
endif
9+
10+
let g:molokai_original = 1
11+
let g:rehash256 = 1
12+
13+
set t_Co=256
14+
set background=dark
15+
try
16+
colorscheme molokai
17+
catch
18+
endtry
19+
20+
" vim: set sw=2 ts=2 et tw=78 :

0 commit comments

Comments
 (0)