My gvim (I normally just use vim) works the same as vim, along with the added menu at top.
You should be able to type :set nu command directly into gvim. The colon moves you to ex mode so you will see the : at the bottom. Then type in set nu command (set nu) and press ENTER. Hopefully, the line numbers appear!
Once that works, you should be able to type in the other diagnostic commands like :version and the others, to figure out where gvim thinks _vimrc lives.
According to that article, you can even directly edit the _vimrc file, whichever one vim is using, from within vim or gvim, with :e $MYVIMRC command.
The _vimrc lines do NOT start with : colon. The : is only needed from within vim, to switch to ex mode.
On UNIX Systems, vi (and ex) will look for the EXINIT environment variable. If it is set, it names a file containing ex commands. If the file exists, is readable, and the file's owner matches the current process's UID; then vi will read initialization commands from that file. If not; vi will look for the file .exrc in the user's home directory. After that, vi will look for .exrc in the current directory.
On Windows, it could be looking for _exrc instead of .exrc. With vim instead of vi, it could also be looking for .vimrc or .virc (or _vimrc or _virc) instead of or in addition to .exrc (_exrc).
If you can figure out which file your vi or vim is trying to read, the command you want to add to that file is:
If you can't figure out which initialization file to use, you can always enter the command:
any time you're in command mode during your editing session to set the tabstops being used for your current editing session.
So with all the replies I have found that my $HOME directory
is pointed at c:\documents and settings\owner and if I put
a copy of the _vimrc file there everything works. Now how
do I change the path to $HOME?
Why do you want to change the path to $HOME? I would advise not trying to change. Is there something not working at this point? If it's reading the _vimrc file, I might just be satisfied and leave well enough alone.
If you want the _vimrc file somewhere else, run the :version command and see the other possible places to locate the file. It will read whichever one it finds first. On my system, it gives three options:
I'm using this code to watermark images (add a logo). How do I change the size of the watermark to cover a certain percentage of the image
ffmpeg -i folder/s886_01.jpg -i watermark.png -filter_complex overlay=15:15 output.png (2 Replies)
Hello,
I have a problem with Greek subtitle font size when I map a subtitle file into a video in ffmpeg.
I ran below code:
ffmpeg -i video.mp4 -sub_charenc CP1253 -i video_sub.srt -c:v copy -c:a copy \
-c:s mov_text -metadata:s:s:0 language=gr mapped_video.mp4
When I play it in VLC,... (2 Replies)
So I don't really know anything about Frames, Windows, or Panels.. I just got interested in Java because a coworker is doing classes in it. I know some other languages but never did GUI things...I literally just got NetBeans, and drew up a dialog using it's Design view.
All I want is for the TAB... (0 Replies)
Hi Guys
I have just upgraded to kde4 and i noticed that the default tab size in konsole are massive, i cannot see the setting to change this
any hlep
thanks
Adam (0 Replies)
I am trying to navigate between directories using cd.
However, the only way to distinguish directories now is by seeing the "/' after the directory names, which is quite inefficient. How can I make the directories look in color when typing cd and then using the tab key to list the files and... (1 Reply)
I have a number of columns separated by tabs but the spacing between them are of different sizes. Is there any way of separating them with tab of even size?
Thank you. (4 Replies)
Friends ,
I know the most cases the unix operation system holds the default block size 4MB . In AIX 5.3 and AIX 6.1 , also use upto 4 MB as its default block size .Now I want to change this value from 4MB to 8MB as AIX block size . Is it possible to change the block size value in AIX 6.1/5.3... (2 Replies)
Hi,
I would like to change the font size in bash. I know how do it in ksh:
F_VDOBLE="\033#6"
print "${F_VDOBLE}Esto es..."
But in bash I don't know
Could you help me please?
Many thanks! (5 Replies)
Good morning folks!
I'm new here.. trying to find an answer on how to resize filesystem. Need to add some space to c0t0d0s5, /var... Is it possible at all?
JV (9 Replies)