I just wanted to share this little mapping I've come up with:
:map RightMouse LeftMouseza
I find using the keyboard more useful, so I use the space bar to
toggle the opening/closing of the folds:
:map space za
So, it becomes 'j/k/c-f/c-b', space (expand), read, space
I am a beginner user of vim and I use it to write my C/C++ code in
Ubuntu. Every time I finished a C code and I want to compile it, I have
to type:
:gcc -o mycfile.out mycfile.c
How can I map this command to a shortcut key like F12?
See `:help :make` and `:help compiler-select` and `:help :map`
Is there a way to use wget or curl to get scripts off the Vim site?
Use `wget http://www.vim.org/scripts/download_script.php?src_id=$id -O foo` ?
Best,
Swaroop
When programming, I have to turn the spelling check off. Or it will
show a lot of spelling mistakes in the code. I'd like to apply
spelling check for sentences within the comment blocks only. Is it
possible to configure VIM to do this?
See :help spell-syntax
Best,
Swaroop
---
www.ion.co.in
Ok everyone, the project's created:
* http://code.google.com/p/vimtips/
I think there's a major disadvantage in using the code.google.com wiki
- it only allows people who have been added to the project to edit the
wiki via the web interface (please correct me if I'm wrong). At least
if it
Fantastic! I pasted this as-is into the wiki and here are the results:
* http://code.google.com/p/vimtips/wiki/1504_External_commands_on_Windows
We need to replace the code tags with triple braces as a start. Also,
we may want to add bullet points to the metadata fields.
Here's a reference
On 2/23/07, Simon Jackson [EMAIL PROTECTED] wrote:
in debian based linux distros, you can type the following..
apt-get install program
...and the system will download the appropriate files to install that program
does vim offer anything like this? if not how hard would this be to implement?
Hi Shawn,
I think set shiftwidth=4 is what you're looking for.
HTH,
Swaroop
On 2/21/07, shawn bright [EMAIL PROTECTED] wrote:
lo there all.
i found where i can set my tab stop in .vimrc to 4, but i can't seem
to find where to set it to 4 when i have an auto indent.
for example, in python,
On 2/21/07, Tom Purl [EMAIL PROTECTED] wrote:
* We can host the scripts necessary to convert the tips there
* We can post examples of how the tips might look so we can gain
feedback
* We can take the name before some nefarious person decides to
Google-squat :)
So yeah, what do you guys
Let say the file is good.text. I open the file and goto 66 line and come
out by typing :wq in escape mode.
Now, when I open it again, my cursor is placed in line 0. I want it to be
placed in line 66.
Can you please help me what configuration do I need to change to enable
this
On 2/21/07, Tom Purl [EMAIL PROTECTED] wrote:
The next step is to see some conversion script ideas. If you're the type
of person who can write a script like this in 15 minutes, then by all
means do so and send it to me. Otherwise, we can discuss it on the
mailing list unless people think its
On 12/17/06, Meino Christian Cramer wrote:
where can I get recent builds (vim-7.0.178) for Windows ?
http://sourceforge.net/project/showfiles.php?group_id=43866package_id=39721
Hello all,
When I visit the link
http://www.vim.org/scripts/script.php?script_id=273 , I see the
following error : script:Can't open file: 'vs_scripts.MYI' (errno:
145) , is anybody else facing the same issue?
Thanks!
13 matches
Mail list logo