Invisibles are the characters that are in your editor anyways, but they are usually not displayed with anything but empty space or simply completely invisible, like line breaks. Showing invisibles in Vi or Vim can easily be done by changing the vim config with the Continue reading “Showing Indentation, Spaces, Tabs (Invisibles) in Various Editors”
listchars properties. Other editors have config files or an easy to use UI like Atom or Visual Studio Code.
How do I quit vim?!
Has become a running gag of the computer nerd community for a few decades now, but recently I was asked by a fellow developer how to quit Continue reading “How to quit vim / nano / any text editor on Linux”
vim. Colour me surprised when what I saw in the terminal was not vim, but nano. After a few days of procrastination and consideration I thought it wouldn’t be too much to write a post about how to quit different text editors.
A common annoyance when setting up atom on a new machine is that one of my favourite packages, vim-mode-plus keeps overriding a native setting, that I want to use. The nice select the next occurence of this word or variable feature is overridden by
vim-mode-plus:scroll-half-screen-down, which honestly isn’t that useful at all.
All you need to do to revert the plugin from occupying a key binding is to open your
keymap.cson and to insert the following:
Continue reading “Quick Tip: Keep ‘Find Next Word’ with Vim Mode”
My favourite plugins for atom are both targeted towards developers and also writers. Atom has become my default source code editor, I also use it for a book I’m working on and most of my blog posts. Last update: 2016-10-24.
Atom Theme: Seti/Monokai
First of all I want to promote the SETI-UI and Monokai packages, since they just make Atom look great. If I stare at something for hours a day, it might as well be pretty. If you’re looking for more atom syntax themes, check out my post about them: Best (dark) Atom Editor Themes.
apm install seti-ui
Package link: seti-ui on atom.io
Continue reading “My 7+ favourite atom editor plugins”
The multiple selection feature of Sublime Text is something that helps you a lot when you’re aiming to change a variable name multiple times in one file. This is immensely practical, also while re-factoring, changing font-names, colours or anything that appears more than one time in your files. The plugin can be found here: vim multiple cursors, I’ve also added it to my vim plugin repository.
Here an example, if I for example want to rename my callback function to cb:
The keybinding for selecting the next match is CTRL+N, to delete: x and to type something new: i (going to insert mode) cb.
GitGutter is an amazing idea, that gained a lot of traction through the Sublime Text plugin created by J.D. Isaacks. The plugin lets you see which lines have been changed since the last git commit, right in your editor, while you’re coding. This is brilliant and it will prevent you from unwanted changes and make you more aware of how you’re changing code on a project that you don’t maintain alone. Continue reading “Best Git Tools: GitGutter – show changed lines in your editor”
Linux and other open source software play a significant role in technology nowadays. Linux runs on most supercomputers, server systems and most smartphones (inside Android) in the world.
I also use Linux on the desktop and especially for development it’s just great. You can test in an environment that is very close to your server and there’s many great tools that are made for developers. Also Linux makes it easy to write your own tools. Continue reading “CigTrack Day #3: Open Source Software”
Source Code Pro is a really nice font for programming, even though it comes from Adobe. I recently banged my head into a wall of too many inconsistent answers on the internet on how to use it inside gVim/MacVim. That’s why I’m just putting down the solution that finally workd for me. Continue reading “Using Adobe’s Source Code Pro in Vim”
I’m a developer, I think shells are awesome. When I was in ninth grade I took a class in typing with the 10-finger system, which was a full year of typing dull things into an incredibly old DOS interface.
I took these classes, because I had a couple of those Linux magazines and the authors occasionally brought up how much faster things were if you just could use your keyboard, instead of your mouse. My problem was, that I couldn’t type perfectly without looking at the keyboard. Continue reading “Why Shells are Awesome”