The vimrc tag has no wiki summary.
1
vote
1answer
38 views
Change background color of vi/vim
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 ...
0
votes
2answers
37 views
I need a popup help file for Vim
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.
0
votes
2answers
42 views
vim create one's own syntax configuration file
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 ...
1
vote
0answers
83 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 ...
2
votes
2answers
241 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
251 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
127 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..
4
votes
2answers
440 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 ...
7
votes
1answer
747 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
572 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 ...
13
votes
4answers
2k 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 ...