Objective-J(Cappuccino) Completion in Vim

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
773 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jul 9, 2010

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (hnanki)

  • how to make this works with vim on Ubuntu?

    error: "Option 'omnifunc' is not set."

  • @rgv151 Which version of vim do you use?

  • @hnanki I'm using vim 7.3 on Ubuntu 11.10 beta1

  • @rgv151 If the syntax highlighting also disabled, you need to set filetype to "objj".

    Use HEAD of the vim-objj(to which I added a ftdetect) or write "au BufNewFile,BufRead *.j,Jakefile sets objj" in your .vimrc.

    You should set runtimepath as the README said.

  • First of all, you must use vim7 compiled with if_ruby option.

    # minimal_vimrc

    set runtimepath+=~/vim-objj

    au BufNewFile,BufRead *.j,Jakefile setf objj

    $ vim -U minimal_vimrc --noplugin main.j

  • Typing Ctrl-X Ctrl-O in insert mode is for omni-completion which is supported from vim7.

    You can get further information about this by :help compl-omni.

see all

All Comments (8)

Sign In or Sign Up now to post a comment!
  • Could you share your vimrc with us? Thanks!

  • Hum, how to make it work. I followed your instruction but it failed. What does C-x,C-o means?

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more