macvim-dev / macvim

Vim - the text editor - for macOS
https://macvim.org
Vim License
7.54k stars 685 forks source link

how can i modify startup option? #836

Open itchanges opened 5 years ago

itchanges commented 5 years ago

in my machine, " ps -ef|grep vim " result is
/usr/local/Cellar/macvim/8.1-149_1/MacVim.app/Contents/MacOS/Vim -g -f -p

how can i add option -v ,like " Vim -g -f -p -v". I want add -v option, because I can't enter chinese word. Thanks

ychin commented 5 years ago

What do you mean you want the "-v" mode? What's the actual issue you are trying to solve here?

This is the docs for -v:

  -v        Start Ex in Vi mode.  Only makes a difference when the
        executable is called "ex" or "gvim".  For gvim the GUI is not
        started if possible.
itchanges commented 5 years ago

What do you mean you want the "-v" mode? What's the actual issue you are trying to solve here?

This is the docs for -v:

  -v      Start Ex in Vi mode.  Only makes a difference when the
      executable is called "ex" or "gvim".  For gvim the GUI is not
      started if possible.

this is other people advice, i follow the advice to add -v http://www.voidcn.com/article/p-rhjjulcw-ru.html

ychin commented 5 years ago

You shouldn't need the "-v" flag as described in that article.

What Chinese input method are you using and how is it not working for you? You are using MacVim the GUI app right (i.e. not in terminal)? Asian input methods should work in MacVim so I'm curious which one you are using.

itchanges commented 5 years ago

You shouldn't need the "-v" flag as described in that article.

What Chinese input method are you using and how is it not working for you? You are using MacVim the GUI app right (i.e. not in terminal)? Asian input methods should work in MacVim so I'm curious which one you are using.

I use Chinese sogou input method , some files open by terminal, some files open by double click. when I open file by double click, system will auto invoke macvim ,in this scene,when I type chinese words ,it changes to space。thanks for reply

ychin commented 5 years ago

You can try to disable "Draw marked text inline" in the advanced preferences pane and see if it helps. I will need to take a look to see why it's behaving this way once I get my laptop back.

ychin commented 5 years ago

I'm actually still not 100% sure what the issue you are encountering is. If you could take screenshot or a recording I think that would help a lot, thanks. (And also what preferences you have set)