Skip to main content


The best text editing experience you will ever get. It is worth learning it as you will start thinking about text editing differently.

I use VSCode with vim bindings as my main code editor. I also use vim bindings for any apps that deals with texts like Obsidan or Sublime Text. Vim bindings often mean modal bindings, i.e. I use Vimari to move inside Safari browser faster.

Neovim is modern version of vim and my vimrc can be found here. And here are all the plugins I have setup with it.

It switches between Ayu Light and Ayu Mirage themes as I change between macOS appearances.

Ayu Light

Ayu Mirage

I also use a little trick where I change the cursor from thin block in insert mode to underline when in normal mode. This lets me quickly know which mode I am in. I do same in VSCode as that's my main editor to write code in. I do look into new vim plugins for inspiration for plugins to build in VSCode.

This & this are nice overviews of how you can build your vimrc from scratch.



" Insert text in the end of each line
" s/ - substitute.
" $ - the end of the line.
" / - change it to.
" , - a comma.
" Lowercase line
" Find char backwards
" Delete backwards until char
" Visually select until char
" Delete all lines in file
" Yank two inner words
" Yanks first and second words (with the trailing space) in the unnamed register
" Delete until start of line
" Yank entire file
" Select entire block
" Visually select until end of line
" Visually select paragraph or function
" See whats in a buffer
" See insides of q buffer
:echo @q
" See registers
" Delete until end of file
" Visually select block
" Start recording macro
" Record to register d
" Delete char under cursor
" Yank inside tag. Can yank an XML tag for example
" Make multi line search.
" Will carry over to new line
" Inclusive search
" Delete until searched string. Won't delete string itself.
" Search and replace
" Run command on startup
" Run ':Goyo' on startup. Put it in .vimrc
autocmd VimEnter * Goyo"
" Insert text at start of each line in file
" Insert // at start of each line in file
" Replay last macro
" Delete until character
" Centre current line
" Put results of command into a register
" In normal mode, will put results of d$ command into _ (black hole register)
" Run macro on whole file
:%normal @x " will run macro x