aboutsummaryrefslogtreecommitdiff
path: root/vimrc-full
diff options
context:
space:
mode:
authorMax Christian Pohle2017-06-11 18:34:51 +0200
committerMax Christian Pohle2017-06-11 18:34:51 +0200
commit613d6b70a09f8aac7301c3e62ba9ed924e523ec3 (patch)
treedc34c3be449a52fe1be59c4b49b7c95a872b74db /vimrc-full
parent2f3d9964d909fb367252a5db3f1f33dd2e9b6091 (diff)
downloadvim-613d6b70a09f8aac7301c3e62ba9ed924e523ec3.tar.bz2
vim-613d6b70a09f8aac7301c3e62ba9ed924e523ec3.zip
Lightline: Changed item order
Diffstat (limited to 'vimrc-full')
-rw-r--r--vimrc-full6
1 files changed, 3 insertions, 3 deletions
diff --git a/vimrc-full b/vimrc-full
index 1a6284f..a53161f 100644
--- a/vimrc-full
+++ b/vimrc-full
@@ -200,12 +200,12 @@ function! MyFiletype()
200 else 200 else
201 return &filetype 201 return &filetype
202endfunction 202endfunction
203autocmd BufEnter * let b:filetype = winwidth(0) > 70 ? (strlen(&filetype) ? &filetype . ' ' . WebDevIconsGetFileTypeSymbol() : 'no ft') : '' 203autocmd BufEnter * let b:filetype = winwidth(0) > 70 ? (strlen(&filetype) ? WebDevIconsGetFileTypeSymbol() . ':' . &filetype : 'no ft') : ''
204 204
205function! MyFileformat() 205function! MyFileformat()
206 return exists('b:fileformat') ? b:fileformat : &fileformat 206 return exists('b:fileformat') ? b:fileformat : &fileformat
207endfunction 207endfunction
208autocmd BufEnter * let b:fileformat = winwidth(0) > 70 ? (&fileformat . ' ' . WebDevIconsGetFileFormatSymbol()) : '' 208autocmd BufEnter * let b:fileformat = winwidth(0) > 70 ? WebDevIconsGetFileFormatSymbol() . ':' . &fileformat : ''
209 209
210function! MyBranchname() 210function! MyBranchname()
211 return exists('b:branchname') ? b:branchname : '' 211 return exists('b:branchname') ? b:branchname : ''
@@ -221,7 +221,7 @@ let g:lightline = {
221 \ [ 'gitbranch', 'readonly' ] ], 221 \ [ 'gitbranch', 'readonly' ] ],
222 \ 'right': [ [ 'lineinfo' ], 222 \ 'right': [ [ 'lineinfo' ],
223 \ [ 'percent' ], 223 \ [ 'percent' ],
224 \ [ 'fileformat', 'fileencoding', 'filetype', 'charvaluehex' ] ], 224 \ [ 'fileencoding', 'fileformat', 'filetype', 'charvaluehex' ] ],
225 \ }, 225 \ },
226 \ 'tabline': { 226 \ 'tabline': {
227 \ 'left': [ [ 'bufferinfo' ], [ 'bufferbefore', 'buffercurrent', 'bufferafter' ], ], 227 \ 'left': [ [ 'bufferinfo' ], [ 'bufferbefore', 'buffercurrent', 'bufferafter' ], ],
..