The features seen with the command ":version" raised my interest.
I am particularly interested in the features, such as Ruby, Python and Emacs-tags. I cannot find instructions in the manuals. I found a command "--with-features=huge", after some googling, but it does not show how to really install the features. I have used Vim over a yea...
K is used to open manuals. I am interested how you use it. Can you use it to all kind of manuals, such as C, java and other things?
...
I'm very fond of vim and really would like to enhance my bash experience with vi-mode. However one thing I'm so accustomed to the emacs behavior in that, when browsing the shell history with cursor up/down, the cursor is positioned at the end of the line.
In vi-mode it's the other way around; the cursor is always positioned at the begin...
How can use Python2.5 with to write scripts in vim? I'm using vim 7.2 and have Python 2.5. Vim 7.2 seem to be linked with Python 2.4
Do I have to compile from source?
...
Is there a way to have hanging operators when indenting with tabs in Vim? For instance, if I have code:
class some_class
{
<tab>some_class();
<tab>~some_class();
};
I want it to look like this:
class some_class
{
some_class();
~some_class();
};
The question is about the appearance of whitespace, not its composition. ...
How do I remove the Tool bar(which has the open save buttons) in the GVim?
...
What is the purpose of the X~ files? And if its unnecessary, is there a way to prevent Vim from creating one?
...
I usually edit RUBY files in VIM. I want the methods(def...end) to fold. Could you please help me define the fold syntax?
...
Hi folks, I'm a long time vim user, but only recently learned that vim7 has some awesome spelling features baked in now. I've been using all sorts of external spelling tools and plugins so far, and am very excited about ditching all of them for the builtin spelling.
So here's the problem. I did review :help spell and the spelling loo...
I was trying to install Taglist in VIM and I did not understand this step:
If the exuberant ctags utility is not
present in your PATH, then set the
Tlist_Ctags_Cmd variable to point to the location of the exuberant ctags
utility (not to the directory) in the .vimrc file.
What does it mean? If anybody uses this plugi...
I am learning VIM. The VIM folder in the windows has two subdirectories VIM72 and VIMFILE. What is the difference between them? Where should I install my plugins?
...
Hi, I'm trying to make a simple Vim script that would create very compact top-level folds for c files. Ideally, if it was run on this code:
static void funca(...)
{
...
}
/* Example comment */
static void funcb(...)
{
...
}
Then it would create folds which would look like this when closed:
+-- x Lines: static void funca(......
I have problems with automated splits and folding. In my ~/.gvimrc file, at the very end, I have the command vsplit, so that when I'm using gvim as opposed to vim, it opens with two panes. The problem occurs when I open a file that would normally be folded via the command line, as in gvim example.cpp. This opens the example.cpp file i...
I want to redirect the output of some Windows program directly to gvim basically for searching the output. Say for example the result of findstr cmd. Is it possible to do this without dumping it to a file and subsequently loading that file in gvim?
...
I'm currently using Vim as a lightweight IDE. I have NERDTree, bufexplorer, supertab, and ctags plugins which do almost everything I want. Only big thing missing for me is auto code formatting.
I'm working with some messy PHP code which has inconsistent indenting and code formatting, ideally I could highlight the code I want formatted (...
I recently started using (Mac)VIM w/ Rails on VIM plugin.
My workflow is following:
0) open VIM in project's path
1) open new tab in VIM
2) open any file in project
3) do what i need w/ Rails on VIM
Do you have any ideas how to skip 2nd step so that i could run R* commands straight after opening a new tab?
Open some placeholder ({PRO...
If, at a command prompt, I run
vimdiff file1 file2
I get a vim instance that has two files open side-by-side, something like this:
╔═══════╤═══════╗
║ │ ║
║ │ ║
║ file1 │ file2 ║
║ │ ║
║ │ ║
╚═══════╧═══════╝
This is very nice, but sometimes I want to open a third file to look at. I d...
Is it possible to show/hide all matching lines in vi or vim? Not highlight but just show only that lines.
For example I have a text with ERROR word. How to show only lines containing ERROR and how to show only lines without ERROR ?
Is there a solution without deleting all matching lines and than just undoing this?
...
For example if I open a brand new file in vim it has the following text already in it:
/*
The MIT License
Copyright (c) 2009 Apphacker [email protected]
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software ...
I have a large number of csv files that look like this below:
xxxxxxxx
xxxxx
Shipment,YD564n
xxxxxxxxx
xxxxx
1,RR1760
2,HI3503
3,HI4084
4,HI1824
I need to make them look like the following:
xxxxxxxx
xxxxx
Shipment,YD564n
xxxxxxxxx
xxxxx
YD564n,1,RR1760
YD564n,2,HI3503
YD564n,3,HI4084
YD564n,4,HI1824
YD564n is a sh...