Oh-my-zsh, Tmux, Vim

Screenshot_20171008_054737
My Konsole as of October 2017

This time, I want to share my dotfiles of my new toys: zsh, tmux and vim at once. I’ve  found out what’s tmux actually, a couple of days ago by asking to a Telegram channel, @vimid. It’s “terminal multiplexer”, some kind of, it can break your single terminal session into multiple sessions.1 So, if I made use of Konsole tabs to use vim and php artisan serve of Laravel at a time then, now I just need tmux to run them concurrently.

Oh-my-zsh

What I know about zsh is not more than a console shell for macOS, before. Although, I did realize that it’s included in every Linux distributions as well. So, I thought I wouldn’t touch it no matter what. 😀

But this is my turning point to change my idealism. 😀 I just installed it, little bit configuring, and set it as bash replacement to Konsole. Umm, am I now look like a half macOS user? 😀

So, for zsh, I installed oh-my-zsh plugin and did some tweaks for the look of the prompt. I wanted a Powerline-like look, but I didn’t want to use Powerline. So, I installed powelevel9k theme instead. And now, I’m very satisfied, as it looks much nicer than my previous console.

Tmux

I don’t configure tmux much, since I just know it not that long. I thought it was just like bash or other console shells. As I had been trying it once, one day. I run it, and nothing appeared other than a command line shell. And I just realized how it works lately. 😀

In my config, I don’t do more than set default shell to zsh, and install tmux-powerline-theme with tpm.

Vim

As for vim, I have known it for quite long time. The first time I used it, like many developers out there, I didn’t know how to exit. 😀

But yeah, slowly but sure, I somehow have a little knowledge how to handle it. I have configured it quite seriously as I use it for my daily need: coding. But still, I’d say, I haven’t got its full usability yet, as I mentioned this before.  Just check out my .vimrc below, in case you so curious for what plugins I installed.


  1.  https://fedoramagazine.org/use-tmux-more-powerful-terminal/ 
Advertisements

Hello, Vim!

Yeah, eventually I’ve got a chance to meet Vim more intensively from now on. Who is she? No worries! She is not a girl nor a lady. You’re still the one for me. 😀

“Vim is a highly configurable text editor built to enable efficient text editing. It is an improved version of the vi editor distributed with most UNIX systems.” That’s how she describes herself. 1 So, basically Vim is a text editor. Period.

Then, comes a question, why Vim? Umm, frankly, it’s hot lately. I wonder how awesome it is. And yes, it is. Also, considering my needs of text (code) editing, and the hardware spec I have, I think Vim worth trying. Initially I have Atom, as I want something more legal than Sublime Text, that often (I mean always) remind me to purchase it. But with a lot of plugins I installed, it became more laggy. So I broke my idealism to avoid ST, and make use of it instead, until now sometimes. But ST is quite memory-greedy for my 2 gigs laptop, that I also regularly needs browser to run hand in hand while coding. I’m a coder by the way. 😀

Then the hero eventually came in. It’s Vim that now becomes my main text editor. Although I just already use it intensively since 2 or 3 weeks earlier. In other words, I am still getting used to it as a newbie Vim-er, of course. So I haven’t found it’s real hidden magic either. I’m sure with consistency and persistence, I’ll have it’s main enticement: productivity. And for now, I have to get along with her more. Wish me luck. 😀

Speaking of which, I use Vim in my Fedora KDE Spin, and run it in the beloved Konsole app. Here’s my screenshot of Vim.

Screenshot_20170816_101047.png
Vim with NERDTree plugin, makes it looks like GUI-based text editor with left pane