Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
If you are not familiar with vim, I suggest you start playing with the vimtutor first. I’ll try my best to explain each keys that I have pressed. In this blog, I’m using Neovim, but you can still follow along even if you’re using Vim. I have aliased my nvim to vim with alias vim=nvim. Please follow along with the demonstrations, so you can get used to this workflow.
This is a JSON file with a content that is not properly formatted. We also want to remove some noise, we only want the id, and the name properties of the characters. We can do this by using the jq command. We can also use any vim plugins like prettier for different file types.
If you are not familiar with vim, I suggest you start playing with the vimtutor first. I’ll try my best to explain each keys that I have pressed. In this blog, I’m using Neovim, but you can still follow along even if you’re using Vim. I have aliased my nvim to vim with alias vim=nvim. Please follow along with the demonstrations, so you can get used to this workflow.
We can improve our workflow by adding intellisense using the Language Server Protocol (LSP). LSP is a protocol that can help provide some auto completion, quick documentation, go to definition, and many other features. You can use any LSP provider, at the time of this writing, I’m using coc.nvim for my LSP.
I have navigated to the text to replace the surrounding quotes, then used tpope/vim-surround plugin.
We can improve our workflow by adding intellisense using the Language Server Protocol (LSP). LSP is a protocol that can help provide some auto completion, quick documentation, go to definition, and many other features. You can use any LSP provider, at the time of this writing, I’m using coc.nvim for my LSP.
APIs mostly use JSON as their payload. We can easily create them using jo. We can read the command output and put it to your current buffer. For example, we want to create a JSON object with a lower case uuid value for its id property, and a simple name.
You can check my dotfiles in github.com/zaerald/dotfiles. Please note that my dotfiles continues to evolve, and there’s a higher chance that it is different now compared at the time of this writing.