I have a ~/.vimrc file that vim doesn't seem to be reading.
There is a file at /etc/vimrc, and it looks like it is using that one.
My understanding is that the one in the home directory should override this one, shouldn't it?
Update
cat vim_strace | grep .vimrc
stat64("/etc/vimrc", {st_mode=S_IFREG|0644, st_size=1438, ...}) = 0
...
I connect to my linux box via putty. I've been able to modify the color scheme via my vimrc file, but how can I change the console font? I see an option for guifont but I am not using a GUI...
...
I'd want to add this mapping:
map <C-K> "_dd
How do I escape that double quote so it won't be interpreted as a comment?
...
Here's my setup
Mac OSX 10.6
VIM (default version that comes with OSX 10.6)
rails.vim (installed in .vim/autoload)
ir_black.vim (installed in .vim/colors)
i have "colorscheme ir_black" and "syn on" in ~/.vimrc
Now when I go into terminal and edit a ruby file with vim my colors are messed up. There are only a few colors showing up and...
I write a lot of code and tired of pressing shift each time I need a special character. And since I use special chars much often, then numbers, I want to reverse shift behavior on them.
So, if I type <4> I'll get '$' and if I type <shift>+<4> I'll get '4' and so on for each number. This mapping should work only in insert mode.
I've...
I like to use hlsearch but I hate to keep everything highlighted after searching, to solve this problem I could simply use :nohlsearch or an abbreviation of it but that is still to much effort so I decided to try to do that on pressing escape. What I came up with is:
nnoremap <ESC> :nohlsearch<CR>
This works exactly as I want it to in...
I want to call an command when I save the file.
I am calling it by :make manually now. but I wish it could be called when I execute :w and :wq
I also want enable this feature in any subfolders where not contains a Makefile but it's parents contains one. Just like this topic said, but it doesn't works for me.
http://stackoverflow.com/qu...
I use "very magic" for regexp searches (i.e. /\v or %s/\v) but I wish I could set some option so I don't have to include \v anymore, anywhere. Is there a way to do this?
...
I'm trying to get the following into my .vimrc
" Use the same symbols as TextMate for tabstops and EOLs
set listchars=tab:▸\ ,eol:¬
Those lines are from here are worked perfectly in vim 7.2
I recently compiled and installed vim 7.3 and now those characters aren't understood by vim.
Also: Ctrl+V then U in insert doesn't let me insert a...
Question says it all.
...
I'm learning ruby on rails on a linux box and dusting off my VIM skills (skillz?).
When I got started on VIM way back in my c++ days, I had a friend with a great vimfiles folder that had tons of stuff to get started. Starting from scratch, vim is great, but it feels like it could be a lot better.
I currently have:
vim-ruby
buffer ...
In eclipse, there is this handy shorthand CTRL+SHIFT+o which will auto include the import (include) statements which are needed based on the Class or module being used.
Have you found any such plugin for vim or emacs?
...
what I am using now is ,
autocmd BufWritePost *.py !python PythonTidy.py % %
It really call the tidy programe and change the file, but the vim does not reload the new file.
And I do not want to install another plugin for it.
=======================
note: I found it's dangerous about this feature, PythonTidy will will output a empty ...
my vim show tab as --->, but does not show windows ^M character.
And , how substitute it in vim.
renew ============
I check my vimrc it is set fileformat=unix
but when I open a dos file set ff is dos
...
I am using XP SP3 and have installed vim 7.3. I was following a how-to I found here in a previous thread on configuring vim for a python editor.
http://www.sontek.net/post/Python-with-a-modular-IDE-%28Vim%29.aspx
I am getting an error when starting gvim that it cannot find python27.dll. This is correct I don't have python 2.7 installed...
I lost my latest version of my .vimrc and I have no snapshots of it anywhere but I do have a vim still open that has the new functions and mappings. I was hoping that maybe someone would know how to "export" that running vim's maps and functions out to a file so I could recreate the .vimrc?
...
I want to keep my Vim and Emacs configurations under version control, but I don't want my entire home folder there (or rather, I do, but there should be 3 separate repositories). With Emacs it's easy; if ~/.emacs doesn't exist, then ~/.emacs.d/init.el is used as the init file. So I can have a separate Git repo in ~/.emacs.d/. With Vim, i...
I have this shortcut in my vimrc:
map cmt :!start TortoiseProc.exe /command:commit /path:"%" /closeonend:3 <CR>
What this does is whenever I press 'cmt', vim will open the commit dialog for the file I'm currently editing with vim.
What I'd like to do is write this command in such a way that if I put a number in front of it, it will o...
I'm planning to send emails from inside of VIM via SendEmail, but I have run into some problems.
When piping part of the buffer (or the whole buffer) into SendEmail via the bang (!) operator, the text in my buffer gets replaced with SendEmail's output. So my first question is: how do I pipe a range into an external command and discard ...
When dealing with .vimrc configuration files in Linux and Windows (two systems I've been using so far) and trying to keep configurations cross-platform, I've found mainly two solutions:
Create a new folder for vim files in /home/user, so both systems have the same vim dirname (instead of default .vim in linux and vimfiles in Windows), ...