2
votes
2answers
67 views

Reformatting vim files

SOLVED, see my answer. However, I figure this question is still a good learning exp for other novices like myself So I am working on this project, but I am working on it both at home and at work. ...
1
vote
1answer
187 views

Is there a --remote option for vim (not gVim) in cygwin?

I am trying to open a file in a new tab in an already running console Vim session. This functionality is available in gVim via the --remote-tab-silent option. If this is not possible, I was wondering ...
1
vote
1answer
244 views

MacVim - keyboard shortcut to change tab left

What is the command for changing to the tab to the left? "gt" is changing to the right, but I can't find the command for going the other way. Thanks
3
votes
2answers
326 views

Vim tabs: When using Vim, how do you make it so that ALL your files you manipulate from now on will have 4-space tabs with vertical tab marks?

I just copied over (recursively) a directory from a remote machine and would like to work on the files on my own computer. However, whenever I used Vim remotely, every tab automatically did two ...
4
votes
2answers
465 views

Tabs in Vim: How do you make it so that when you copy+paste code (legally) from a website, the tab alignment is correct?

So the tabbing is correct on the website itself, but when I paste it into the terminal, each line becomes tabbed further out than the previous one, and is horrendous to fix manually. How do you make ...
0
votes
2answers
418 views

Creating and removing tabs in vim

How can I add and remove tabs in normal mode in vim? Also, how can I add and remove tabs in visual mode (like selecting a code block in a regular editor and hitting tab or shift tab?