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 think the airline "statusline" is a seperate buffer.

Anyways, how can i prevent that?

EDIT: Sorry, i forgot that i can edit my own questions. In the link above (I can only post 2 links), the airline buffer is very similiar to mine before resizing - (pic2) Shiftj, the location of the buffer has changed. I want just that the airline buffer is always as in the one before, that it's always at the bottom.

@Nobe4 Thanks for the link, im not sure if that's what im searching for, but i'll try it.

EDIT2: The Only difference between the two pictures is the positioning of the airline buffer. In 1 it's at the very bottom, like it should be. In 2 the airline buffer itself is shifted upwards. I.e. in (pic2), between the airline buffer and the very bottom is just nothing. My target is, that the airline buffer on the bottom (if horizontally splitted) can't be shifted upwards like in (pic2), because it's just useless.

  • Possible duplicate : stackoverflow.com/a/1925046/2558252 – nobe4 Aug 11 '15 at 8:02
  • 3
    What exactly are you refering to as your "airline buffer"? I don't understand what is resized and shouldn' be, maybe a screenshot would be useful here. – statox Aug 11 '15 at 8:50
  • @statox: Before <S-j>: postimg.org/image/5a8f56hcx Afterwards: postimg.org/image/cgux9tgp1/JK i want that the second picture isn't possible to achieve, e.g. the buffer should always stay as in picture 1. – toogley Aug 11 '15 at 9:20
  • The second image is not found ;-) Also put the screenshots in your question (with the "edit" button, the editor will give you the possibility to add a screenshot that you don't have to host yourself) rather than in the comments please. – statox Aug 11 '15 at 9:22
  • @Nobe4 Do you have an idea, how i could assign "set wfh" and "set wfw" to a particular buffer? I mean, i like the ability to resize the other windows/buffers. – toogley Aug 11 '15 at 9:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.