Skip to content

Instantly share code, notes, and snippets.

View rafa-thayto's full-sized avatar
☯️
living one day at a time

Rafael Thayto rafa-thayto

☯️
living one day at a time
View GitHub Profile
@rafa-thayto
rafa-thayto / nvim-events.md
Created May 11, 2024 22:34 — forked from dtr2300/nvim-events.md
Overview of Nvim Events

Nvim Events

Nvim recognizes the following events. Names are case-insensitive.

BufAdd
Just after creating a new buffer which is
added to the buffer list, or adding a buffer
@rafa-thayto
rafa-thayto / keychron_k2.adoc
Created August 18, 2023 01:31 — forked from judaew/keychron_k2.adoc
Keychron K2 Manual

Keychron K2 Manual

Connect Bluetooth

On the side of the keyboard, switch the toggle to Bluetooth. Press fn+1 3 seconds and pair with device named Keychron K2.

  • fn+1 connect to 1st device

  • fn+2 connect to 2nd device

  • fn+3 connect to 3rd device

Configuração do ReScript

bsconfig.json:

{
  "name": "my-rescript-app",
  "reason": { "react-jsx": 3 },
  "sources": [
 {
@rafa-thayto
rafa-thayto / renaming.markdown
Created November 24, 2020 22:10 — forked from n3dst4/renaming.markdown
How to rename Visual Studio solutions and projects

How to rename solutions and projects in Visual Studio

  1. Don't.

How to rename solutions and projects that were created in Visual Studio

  1. Close Visual Studio and don't open it again until I tell you. Visual Studio is not competent at renaming things.
  2. Assuming you're using git, clean the working folder to remove anything that's not in version control (this will help the search-and-replace step because it won't have to go through a bunch of generated files)

git clean -fdx