gvim and gdb for C?
In emacs there is a handy way to launch the gdb and gui options for gdb, the C debugger. Is there a similar option in gvim? ...
In emacs there is a handy way to launch the gdb and gui options for gdb, the C debugger. Is there a similar option in gvim? ...
I do all my coding in vim and am quite happy with it (so, please, no "use a different editor" responses), but have an ongoing annoyance in that the smartindent feature wants to not indent comments beginning with # at all. e.g., I want # Do something $x = $x + 1; if ($y) { # Do something else $y = $y + $z; } instead of...
Does my question make sense? Using either Vim or Emacs, you come to understand that the interface exposes the code's representation of the state of the file you are editing in the buffer, the file is the on-disk storage you can fill a buffer from or write a buffer to. All these things a programmer would know, but when just editing text, ...
The only thing I can get python omnicomplete to work with are system modules. I get nothing for help with modules in my site-packages or modules that I'm currently working on. ...
I'm on a Hardy Heron Ubuntu build, BTW. ...
The CSS syntax highlighting in vim is not entirely optimal. For example: div.special_class stops the highlighting at the _. Is there an improved highlighter that doesn't bite on an underscore? Update: I'm using VIM - Vi IMproved 7.1 (2007 May 12, compiled Jun 17 2008 15:22:40) and the header of my css.vim is: " Vim syntax file "...
When indenting java code with annotations, vim insists on indenting like this: @Test public void ... I want the annotation to be in the same column as the method definition but I can't seem to find a way to tell vim to do that, except maybe using an indent expression but I'm not sure if I can use that together with regular cindent...
I truly love VIM - it's one of only a handful of applications I've every come across that make you feel warm and fuzzy inside. However, for PHP development, I still use PDT Eclipse although I would love to switch. The reason I can't quite at the moment is the CTRL+SPACE code-assist functionality that I rely on so much - it's so usefu...
In another question, Mark speaks highly of IDEs, saying "some people still just dont know "why" they should use one...". As someone who uses vim for programming, and works in an environment where most/all of my colleagues use either vim or emacs for all of their work, what are the advantages of IDEs? Why should I use one? I'm sure thi...
For example: from datetime import <c-x><c-o>{list of modules inside datetime package} ...
Pretty much what the title says. Is there a way to add files to a vsnet project from inside Vim? I work in a group of devs, and all of our code has solutions and projects as you would expect. I would like to use Vim, and was hoping for a way to maintain those project files when I added or removed files without having to go into vsnet. ...
Using Vim, I'm trying to pipe visually selected text to a UNIX command and have the output appended to the end of the current file. For example, say we have a SQL command such as: SELECT * FROM mytable; I want to do something like the following: V # select text :'<,'>!mysql -uuser -ppass mydb But instead of having the output overwri...
Hi I was wondering if there's a way to see the output of any command, straight inside vim, rather than first redirecting it into a file and then opening that file. E.x. I need something like $ gvim < diff -r dir1/ dir2/ This gives ambiguous redirect error message I just want to see the diffs between dir1 and dir2 straight inside gv...
Hi When I browse code, I need to see opening and closing parenthesis/ brackets, and pressing "%" seems unproductive. I tried :set showmatch, but it makes the cursor jump back and forth when you type in a bracket. But what to do if I am browsing already written code. Thanks Aman Jain ...
How do I make Vi-Vim never use tabs (converting spaces to tabs, bad!), makes the tab key == 4 spaces, and automatically indent code after curly brace blocks like emacs does? Also, how do I save these settings so I never have to input them again. I've seen other questions related to this but it always seems to be a little off from what ...
I feel like the way I do 80-column indication in Vim is incorrect: set columns=80. At times I also set textwidth but I like to be able to see and anticipate line overflow with the set columns alternative. This has some unfortunate side effects -- I can't set number for fear of splitting between files that have different orders of line n...
I wanted to add a UTF-8 font in Gvim but I could not find out how to do this. I tried to follow the step on this manual but it still did not work. http://www.inter-locale.com/whitepaper/learn/learn_to_type.html (vim section halfway the page) Can anyone tell me how to add a font in Vim so I can have Japanese characters displayed ? ...
Should be trivial, and it might even be in the help, but I can't figure out how to navigate it. Thanks in advance. ...
I'm looking for a way to configure the color used for line numbering (as in: :set nu) in Vim. The default on most platforms seems to be yellow (which is also used for some highlighted tokens). I would like to color the line numbers a dim gray; somewhere in the vicinity of #555. I'm not picky though, any subdued color would be acceptab...
It would be nice if it did both a list of methods to choose from and the list of potential input parameters. This was done for powershell and I was curious if there was any similar functionality implemented for emacs or vim? Clarification: A fellow developer I work with wants to use either vim or emacs for the low overhead without run...