October 31, 201213 yr I know i am a bit stupid. But what's more stupid than my small dose of stupidity is everyone constantly saying "add x to ~/.emacs file". I mean you have a tutorial or tips saying to add something to a certain file. So aren't you failing in helping people with your tutorial/tips if person doesn't know where ~/.emacs file is because you assume that person knows it? My ranting aside, could someone please tell me where to find ~/.emacs file.I want to add abbrevations, i googled a bit but because i don't understand english that well i didn't find any solutions. So where is this cursed file?
October 31, 201213 yr In most *nix based systems, the character '~' is a shortcut to the user's home directory. So, if you go to your home directory and vi .emacs, you'll hop right into it. You can do this by typing "cd ~; vi .emacs" or just typing in "vi ~/.emacs"Files that begin with a '.' are hidden files. They aren't listed unless you "ls -a". The reason no one said specificly that '~' is the home directory is because it's basic, intro class knowledge. If I tell you to go to the /etc/httpd/conf folder, I don't need to tell you to "cd /etc/httpd/conf" because you should know how to do it already. ~M
Create an account or sign in to comment