Topics related to the configuration of the VI editor.

learn more… | top users | synonyms

2
votes
1answer
147 views

Creating a global Vim configuration, including separate configuration files for plugins?

I use Arch Linux (ARM, but irrelevant) on a server machine, and I want to create a global configuration for Vim, based on my current personal configuration. I have already moved my ~/.vimrc to ...
0
votes
1answer
124 views

Change background color of vi/vim [closed]

I don't have access to the vimrc (no write access that is) So far I have been using colorscheme desert to be able to read comments. But i'm getting tired of it any workaround or do I have to ...
-1
votes
2answers
59 views

I need a popup help file for Vim [closed]

Is there some kind of plugin or mode that can be used to display some help for commands? I am increasingly finding nano inadequate. I want to be come a hardcore Vim and Emacs user.
-1
votes
2answers
76 views

vim create one's own syntax configuration file [closed]

I'm trying to create my own syntax configuration file for vim. I have then created a ~/.vim/filetype.vim file with the following content: augroup filetypedetect autocmd BufNewFile,BufRead ...
2
votes
1answer
159 views

Use local dotfiles on remote session

I have a few servers that I have personal accounts on, I have created an SVN repository to contain my home directory so that I can manage my dotfiles across these servers, which I'm finding works very ...
3
votes
3answers
556 views

How to I use Vim's increment (Control-a) when in a screen session?

Is there a way to re-map Control-a in screen to Alt-a or something else, so I can use Control-A in Vim normally (increments the number under the cursor)?
0
votes
1answer
599 views

How to disable ctrl-v in Vim?

In /etc/vimrc, how do I disable the ctrl-v feature. I.e, disable visual block
2
votes
2answers
316 views

Languages in vim editor

How to insert copy-paste a hindi language word from web pages to vim editor.When i do it now it says "..... . ....." What is the settings that has to be changed in vim editor to do this Thanks..
6
votes
2answers
2k views

How do I keep 10 lines visible when scrolling up to EOF with CRTL-F?

I am used to using vi, not vim. What I find annoying in vim is that when you are scrolling with CTRL-F and reach EOF, vim scrolls down to the very last line and put this line on the top of your ...
10
votes
1answer
1k views

How to tell if I'm in MacVim in .vimrc

In my .vimrc, I want to check if I'm in MacVim vs. regular vim so I can optionally set some MacVim-specific settings, which should not be applied to regular vim. How do I do this?
1
vote
5answers
668 views

Vim Configuration for Server-Side Editing

I always use Vim on our servers (mostly Ubuntu based) and I always lack a good configuration that suits vim over SSH without too much frills. I'd like to gather as much as possible configuration ...
21
votes
4answers
5k views

vim re-edit as root

I often open a file in vim, make some changes and when it's time to save the file is read-only.. (owned by another user). I'm looking for tips on how I could re-open the file as root and keep my ...