Questions tagged [plugin-vim-airline]

Vim plugin to enhance the status bar

0
votes
1answer
163 views

Airline does not display correctly unless I source _vimrc

I have airline plugin installed with pathogen. It displays <bf><bf> etc instead of showing normal characters. If I source my _vimrc, airline displays everything normally. I sometimes have ...
3
votes
0answers
78 views

How do I edit my Airline config such that modified files will have a differently colored bar?

I recently switched to base16_default dark as my color theme. I love it, but it's the first theme I've used where a modified buffer's airline bar doesn't change color. I do, however get the [+] ...
2
votes
0answers
511 views

what is the correct codepage to use with vim airline?

Ok so I have setup my .vimrc as followed but I'm still experiencing a few problems with it: let $VIM=/usr/share/vim/vim74 let $VIMRUNTIME=/usr/share/vim/vim74 execute pathogen#infect() " air-line" ...
1
vote
0answers
16 views

How can I add a count of all columns on every line to the statusline in Vim?

I'm using vim-airline and would like to add a count of all characters on the current line to it. It should be displayed like 1:75 where 1 is the column the cursor is currently on and 75 the total ...
1
vote
0answers
67 views

How to access “additional sections” in vim-airline?

The vim-airline documentation addresses statusline sections as "airline_section_[a-z]" and mentions "additional sections" ([...]). I have searched in vain to figure out what letter/number could be ...
1
vote
0answers
29 views

Airline section_x for particular filetype

For .js files, I set a particular filetype in order to enable snippets, like this: augroup project autocmd! autocmd BufRead,BufNewFile *.js set filetype=javascript.javascript-es6-react.jsx ...
1
vote
0answers
57 views

Monkey-patch plugin function

Is it possible to override an autoloaded plugin-function? I want to customize an airline-internal function just like this: diff --git a/autoload/airline/extensions/default.vim b/autoload/airline/...
1
vote
0answers
69 views

Vim vim-airline on split view, change colors

I tried vim-airline and it looks nice, while editing on single window. When in split view, with multiple files open, I noticed it focus on current window. By focus I mean the other windows keep ...
1
vote
0answers
61 views

Strange behaviour when switching buffers in vim (syntax highlighting and keymaps cease to work until .vimrc source)

I have set up the following list of commands to switch buffers: (in a .vim file i source from my .vimrc to keep it organised) ...
1
vote
0answers
977 views

Neovim Airline Powerline Fonts won't work

I installed Airline status line for Neovim and put the following line in my init.vim: let g:airline_powerline_fonts = 1 I also followed the instructions for installing powerline symbols from here ...
1
vote
0answers
91 views

How do I prevent resizing of particular buffer?

I have these mappings in my .vimrc: nnoremap <s-j> <C-w>- nnoremap <s-k> <C-w>+ In a single buffer, Shiftj results in resizing my (pic1) buffer. Im not sure about that, but i ...
0
votes
0answers
154 views

Vim Airline no GitBranch name [doing echo fugitive#head() shows correct branch]

I have Fugitive vim and Airline vim installed via Vundle. I installed them as follow: Plugin 'https://github.com/tpope/vim-fugitive.git' Plugin 'vim-airline/vim-airline' Airline status works fine. ...
0
votes
0answers
18 views

Displaying specific text only in the airline of a given window

Suppose that using bufwinnr() I find the windows number where a given buffer is being displayed to be 2. With that information, is there a way to display a specific string only in the airline status ...