7

In MacVim I'm using Conque to run bash commands inside Vim. I have a problem with the text navigation while using Conque.

If I'm at the end of a line of text and press down Alt I skip a word to the left, if I then press the cursor moves back to after the word I skipped. How do I solve this?

Here you can see that I first move a few characters using and then Alt to move to the start of the word. Then when I press I get back to where I were.

enter image description here

  • I actually don't get this question as written - what do you want to happen... or... what should the alt key be doing? – Michael Durrant Jul 26 '14 at 12:32
  • After I've pressed Alt and then press , the marker should continue before Documents/ and not move back to where it was before I pressed Alt . Just like how it works inside the regular terminal. – Oskar Persson Jul 26 '14 at 13:03
  • 3
    Actually you don't go back to where you were : You where at EOL-3 before Alt then you go to EOL-4 after pressing . So what I understand here is the Alt has not been "seen" either by bash or Conque. May be a problem with the escape sequence. I suggest you open a bug on Conque issue tracker. – frntn Jul 31 '14 at 10:50
  • On a side note try vimshell. And if you other plugins from shougo then vimshell works really well. – user2179293 Aug 4 '14 at 17:32
  • 1
    What version of Conque are you using? – slm Oct 6 '14 at 19:07
1

I would consider filing a bug report. In the meantime, why not letting bash behave more vi-like? Issue set -o vi to use vi navigation in bash.

UPDATE

I've added this as an issue on the Conque website, here:

1
+50

I thought this is what is documented as Known bugs:

  • Conque only supports the extended ASCII character set for input, not utf-8. - VT100 escape sequence support is not complete.
  • Alt/Meta key support in Vim isn't great in general, and conque is no exception. Pressing Esc+Esc+x or Esc+M-x instead of M-x works in most cases.

I haven't used Conque, but just curious, does Alt+b and Alt+f help you navigate backwards and forwards words, respectively?

Your Answer

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

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