Best of TJ DeVries — 2024
- 1
- 2
- 3
TJ DeVries·1y
Neovim has it's own terminal?!
Neovim has a built-in terminal that you can use instead of other terminal multiplexers. This post covers how to use the Neovim terminal, including important shortcuts and customization tips. It discusses creating workflows and automating tasks within the terminal using Lua. The author also shares a few personal preferences for making the terminal more user-friendly.
- 4
- 5
TJ DeVries·1y
Neovim Tutor: Explained
The post discusses the importance of practice in mastering Neovim and presents a basic tutorial on using Neovim's tutor function. It covers fundamental commands and navigation techniques essential for efficiently editing text. The advice emphasizes hands-on practice and familiarization with core commands like hjkl for movement and various delete and insert commands.
- 6
TJ DeVries·1y
Buffers, Windows, and Tabs! OH MY!
Understanding how to navigate and manage buffers, windows, and tabs in Neovim is crucial. Buffers are the in-memory text of a file, windows allow you to view these buffers, and tabs are collections of windows. Key commands, mainly using the control W shortcut, enable efficient navigation and management of windows, including moving between splits and closing windows. Control W followed by directional commands is critical for moving around. Floating windows can be closed quickly with f close or by cycling through with control W.
- 7
TJ DeVries·2y
Octane: A Query Builder for OCaml
Octane is an OCaml library designed for constructing type-safe SQL queries, offering a more confident interaction with databases. Unlike traditional ORMs or Active Record patterns, Octane focuses on maintaining the typic safety inherent in OCaml, ensuring that operations like creating tables, inserting records, and writing queries are reliable and less error-prone. The library turns SQL strings into type-safe OCaml functions, enhancing developer confidence and reducing runtime errors.