Reputation
4,361
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
4 16
Newest
 Yearling
Impact
~69k people reached

May
6
comment VIM solarized color scheme looks wrong when using tmux
I agree. Good luck, and thanks for accepting my answer!
May
6
comment VIM solarized color scheme looks wrong when using tmux
What's the value of $TERM inside tmux? It should be screen-256color.
Apr
30
comment Plugin to fix vim's key bindings in terminal
If it only where that easy...
Apr
28
comment Using 256 colour themes not working in vim/putty
Thanks! The "tilde end" is the NonText highlight group, you can adapt it. The reason for the discrepancy might be the reduced number of available colors, i.e. a slightly off-black is impossible to achieve.
Apr
20
comment Background color mismatch in vim and tmux
I think you need to set TERM=screen-256color inside tmux.
Apr
16
comment How to search a line contains N target characters/patterns in vim?
That's like \(; it just avoids capturing (which is not needed here).
Apr
15
comment modify file using awk or sed
Have you tried anything so far? By showing your attempts and describing what parts you are having difficulty with, we get a better understanding of your proficiency and can give a more precise answer. As it stands, it just looks like you've posted a requirement and want someone to write your code for you.
Apr
8
comment VIM switching between split buffers
Then it's still there. Do you use persisted views or sessions? The mapping definition might be contained in there, too.
Apr
8
comment VIM switching between split buffers
Check again with :verbose map <C-w>; you need to restart Vim for the changes to take effect.
Apr
8
comment VIM switching between split buffers
Where does that one come from? It prevents your use of Ctrl-W commands. Either remap that to a different set of keys, disable it (if it comes from a plugin), or remove (if in your .vimrc).
Apr
5
comment Glitch with auto chmod line in .vimrc
Vim usually doesn't care about syntax errors; do you have any plugins like Syntastic?
Apr
1
comment Vim keep showing error message about color scheme for no reason
Ah, great! I've added an answer; please accept by clicking on the outlined check mark next to it.
Mar
31
comment Vim keep showing error message about color scheme for no reason
But the output complains about MyColor. Seems like the g:colors_name variable inside the script is using inconsistent case. Try renaming either to be consistent, then try again.
Mar
31
comment Vim keep showing error message about color scheme for no reason
Why did you put this to /usr/share/vim/vim74/colors/? That location belongs to Vim; you might lose your customizations on upgrade / reinstall of Vim. Is the script name exactly MyColor.vim (including case)?
Mar
18
comment How to assign Vim's showbreak a value locally to a buffer?
'showbreak' is a plain option, not an internal variable. You're just using the :let &... syntax to modify it; :set would work just as well.
Mar
16
comment Is it able to only allow yanked content went to clipboard, meanwhile deleted content doesn't? [vim]
No, that's certainly not how you would do it! There's an example at :h g@; you can also look at my RepeatableYank plugin.
Feb
3
comment some POSIX Bracket Expressions not working
I think you just got false positives from those.
Jan
5
comment Make vimdiff display different lines as different lines (not partially different)
I interpreted the problem in a way that there should be a threshold for "similarity", so that 99%-differing lines should not be marked as changed, but 10%-differing still are. This is what your proposed solution doesn't achieve (and which indeed would require source code changes).
Jan
5
comment Make vimdiff display different lines as different lines (not partially different)
You can also just do :hi! link DiffChange DiffText. But isn't this solution just papering over the problem?
Dec
18
comment vi commandline, goto line and column
It matters for non-ASCII characters, which are represented by more than one byte. Also, a Tab and control characters usually occupy more than one display column.