Index
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec velit quam, ullamcorper quis enim sit amet, luctus gravida massa. In mattis dui dolor, id convallis quam euismod et.
Something important
Donec semper elementum tellus sit amet efficitur. Vivamus ipsum libero, vehicula quis tristique placerat, viverra et tortor. Nullam a tortor ultrices, feugiat lacus vitae, sagittis dui. Nullam eget est eu lectus mattis rutrum. Ut tempor lobortis magna non malesuada. Fusce rhoncus enim et diam fringilla condimentum. Sed dictum viverra lectus, sit amet suscipit justo egestas ut. Integer volutpat ante mauris, molestie iaculis ligula ultrices eget. Pellentesque consectetur orci vulputate, fermentum leo ac, vestibulum magna. Nulla accumsan eros dapibus finibus elementum. Aliquam imperdiet eros a magna imperdiet facilisis.
About modal editors
Modal editors are text (or code) editors that have multiple modes. Vi, the most famous example of them, has a normal mode, insert mode (and replace mode), command mode and visual mode. Why, though? Let’s reference Kakoune:
The first thing to realize is that non-modal text editors are extremely biased towards insertion. They make insertion easy (by making the default behaviour of most keys to insert a character into the buffer) at the expense of making most other operations suboptimal.
Some more gibberish, huh?
-
Despite their name, code editors are not only about editing, but also about code navigation. Programming is a hard task partly due to the huge amount of context we have to keep in mind, and being able to quickly navigate code helps us refresh that context, by looking at definitions, implementations, and comments.
-
Although code editing itself is not the most important part of programming, it still takes non-negligible time to perform, and can be optimized by using better tools.
-
Finally, a programming career spans a few decades, so investing a few weeks to improving our editing and navigating speed is definitely worth it.
And here is some Java:
class HelloWorld {
public static void main(String[] args) {
// The `println` function adds a line feed at the end.
System.out.println("hello world");
}
}
Donec semper elementum tellus sit amet efficitur. Vivamus ipsum libero,
vehicula quis tristique placerat
, viverra et tortor. Nullam a tortor
ultrices, feugiat lacus vitae, sagittis dui.