[SOLVED] scope with vim

hello
I have installed vim and cscope but when i have cscope executed (cscope -R) and tryied to use ":cs" in vim i get this error  "cs: No such command from open/visual"
Is there any way to fix it ? Is there a compilation problem or what ?
Thank you.
Last edited by netpumber (2013-07-02 16:32:57)

Finally i fixed it. The vim-cscope package doesn't need.
1) I unzip in ~/.vim the cscope.zip file from here http://www.vim.org/scripts/script.php?script_id=4082
2) Add in the ~.xinitrc file the export EDITOR=vim
And now all works beautiful!

Similar Messages

  • [SOLVED] Problem with vim and wombat colorscheme

    Hi there,
    I'm having some problems with wombat colorscheme for vim. It's just working on gvim.
    I read somewhere that wombat just work in gvim. Is that right ? I'm already using a 256-colors terminal (rxvt-unicode).
    I looked here in the forum, but I didn't find anything about.
    Just for information I downloaded it from http://www.vim.org/scripts/script.php?script_id=1778
    Last edited by lsathler (2011-07-06 18:11:00)

    yngwin wrote:You can use wombat256: http://www.vim.org/scripts/script.php?script_id=2465
    Thanks for helping. It worked like a charm !

  • [solved]cat with colored output?

    just wondering if there is a app like cat, that outputs a file, but with vim/emacs' highlight and line numbering. (or some short of hack)
    Why? well, I'm playing around with some C++ and I have multiple little files that I'd like to see on the shell before/after I run g++, and something like that would be quite useful.
    Last edited by hack.augusto (2009-10-22 01:13:20)

    @bl1nk
    that's exactly what I imagined for highlight, thanks.
    @Ghost1227
    `cat -b` ignores blank lines, `cat -n` solved the problem , thanks
    [update]
    community/colorgcc is kinda cool too
    Last edited by hack.augusto (2009-10-22 01:16:24)

  • [SOLVED] Problem with "su" and "login".

    Hi, I reinstalled Arch Linux today when I updated "filesystem" and reboot appeared an error with root device, but I solved with installation CD.
    I restarted laptop after solving error with root device when I went to XFCE4 and open a terminal I tried to login as root with "su" and "su -" but showed this error:
    bash: su: command not found
    So I rebooted to start in text mode.
    When loaded SLIM I press ctrl+alt+F1 to enter text mode.
    I type root to login but did'nt appear to enter the pass, appeared again to enter login. I tried type my user but did the same.
    Someone can help me?
    Thanks!
    Last edited by surrealistic (2012-10-12 08:54:58)

    Thank you falconindy. I upgrade with --force because I search in Google the problem show "filesystem" when I tried install and I read that solution is upgrade "filesystem" with --foce.
    I tried to reinstall util-linux and now works. Thank you!

  • [SOLVED] Bold in Vim

    Hello, people.
    I'd like to know how can I activate bold fonts in Vim. But it's a weird situation, because:
    - bold fonts do not work if I'm using Vim from pure URxvt; but
    - they work if I'm using Vim inside tmux; and
    - it's not a font problem, because the command prompt is bold, and Vim is using the same font; and
    - it's not a color scheme problem, because Vim uses the same in and out of tmux.
    So, how come bold works only inside tmux with Vim?
    Thank you very much.
    Last edited by jpmelos (2011-06-04 23:09:14)

    Uh... Interesting. Now there's no bold inside and outside tmux.
    I do not know about this stuff, so I'm just guessing, but this makes sense to me:
    Could it be that my Vim is loading a color scheme for 256-color terminals that doesn't have bold in it, and then when using terminals that doesn't support 256 colors, it loads a color scheme that does support bold?
    Sorry if that's complete and utterly bullshit, I'm just trying to help you help me! But if that's it, how do I make this color scheme for 256-color terminals support bold? Because I kinda like this color scheme better than the bold one! Just that it would be better with the bold settings from the other one.
    Thank you!

  • HT201303 last time i bought apps by using visa gift card so iam trying to use the kind of visa gift card and the system is denying the method payment ....any idea how to solve this with my itune account ?

    last time i bought apps by using visa gift card so iam trying to use the kind of visa gift card and the system is denying the method payment ....any idea how to solve this with my itune account ?

    A few reasons I can think of, but instead of shooting in the dark, lets check with experts who can look at your account.
    iTunes Store Support
    http://www.apple.com/emea/support/itunes/contact.html

  • Massive copy to system clipboard with vim?

    Say I'm editing a program with vim through a terminal (say xterm). Does anyone know how to copy the contents, via left click highlighting, onto the system clipboard (x11) when the content that needs to be copied is physically off the screen? I've tried to arrow up while highlighting but it doesn't work.

    toxic, from what I understand from t-dawg's questions is that he wants to emulate what you can do in gvim, but with vim instead.
    In gvim, I can click the mouse button; hold; drag downwards and then gvim will start scrolling downwards, whilst highlighting the passing lines. This is how you highlight large amounts of text (greater than what can fit in a single screen at a time) with a mouse.
    However, terminals are slightly dumber. Whilst you can highlight areas of text, that's a console function and not something that vim itself is monitoring. Therefore, you can't achieve the same effect with the mouse in vim as you can in gvim.
    Of course, vim is perfectly capable of selecting more text than can fit in a single screen. It has a visual mode. Press v and then move down with your cursor keys, et volia - highlighted text.
    Now when it comes to shifting this to X11's clipboard, I've never tried (hence the link I gave for possible help). I'm sure it can be done.

  • [solved] confusion about vim and its config files

    Hi, Im getting really confused with vim and its /etc/vimrc config, and the per user ~/.vimrc.
    On one of my PC's I have an untouched /etc/vimrc and a /home/jason/.vimrc which has:
    syntax on
    now, on that same PC, if I run
    vim .vimrc
    "syntax on" in green and yellow as expected, and if I run
    sudo vim .vimrc
    I also see
    "syntax on" in green and yellow, but surely this is opening it as root?
    *Edit
    Even though there is no .vimrc in /root, and the system-wide /etc/vimrc is untouched/blank
    On another PC I also have an untoched /etc/vimrc, and a /home/jason/.vimrc which has:
    syntax on
    Aswell, and:
    vim .vimrc
    has "syntax on" in green and yellow as expected, but this time:
    sudo vim .vimrc
    Has no colour?
    I cant explain this, any ideas?
    *Edit
    To clarify, both PC's have an untouched /etc/vimrc and there is no /root/.vimrc file on either PC
    Last edited by jrussell (2013-04-14 10:21:42)

    siriusb wrote:
    The configuration files in /etc are for system-wide settings. These are the default settings if not overridden by a user's own settings in their home directory.
    So running vim as your regular user will use the settings from your home directory.
    What does sudo? From man sudo
    sudo allows a permitted user to execute a command as the superuser or another user, as specified by the security policy.
    So if you didn't specify any setting in the home folder of the user you want to run vim as, and you don't have anything in /etc/vimrc, vim won't apply any custom settings.
    I understand all of that, but on both my PC's I have a clean/untouched config /etc/vimrc, and both /root/.vimrc files do not exist, so howcome on one PC I get colour with sudo vim...., and on the other I dont?

  • Solve equation with one unknown parameter (x)

    I am working on a Windows Phone program that calculates taxes due. One of the calculations is a formula/equation with an unknown 'x'. I have searched a lot on solving equations with vb but this really exceeds my - admittedly small - math knob. Perhaps you
    can help me out.
    The equation to solve is (for example):
    ((25000 + x) * 0.06) + x = 16500
    The only unknown variable is x. Does someone know the proper code to solve this equation?

    Are you looking to code some super-intelligent maths equation solver that can solve any type of equation (if so - good luck!)? Or are the equations you want to solve all of the same type?
    The example you gave is of the form (A + x) * B + x = C. You can rearrange that to (1 + B) * x + A * B = C and from there to x = (C - A * B) / (1 + B).
    If all your equations are in that form, you just need to identify the value of A, B and C and use the last formula I gave to calculate x.
    I wasn't going to do that for him.
    Let's see here, he's building a program for tax calculation and he can't do 8th grade algebra??
    Still lost in code, just at a little higher level.

  • I m coming from linux platform ... now need my g   to work with vim ... how to install g   which supports C  0x ... why does  not it has repository with apple ... its so easy rather than going to UI ...

    i m coming from linux platform ... now need my g   to work with vim ... how to install g   which supports C  0x ... why does  not it has repository with apple ... its so easy rather than going to UI ...

    tom i have been using ubuntu for c++ project
    i use lambda and atomic (c++0x) but now as I am working on MAC not able to use them
    installed xcode(4.3) and changed compiler settings to LLVM3.1 but still both features are not available
    to compile wanted to have g++ which supports c++0x features ...
    new to MAC (2-3 days) so was in rush to solution
    let me know if you have some suggestion ...
    else will try with eclipse cdt .... 

  • Tektronix 2440 scope with 2402 Tekmate

    Hi all,
    I have recently aquired a Tektronix 2440 scope with the optional
    2402 Tekmate box attached to it. What I would like to do is
    use this scope to grab digitized versions of the waveforms I see on
    screen.
    From what I have seen in the manuals, I must be missing a proprietary
    software that is used to boot the 2402. Can anyone help in this
    direction?
    I have seen in some past postings that this grabbing can also be done
    by connecting a PC to the GPIB port of the scope. Can anyone help me
    in
    that direction?
    Thanks,
    Nikos

    Yes you can connect a PC to your instrument via GPIB.
    Some useful resources for your application are
    ni.com > NI Developer Zone > Development Library > Instrument Connectivity
    http://search.ni.com/?col=alldocs&layout=TechResources&ql=a , to search examples and knowledge bases
    There are example VI's in LabVIEW on Instrument Connectivity. If you go to the Help menu >> Examples.. >> I/O, you will see a couple.
    You could find a LV/CVI driver for this instrument at http://www.ni.com/devzone/idnet/default.htm . If it's not listed there, it leaves you with one of a couple options. First, I would like you to submit a request for this driver at: http://zone.ni.com/idnet97.nsf/instrumentdriverrequest/
    We develop drivers based on demand and popularity so the more
    requests we have for it, the greater the possibility that we will develop one.
    If you would like to try developing your own instrument driver (or modify the existing one), we have documentation, model instrument drivers, and driver templates to help at :
    http://www.ni.com/devzone/idnet/development.htm
    We also have a syndicate of third party vendors that specialize in National Instruments' products and services. Some of the vendors specialize in driver development. I would suggest contacting one of the Alliance members at:
    http://www.ni.com/alliance
    Hope this helps.

  • Solved problem with installation stuck at 25-30%

    I had this problem and I solved it with this:
    How to perform a "clean install" of Flash Player in Mac OS X

    @MFC_0809,
    Thanks for posting the screenshot, which confirms which installer (there are several) is being problematic.
    Please try the offline installer posted at the bottom of the Installation problems | Flash Player | Mac page, in the 'Still having problems' section.
    Haravikk the Horse,
    Do you license Flash Player?  That is not a public download URL for Flash Player, so curious as to where you obtained that URL from.
    Maria

  • Property dataid references object in a scope with shorter lifetime than the

    Hi,
    Can some one help me with this error.
    <h:dataTable value="myBean.list" var="data">
    <h:column>
    <h:outputText rendered="#{data.ok} value="This item is Ok"/>
    </h:column>
    </h:dataTable>
    Error -
    Property dataid references object in a scope with shorter lifetime than the target scope session

    What you have in the faces-config.xml is more important here. It sounds like on of the property of the session bean scope references to the request bean scope bean. This is illegal.
    Sergey : http://jsfTutorials.net

  • When Apple solve problems with new iTunes calendar sync with windows and outlook?

    When Apple solve problems with new iTunes calendar sync with windows and outlook?

    Anything Downloaded with a Particular Apple ID is tied to that Apple ID and Cannot be Merged or Transferred to a Different Apple ID
    More Info here...
    Apple ID FAQs  >  http://support.apple.com/kb/HT5622
    If necessary...
    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • [SOLVED] What is wrong with VIM?

    I am using Vim 7.2.411 and none of the commands work except saving files. Ex:
    I can do:
    :w file.c
    or
    Shift+ZZ
    However, none of the other commands work. For example, I can't even enter insert mode (i). I have tried reinstalling to no prevail. This isn't an urgent problem (for me at least), I just want to know what the hell is wrong with it so I can get back to coding
    Last edited by itsbrad212 (2010-05-11 20:39:23)

    Solved
    I copied the contents of /var/abs/testing/vim/vimrc:
    " All system-wide defaults are set in $VIMRUNTIME/archlinux.vim (usually just
    " /usr/share/vim/vimfiles/archlinux.vim) and sourced by the call to :runtime
    " you can find below. If you wish to change any of those settings, you should
    " do it in this file (/etc/vimrc), since archlinux.vim will be overwritten
    " everytime an upgrade of the vim packages is performed. It is recommended to
    " make changes after sourcing archlinux.vim since it alters the value of the
    " 'compatible' option.
    " This line should not be removed as it ensures that various options are
    " properly set to work with the Vim-related packages.
    runtime! archlinux.vim
    " If you prefer the old-style vim functionalty, add 'runtime! vimrc_example.vim'
    " Or better yet, read /usr/share/vim/vim72/vimrc_example.vim or the vim manual
    " and configure vim to your own liking!
    to a new file I created (/etc/vimrc)

Maybe you are looking for