3

Edit: Solved. See GitHub: amix/vimrc#204.

I often drop a shell out of my vim window by :!bash but I have two problems with it.

  • I can't use UTF8 for pipes
  • with QWERTZ layout, I can't use Umlaut keys like öäü, i.e. ö behaves like ALT-_

I think the problems are somehow related.

Is there anything I missed regarding both problems?

15
  • 1
    I've no idea where your problems come from but I wonder if using :!bash is actually a good thing: I think that :! is meant to execute a single command but not to start an interactive shell. If you really need to execute several commands in an external shell why don't you directly the external shell?
    – statox
    Commented Mar 19, 2016 at 13:04
  • 1
    Can you give us more details please? For example, what is your OS or distribution (including version), your bash version and the output of vim --version? When you answer, we willl take it from there. Commented Mar 19, 2016 at 14:00
  • FYI. My system works perfectly and I just want to try and reproduce your problem. I use Ubuntu 14.04 with regular vim-gtk package with what is mostly the vimrc_example file that comes with vim. Commented Mar 19, 2016 at 14:02
  • 4
    You should use either :shell or <C-z>
    – romainl
    Commented Mar 19, 2016 at 14:35
  • 1
    @AlexandreMartins Huh, I'm using amix's vimrc. When removing it issue is gone, so I think it's a problem of amix's vimrc. Will open issue there :)
    – criztovyl
    Commented May 14, 2016 at 14:01

1 Answer 1

2

The Problem here is in the .vimrc I use, it overwrote my locale. So I commented that out and everything works fine again.

See the corresponding GitHub issue: amix/vimrc#204.

Thanks to @Carpetsmoker for pointing out an answer would be more sufficent than an edit of the question ^^

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.