aboutsummaryrefslogtreecommitdiff
path: root/vimrc-full
diff options
context:
space:
mode:
Diffstat (limited to 'vimrc-full')
-rw-r--r--vimrc-full12
1 files changed, 5 insertions, 7 deletions
diff --git a/vimrc-full b/vimrc-full
index 6982e49..cf73b50 100644
--- a/vimrc-full
+++ b/vimrc-full
@@ -198,7 +198,7 @@ function! MyFiletype()
198 if(exists('b:filetype')) 198 if(exists('b:filetype'))
199 return b:filetype 199 return b:filetype
200 else 200 else
201 return &filetype 201 return &filetype
202endfunction 202endfunction
203autocmd BufEnter * let b:filetype = winwidth(0) > 70 ? (strlen(&filetype) ? WebDevIconsGetFileTypeSymbol() . ':' . &filetype : 'no ft') : '' 203autocmd BufEnter * let b:filetype = winwidth(0) > 70 ? (strlen(&filetype) ? WebDevIconsGetFileTypeSymbol() . ':' . &filetype : 'no ft') : ''
204 204
@@ -218,14 +218,13 @@ let g:lightline = {
218 \ 'subseparator': { 'left': "\ue0b1", 'right': "\ue0b3" }, 218 \ 'subseparator': { 'left': "\ue0b1", 'right': "\ue0b3" },
219 \ 'active': { 219 \ 'active': {
220 \ 'left': [ [ 'mode', 'paste' ], 220 \ 'left': [ [ 'mode', 'paste' ],
221 \ [ 'gitbranch', 'readonly' ] ], 221 \ [ 'absolutepath', 'readonly' ] ],
222 \ 'right': [ [ 'lineinfo' ], 222 \ 'right': [ [ 'lineinfo', 'percent' ],
223 \ [ 'percent' ], 223 \ [ 'spell', 'fileencoding', 'fileformat', 'filetype' ] ],
224 \ [ 'fileencoding', 'fileformat', 'filetype', 'charvaluehex' ] ],
225 \ }, 224 \ },
226 \ 'tabline': { 225 \ 'tabline': {
227 \ 'left': [ [ 'bufferinfo' ], [ 'bufferbefore', 'buffercurrent', 'bufferafter' ], ], 226 \ 'left': [ [ 'bufferinfo' ], [ 'bufferbefore', 'buffercurrent', 'bufferafter' ], ],
228 \ 'right': [ [ 'getcwd', 'close' ] ], 227 \ 'right': [ [ 'close' ], [ '%{getcwd()}', 'gitbranch'] ],
229 \ }, 228 \ },
230 \ 'component_expand': { 229 \ 'component_expand': {
231 \ 'buffercurrent': 'lightline#buffer#buffercurrent2', 230 \ 'buffercurrent': 'lightline#buffer#buffercurrent2',
@@ -240,7 +239,6 @@ let g:lightline = {
240 \ 'filetype': 'MyFiletype', 239 \ 'filetype': 'MyFiletype',
241 \ 'fileformat': 'MyFileformat', 240 \ 'fileformat': 'MyFileformat',
242 \ 'gitbranch': 'MyBranchname', 241 \ 'gitbranch': 'MyBranchname',
243 \ 'getcwd': 'getcwd',
244 \ }, 242 \ },
245 \ } 243 \ }
246 244
..