For the longest time I have been hopping from editor to editor. I have used Notepad++, Sublime Text, Atom, and recently Visual Studio Code. I have known so many people who keep telling me to try and use Vim. They say you will love it. So, for the past 6 months I have been using Neovim. It has been a long challenge to not go back, but it is growing on me as an editor. Now I am not here to tell you that Vim is better than any other editor. I am not here to tell you that you should use it. I want to tell you why I enjoy using it and then you can make your own decision.
So the hardest part for me in using vim/neovim was learning the keyboard shortcuts. If you are not a keyboard shortcut person, then using Vim is out of the question. I like to use them but never train myself in them so this is one of the first things I had to do. I had to start memorizing them. The problem I ran into was there was just way too many. Then a friend of mine told me that instead of just opening a help document and learning them all, he told me to learn a new command a week. He told me that when I find a new command to learn, write it on a sticky note and put it on my monitor. So that is what I did, I found that I was hitting w or e to get to the beginning or ending of a line. So the first command set that I need helping getting into muscle memory was Shift+I and Shift+A.
So as I was watching others on YouTube and reading articles, they recommend learning h,j,k,land to do so they recommended, https://vim-adventures.com/. So I did that and learned to become a master of those keys. Man did that save my fingers so much. So then I had to train myself to not use the arrow keys to move. To do this, in my vimrc I put in a snippet to echo “Stop being stupid!”, thanks Nick Nisi.
The other big mistake I made when I first started to learn vim, was to use someone elses vimrc verbatim. You should never ever do this, ever. You should start off with an empty or bare essential vimrc. Then when things are not what you need it to be, then add it to your vimrc. When I first started I did this and man it made things so confusing. Half of the plugins, I never used, others caused weird behavior that I was not expecting. So after awhile. So soon I ended up with my Neovim/vim look like this:
So if you want to look over my vimrc, you may do so but remember, don’t just copy it and use it as your own as it may not be what you need. Take pieces of it. Any questions, please comment below and I will try to answer them
Its been a long time and I figured I should log in and see what needs to be upgraded. So I updated all the plugins and I even upgraded to WordPress 4.8. Working on my next tutorial, so keep an eye out for it
Setting up a new computer can be a tedious and tiresome process. I am not the person that has an exact image of my machine, so when things go wrong I just load that image. I would never have something like that because when I am ready to re-install, I want to start as clean as possible.
At some point I went ahead and starting backing up my dotfiles in Github. This starting to make things easier but it was still a problem. I still had to install all the apps I needed to do things. Then the problem was, what and how do I install these things again. So then I watched a video by another developer by the name of Nick Nisi. He built a script to not only get his dotfiles but also it started moving things to where they need to be. Take a look at the video below where I talk a little more about this topic. You can view my current dotfiles here.
So some of my Twitter followers have started to talk up, using a Linux OS called ElementaryOS. Its suppose to give you the look and feel of OSX. So after some many tweets, I have decided to install this in Virtualbox and give this a look over to see if its possible to replace my Windows/Mac environment. I have used Linux before, mostly and Arch/Ubuntu guy. So lets dig in and talk about some of things I liked and disliked.
As soon as the GUI came up for the installer I could feel the Ubuntu. Now there is nothing wrong with this at all. The install went very smooth and had no issues going through it
Got to say after logging in, I really liked the look. You can instantly tell that this is a nicely themed Gnome desktop manager. I love the keyboard remapping to open the application menu to Win key + spacebar. The dock at the bottom makes it look like a Mac desktop
I really like the font and theme of the terminal application.
So there were some ugly things that came up The performance in Virtualbox was not good at all. Maybe this OS is just destine to not be virtualized.
I want to install this as a main OS and try to drive this and see how it goes. It has potential but really want to see how it works when you have a retina and non-retina display. That has been my biggest issue with all Linux distro. The support for multiple different DPI screens is a challenge to work with
So I finally converted all my posts and they are back into WordPress. So now you are probably asking yourself, what is next? Is this site going to go dormant again? The answer is, no I am not going dormant again. Here is the list of things on my TODO list
Find a better temp theme
Add some WordPress plugins to enhance the experience
Build my own theme because, well, I am a web dev and I should have my own made theme
After a long time away, I have decided to move back to WordPress. I was using Octopress for the longest but figured it was time to move back. The problem is, I lost the precompiled files for Octopress so I need to manually bring the old posts back.
As an automation developer, I have learned how to write code in Java. When I am having an issue, one of the nice things that you can do is debug your code, line by line. For the longest I had wished that something like this existed in PHP. I have come to find out that you can actually debug code, like I do in Java. This is such a helpful task because I do not have to waste time using var_dump and such on variables or results. In your apache/php server you need to install and or enable something called Xdebug . I will work on a tutorial on how to use xdebug while writing code in Sublime Text 2. So keep an eye out on my blog and or YouTube channel for this tutorial.
I finally took the plunge and converted from iPhone to Android. I just bought the Samsung Galaxy S3. I guess buying the Samsung Galaxy Tab 2 has made me make the change. It could also be due to the changes that are rumored for the iPhone 5. I have owned it for few days and so far I am liking it. In the following weeks I would like to post on how I am doing things that I use to do with my iPhone. I have read a few of these blog posts, but I am sure some would love to hear my perspective.