Ahmed Khatib
  • Home
  • Academic
  • Machine Learning
  • Vim

vim

I love vim

Minimal and Clean Vim Airline Theme
vim

Minimal and Clean Vim Airline Theme

Remove the noisy colors in your Vim Airline theme. No status line background, no bright highlights, just low contrast text. Minimal use of color where needed.

  • Ahmed Khatib
4 min read
Vim Format JSON Files
vim

Vim Format JSON Files

Skip the online JSON formatters! Run this directly in the vim command line and your minified JSON will be indented and readable, in your current buffer.

  • Ahmed Khatib
1 min read
vim

Vim Close All Other Splits (windows)

If you work with multiple splits and want to focus on only the current window, you may find yourself jumping around closing all other windows.

  • Ahmed Khatib
1 min read
vim

Vim Auto Save and Load Views

Simple vimrc addition to automatically save your buffer's view and load it the next time you open the file.

  • Ahmed Khatib
1 min read
Making netrw Clean and Minimally Disruptive. Then Stop Using It.
vim

Making netrw Clean and Minimally Disruptive. Then Stop Using It.

Before jumping to a project drawer/file browser plugin, let's make netrw clean and minimally disruptive. Then stop using it.

  • Ahmed Khatib
3 min read
vim

Can You Give Up Your Arrow Keys in Vim?

Disable the arrow keys in vim and you will quickly build better habits for navigating pages, paragraphs, lines and words.

  • Ahmed Khatib
1 min read
vim

Vim Override Specific Highlights in a Color Scheme Without Changing its File

Until recently I've always forked vim color schemes and tweaked a few bits, most often the background color. I use vim-plug and I didn't want to lose my changes so I'd fork, edit, commit and push- tedious and annoying.

  • Ahmed Khatib
1 min read
vim

Vim Jump to Next and Previous Blank Line

After arriving at a page using ctrl + u or ctrl + d, jumping to the next or previous blank line can help navigate quicker than j and k.

  • Ahmed Khatib
1 min read
Vim Fuzzy Find Files Without a Plugin
vim

Vim Fuzzy Find Files Without a Plugin

Skip the plugins, vim can fuzzy find through your project just fine. And now you can simply type part of the file name. You even get tab completion and selection menu

  • Ahmed Khatib
1 min read
Ahmed Khatib © 2019
Latest Posts Ghost