aboutsummaryrefslogtreecommitdiff
path: root/inc/airline.vim
diff options
context:
space:
mode:
Diffstat (limited to 'inc/airline.vim')
-rw-r--r--inc/airline.vim15
1 files changed, 15 insertions, 0 deletions
diff --git a/inc/airline.vim b/inc/airline.vim
new file mode 100644
index 0000000..4486d50
--- /dev/null
+++ b/inc/airline.vim
@@ -0,0 +1,15 @@
+" Always show status line
+" set laststatus=2
+
+" Enable the list of buffers
+let g:airline#extensions#tabline#enabled = 1
+
+" Show just the filename
+let g:airline#extensions#tabline#fnamemod = ':t'
+
+if !exists('g:airline_symbols')
+ let g:airline_symbols = {}
+endif
+let g:airline_symbols.space = "\ua0"
+
+let g:airline_section_z = airline#section#create(['windowswap', '%3p%% ', 'linenr', ':%3v'])