Miguel Moll

Random thoughts/findings I'd like to remember and share. Most likely gamedev and software related.


Retrieval Practice

As previous mentioned, I’m giving LunarVim a spin. To increase my chances of success, I want to document my settings and specific keybindings. Some of the settings can be Lunarvim specific and others that are plane Vim settings. I expect this post to evolve in the future, depending on my overall success with Lunarvim.

Search files/text

# File names
Leader + s + f 

# Text (live grep)
Leader + s + t

# File explorer
Leader + e

# Edit config.lua
Leader + L + c

Select results using tab and send them to the quick list using crtl + q.

Git

# Blame
Leader + g + l 

Terminal

# Integrated
Ctrl + \

LSP

# Definition
g + d

# References
g + r

# Implementation
g + I

# Signature
g + s

# Line info
g + l

Spellcheck

# Enable
:set spell spelllang=en_us

# Disable
:set nospell

# Move to the next/previous misspelled words
]s and [s

# Replace word over cursor
z=

# Add word to dictionary
zg

# Mark words as incorrect
zw

References

The following links were used to gather the all of the above: