naturally

Reply to this note

Please Login to reply.

Discussion

In Japan, there is a famous doujinshi called Spartan vim that recommends natural vim.(P19-P20)

The doujinshi states that interactions between plugins affect operating speed and keymaps.

Being able to use vim without plugins is respected by some Japanese vimmers.😊

https://files.kaoriya.net/docs/SpartanVim/SpartanVim-1.0-online.pdf#page20

I don’t use plugins. I used to use a lot but instead I have just switched to external tools that do things like grep with ripgrep and produce vim launch commands

I have a demo of this here:

tags: https://asciinema.org/a/PNOAZY6fbcX1jY73I8Wlpw7ok

but other than tags I have ripgrep for finding contents and filenames

Looks very fast.

I put too many settings in init.vim and it became slow.😂

I would like to try this once. 📝

I basically copied the ctrl-r mechanism in bash, instead of searching history, it pastes in a generated command based on then command I selected with fzf.

The commands form a trie:

http://git.jb55.com/citadel/file/dotfiles/commands.html

So i type “ctrl-f”, which launches fzf on this file with an initial search of “^”. then type a sequence of characters so that I can execute these commands as muscle memory.