mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-13 16:32:30 -05:00
Add a little scroll status bar to lightline
This commit is contained in:
parent
4617ad837d
commit
2eb91d7fca
5 changed files with 9 additions and 2 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -112,3 +112,6 @@
|
||||||
[submodule "vim/bundle/vim-extradite"]
|
[submodule "vim/bundle/vim-extradite"]
|
||||||
path = vim/bundle/vim-extradite
|
path = vim/bundle/vim-extradite
|
||||||
url = https://github.com/int3/vim-extradite
|
url = https://github.com/int3/vim-extradite
|
||||||
|
[submodule "vim/bundle/vim-scrollstatus"]
|
||||||
|
path = vim/bundle/vim-scrollstatus
|
||||||
|
url = https://github.com/ojroques/vim-scrollstatus
|
||||||
|
|
|
@ -186,6 +186,7 @@ For a complete list of mappings specific to **darkcloud-vimconfig**, check the l
|
||||||
* [vim-move](https://github.com/matze/vim-move): Provides a few convenient ways to move selected text.
|
* [vim-move](https://github.com/matze/vim-move): Provides a few convenient ways to move selected text.
|
||||||
* [vim-pathogen](https://github.com/tpope/vim-pathogen): A plugin to load other plugins while keeping them isolated in their own directory structure rather than all dumped together.
|
* [vim-pathogen](https://github.com/tpope/vim-pathogen): A plugin to load other plugins while keeping them isolated in their own directory structure rather than all dumped together.
|
||||||
* [vim-polyglot-darkcloud](https://github.com/prurigro/vim-polyglot-darkcloud): The darkcloud-vimconfig fork of a meta-package that attempts to provide the best syntax plugins for each file type.
|
* [vim-polyglot-darkcloud](https://github.com/prurigro/vim-polyglot-darkcloud): The darkcloud-vimconfig fork of a meta-package that attempts to provide the best syntax plugins for each file type.
|
||||||
|
* [vim-scrollstatus](https://github.com/ojroques/vim-scrollstatus): A scrollbar for Vim statusline.
|
||||||
* [vim-signify](https://github.com/mhinz/vim-signify): When a version controlled file is changed, this displays a column showing where and how, and allows for navigation to and between differences.
|
* [vim-signify](https://github.com/mhinz/vim-signify): When a version controlled file is changed, this displays a column showing where and how, and allows for navigation to and between differences.
|
||||||
* [vim-surround](https://github.com/tpope/vim-surround): Provides functionality to exchange surrounding delimiters and xml-style tags with another, or simply remove them.
|
* [vim-surround](https://github.com/tpope/vim-surround): Provides functionality to exchange surrounding delimiters and xml-style tags with another, or simply remove them.
|
||||||
* [vim-repeat](https://github.com/tpope/vim-repeat): A library used by vim-surround to allow its delimiter-switching functions to be repeated with the `.` command.
|
* [vim-repeat](https://github.com/tpope/vim-repeat): A library used by vim-surround to allow its delimiter-switching functions to be repeated with the `.` command.
|
||||||
|
|
1
vim/bundle/vim-scrollstatus
Submodule
1
vim/bundle/vim-scrollstatus
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 22a929172aa83c045b802f3a6b2fadbab54dc95a
|
|
@ -77,7 +77,8 @@ let g:lightline.component_function = {
|
||||||
\ 'fileformat': 'LLFileformat',
|
\ 'fileformat': 'LLFileformat',
|
||||||
\ 'filetype': 'LLFiletype',
|
\ 'filetype': 'LLFiletype',
|
||||||
\ 'fileencoding': 'LLFileencoding',
|
\ 'fileencoding': 'LLFileencoding',
|
||||||
\ 'mode': 'LLMode'
|
\ 'mode': 'LLMode',
|
||||||
|
\ 'scrollstatus': 'ScrollStatus'
|
||||||
\ }
|
\ }
|
||||||
|
|
||||||
let g:lightline.component_expand = {
|
let g:lightline.component_expand = {
|
||||||
|
@ -100,7 +101,7 @@ let g:lightline.component = {
|
||||||
|
|
||||||
let g:lightline.active = {
|
let g:lightline.active = {
|
||||||
\ 'left': [[ 'mode', 'paste' ], [ 'fugitive', 'filename' ], [ 'tagbar' ]],
|
\ 'left': [[ 'mode', 'paste' ], [ 'fugitive', 'filename' ], [ 'tagbar' ]],
|
||||||
\ 'right': [[ 'linter_checking', 'linter_errors', 'linter_warnings', 'linter_ok' ], [ 'lineinfo', 'percent' ], [ 'fileformat', 'fileencoding', 'filetype' ]]
|
\ 'right': [[ 'linter_checking', 'linter_errors', 'linter_warnings', 'linter_ok' ], [ 'fileformat', 'fileencoding', 'filetype' ], [ 'percent', 'lineinfo' ], [ 'scrollstatus' ]]
|
||||||
\ }
|
\ }
|
||||||
|
|
||||||
"status bar config with and without powerline fonts (default: 0)
|
"status bar config with and without powerline fonts (default: 0)
|
||||||
|
|
1
vim/config/plugins/vim-scrollstatus.vim
Normal file
1
vim/config/plugins/vim-scrollstatus.vim
Normal file
|
@ -0,0 +1 @@
|
||||||
|
let g:scrollstatus_size = 10
|
Loading…
Reference in a new issue