It wasn’t until my first real full-time job that I really started using vim. I had used emacs for a few courses in college, but never really got used to it. Now that I’ve been using vim for about 3 years, I have it configured to the point that I am comfortable performing most code editing in it.
Another tool that I recently (~1 year) picked up is tmux. It is the natural alternative to screen, which I did not particularly like. I have also customized tmux to a certain point that I am comfortable doing most terminal work in it.
All linux users customize their environment to some degree, so I have decided to upload my dotfiles on github. It contains my custom settings for vim, tmux, bash, and git. The commenting within the files is pretty sparse at the moment, but I will improve them gradually as I see fit. The repo is available on github: https://github.com/jqin/dotFiles
Here is a screenshot of my setup showcasing a vim session running under tmux through PuTTY on windows:
Hello world! I wanted some kind of content to go along with my first post, so I decided to make a quick tutorial on starting a new GitHub repo.
GitHub is the most popular git repository hosting service on the web right now. You can create as many public repos as you want with a free account, but private repos will cost you a few dollars a month. I’m sure most git users are familiar with the most common commands (
git commit , etc.) but some people like me still have to look up the commands for initializing a new remote repository. Here I am consolidating all that info to help myself and others streamline this process.
First, create a new repository on GitHub, but do not check the option to initialize the repo with a README. This is because we want the repo to be empty so we can push our local version to it.
On your local box, if this is your first time using git, you will need to set your username and email using these two commands:
$ git config --global user.name "First Last"
$ git config --global user.email firstname.lastname@example.org
Then cd into your working directory
$ cd sample/
Initialize the repo
$ git init
Initialized empty Git repository in /home/user/sample/.git/
Add the files
Make the first local commit
$ git commit -m "Initial commit"
[master (root-commit) 6e96c5e] Initial commit
1 file changed, 33 insertions(+)
create mode 100755 backup.sh
Finally, add the remote GitHub repo and push it out
$ git remote add origin https://github.com/jqin/sample.git
$ git push -u origin master
Username for 'https://github.com': jqin
Password for 'https://email@example.com':
Counting objects: 3, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 496 bytes | 0 bytes/s, done.
Total 3 (delta 0), reused 0 (delta 0)
* [new branch] master -> master
Branch master set up to track remote branch master from origin.
You should now be able to view your repo on github.com!