The vimrc tag has no wiki summary.
0
votes
2answers
30 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
66 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
204 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
224 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
106 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
367 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 ...
6
votes
1answer
678 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
553 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 ...
12
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 ...
21
votes
10answers
2k views
Suggestions for entries in a sysadmins .vimrc
At the very least I always uncomment "syntax on" in /etc/vim/vimrc