Questions tagged [gvimrc]
gVim's configuration file.
32
questions
0
votes
0
answers
397
views
Unable to include plugins using vimrc . Error for each line of my vimrc
I have installed gVim and trying to have customizations, i.e, including plugins.
https://raw.githubusercontent.com/kinbiko/dotfiles/master/vimrc
Used multiple plugin managers, but in vain.
Error ...
3
votes
1
answer
3k
views
vim - What's the best way to set statusline color to change, based on mode
I've tried to improve my vim experience trying to have the vim statusline color to change everytime the mode changes.
I've triend this:
(found here)
"Automatically change the statusline color ...
1
vote
1
answer
184
views
How to map commands in Vim?
I am using gVim and there's no vertical split option in it's File menu item.
I want to map the default :split and its abbreviation :sp to :vsplit and :vsp respectively, so that it replaces the ...
0
votes
1
answer
123
views
Vim: Error message on sourcing, but not on start up
I'm pretty new to Vim/gVim and am probably doing something wrong. What I want to do is completely reload my configuration (like a restart), but while gVim is running (keep the current session). Here ...
0
votes
0
answers
29
views
Cross-platform .vimrc/_vimrc [duplicate]
I use vim on windows (GVim portable off a USB stick) and Linux (standard command-line vim) and would like to synchronise my settings (_vimrc or .vimrc respectively). As far as I can see (I haven't ...
0
votes
1
answer
38
views
how to cmap <tab> like the tab in the termimal?
when use :e to open files, how to cmap the "Tab" to the function which is similar to the tab function in the terminal? (like when you press tab, it will show all matching files and it will pick the if ...
1
vote
1
answer
2k
views
Stop Vim from automatically tw=78 line-break wrapping text files
I recently updated Vim, and noticed that whenever I open a .txt file, the option tw=78 is set. (Which makes Vim automatically break lines when they would have exceeded 78 characters.) I don't like ...
0
votes
1
answer
239
views
How do I open multiple files as part of gVim's launch procedure?
I use gVim a lot in Windows at work to edit text files. I want $VIMRC to always be in buffer 1, and my vim_cheatsheet to always be in buffer 2. I tried putting "e $VIMRC" in my .vimrc, which didn't ...
1
vote
2
answers
184
views
How to determine what buffer was changed externally with gVim?
I am using the following Vim autocommand in my .gvimrc file:
augroup MyAuGroup
autocmd MyAuGroup FileChangedShell * call FileChanedEvent_BuffUpdate()
augroup END
function ...
1
vote
2
answers
350
views
Why is there a difference in the popup dialog from .gvimrc and command line?
I am using gVim's confirm() function to pop a dialog waiting for the user to click a button. However, there seems to be a difference in the appearance of the dialog when called from .gvimrc:
Using ...
1
vote
1
answer
406
views
Vim completion based on language
Right now if I hit ctrl + n it will complete words that are in the current document. I've also found a way to define a dictionary. I'm just unsure how to get vim to complete based on keywords in a ...
1
vote
1
answer
2k
views
Vim not making font italic when it should?
I use gvim and use the colorscheme called slate. I modified it a bit and saved the changes in .vim/colors/slate-mine.vim and all the changes take effect except for one. I wanted to make all comments ...
1
vote
1
answer
1k
views
Should I bother moving stuff from vimrc to gvimrc?
Is is worth moving gui-related options out of my vimrc and into a gvimrc if there's only a couple such options? I'm kind of inclined to keep everything in one place and house gui options inside if ...
7
votes
3
answers
14k
views
Gvim 7.4: how to save the default font setting? Any improvements from gvim 7.3?
As the following post demonstrates:
How to change the default font of gVim
on Windows 7 it is impossible to save the default Gvim font from the Gvim program.
Closing Gvim will cause it to completely ...
11
votes
1
answer
9k
views
how to turn off gvim error highlighting?
I use gvim as my text editor and the syntax coloring is great except it highlights "errors" and gives it a white background with red font. How do I turn off error highlighting? I find it annoying and ...