This article was inspired by this other post I saw recently: My beautiful Linux development environment. It always amazes me that such weekly articles always get so popular. So I wrote another one.

🔍 Quick Overview


🐧 Manjaro

Manjaro is a Linux distribution based on ArchLinux. It’s a rolling release, which means that you get updates for your apps very quickly. It can be great for developers, because we don’t want to wait to have security or featured updates, but it’s also dangerous because such distro can break more easily. So install it at your own risk! That being said, I must tell you that I’m not a great expert of Linux, and I never got stuck with my Manjaro.

Pacman is the default CLI package manager. It’s very basic and rudimentary. Now I use yay which is more user-friendly. If you prefer graphical apps, have a look at pamac.

🗔 Deepin Desktop Environment

When it comes to choosing the right desktop environment for a Linux distro, we’re often forced to select the less horrible one. You may think I’m a bit excessive, but many well-known window managers (Gnome, KDE, Cinnamon, xfce, …) are, in their default configuration, just awful.

After having tried many of them (xfce, Gnome, Budgie, i3wm, awesomewm), I finally opted for Deepin Desktop Environment. It works like a charm out-of-the-box and as I’m a lazy developer, it was just perfect for me. The look and feel is clearly inspired by macOS. The dock is very similar, the settings panel also. It’s both pure and elegant. Its main advantage is also its main drawback: it’s quite not configurable at all. So either it fits your need, either you choose another one.

Deepin Apps Browser

Deepin Settings Panel

Deepin Quick Launcher

Deepin File Manager

Albert

Albert is an Alfred-like launcher that brings you many features in a simple search bar. Just invoke it by some user-defined hotkey (I use <ctrl>+SPC) and start typing!

You can trigger web searches, in-line translations, calculations, shell commands, … and it’s widely extendable with plugins.

👨🏼‍💻 Intellij Ultimate + Go plugin

As a Go developer, I am very pragmatic. Thus, I chose the best tool for my needs, which is Intellij with Go plugin. It has all I need in a modern IDE: completion, browsing, debugging, refactoring, syntax highlighting, … But it’s not a definitive choice. I already tried, with more or less success, several other IDE: VSCode, Atom, Vim. While the first two didn’t fully work out-of-the-box, the last (Vim) was pretty impressive (with SpaceVim). But as I wasn’t very comfortable with keyboard shortcuts, I finally dropped it for Intellij. I may reconsider this very soon…

👽 Guake + Tmux + Fish + Vim + Modd

Under Linux, you need a shell to run commands. But this shell can’t run alone. It needs a terminal emulator. So imagine you want to edit a file, you’ll need to run a terminal emulator (say xterm), that will launch your default shell (say bash), and then you’ll be able to run vim. It’s like russian dolls (xterm > bash > vim). And if you want to split your terminal in several panes, you’ll need another layer between your terminal emulator and your shell: tmux (xterm > tmux > bash > vim).

🧙‍♂️ It’s the magic of Unix interoperability: each app does its job well, and only its job.

💻 Guake

Guake is a drop-down terminal inspired by the terminal used in the game Quake. I customized it to remove scrollbars, tab bar and title bar so that it just looks like a nude terminal. By default it’s hidden and it appears when I press <F12>. I go full screen with <F11>.

My conf:

🤖 Tmux

Tmux is a powerful terminal multiplexer.

screenshot by @gpakozs

I posted an article about my custom setup earlier this year. Have a look on it if you’re interested: Building a Custom IDE with Tmux.

🐟 Fish shell

Fish is a user-oriented shell with powerful features like auto-suggestion, completion, command colors, …

As the shell is the place I spend most time in, I need to have the most useful and clear information in it. That’s why I use SpaceFish prompt. It empowers you with git information, version of your favorite language, Docker’s version, Vi mode, last command status & duration, …

I also use oh-my-fish framework to extend the shell with plugins (I recommend grc, g2 fzf, pj & z).

📝 Neovim

Neovim is a refactor of Vim that brings a better plugins system and that is easier to contribute to.

SpaceVim is a Vim distribution with some default configuration for developers. It comes with an outline (press <F2>), a tree view (press <F3>), and many supported languages (golang, php, python, javascript, …) for IDE features (completion, syntax highlighting, refactoring, code browsing, debugging, …). The configuration is made easy with a simple TOML file. It’s a good way to step into Vim for newbies.

🕺🏼 All together

Below is a tree-pane view with the following panes:

  • Vim in the main pane (golang SpaceVim layer, with Tagbar and Nerdtree plugins)
  • modd in the bottom-left pane to run my unit tests on modifications
  • a shell in the bottom-right pane to run git commands (git lg)

👾 List of awesome dev CLI tools

  • dockly: Docker UI in CLI
  • httpie: awesome CLI HTTP client
  • jq & fx: CLI JSON viewers
  • lnav: a log file navigator
  • glances: an eye on your system
  • bat: cat clone with syntax highlighting and Git integration
  • exa: the ultimate ls
  • tig: a powerful git wrapper for CLI users
  • newman: automate your Postman tests in CLI or CI/CD
  • icdiff: a user-friendly diff tool (to use with git)

Here it is!

I hope you found it useful. Don’t hesitate to suggest other tools in comments! Don’t hesitate to say if you’re tired of seeing such “awesome” articles! ;)