This article was inspired by this other post I saw recently:
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:
π 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.
Vim-fork focused on extensibility and usability
Documentation |
Chat |
Twitter
Neovim is a project that seeks to aggressively refactor Vim in order to:
See the Introduction wiki page and Roadmap
for more information.
Features
- Modern GUIs
-
API access
from any language including C/C++, C#, Clojure, D, Elixir, Go, Haskell, Java
JavaScript/Node.js, Julia, Lisp, Lua, Perl, Python, Racket, Ruby, Rust
- Embedded, scriptable terminal emulator
- Asynchronous job control
-
Shared data (shada) among multiple editor instances
-
XDG base directories support
- Compatible with most Vim plugins, including Ruby and Python plugins
See :help nvim-features
for the full list!
Install from package
Pre-built packages for Windows, macOS, and Linux are found on the
Releases page.
Managed packages are in Homebrew, Debian, Ubuntu, Fedora, Arch Linux
Gentoo, and more!
Install from source
The build isβ¦
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! ;)