---
title: "Gene Nakagaki (@genakag) | Hashnode"
description: "Gene Nakagaki (@genakag) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@genakag"
---

@genakag

# Gene Nakagaki

@genakag · Tokyo, Japan · Joined July 2021

### [Set up keybindings for vim users on macOS](https://genakag.hashnode.dev/set-up-keybindings-for-vim-users-on-macos?utm_source=hashnode&utm_medium=feed)

Hello! I recently set up keybindings for my MacBook that were useful to me as a vim user. I'm going to share how I set up the following keybindings: caps lock as both esc and control control + H,J,K,L as arrow key alternatives Shortcuts to certain ...

3 min read · [genakag.hashnode.dev](https://genakag.hashnode.dev/set-up-keybindings-for-vim-users-on-macos?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/set-up-keybindings-for-vim-users-on-macos/61109792b79d6a11366838b2) [Aug 9, 2021](https://hashnode.com/posts/set-up-keybindings-for-vim-users-on-macos/61109792b79d6a11366838b2)

### [Leading zeros in CSV data](https://genakag.hashnode.dev/leading-zeros-in-csv-data?utm_source=hashnode&utm_medium=feed)

Exporting to CSV is not always a fun task but it is usually required because it makes it easier for other people to analyze the data. I recently implemented a feature to export data to CSV but some people had trouble using the data. The software peop...

2 min read · [genakag.hashnode.dev](https://genakag.hashnode.dev/leading-zeros-in-csv-data?utm_source=hashnode&utm_medium=feed)

[Aug 4, 2021](https://hashnode.com/posts/leading-zeros-in-csv-data/610a3fe20e53fb566c75ed1a)

### [Text selection between symbols in vim](https://genakag.hashnode.dev/text-selection-between-symbols-in-vim?utm_source=hashnode&utm_medium=feed)

I love vim, and I always use either vim in a terminal or a vim emulator in my IDE. One of the commands I use most frequently is the text selection between symbols. Using vib to select text inside between parenthesis You can type vib inside a pair of ...

2 min read · [genakag.hashnode.dev](https://genakag.hashnode.dev/text-selection-between-symbols-in-vim?utm_source=hashnode&utm_medium=feed)

[Aug 3, 2021](https://hashnode.com/posts/text-selection-between-symbols-in-vim/61094113cfe20703b4e071ef)

### [Equality of Integer and Long objects in Java](https://genakag.hashnode.dev/equality-of-integer-and-long-objects-in-java?utm_source=hashnode&utm_medium=feed)

TLDR Use the equals method when checking if Integer or Long objects are equal. Integer a = 1000; Integer b = 1000; a.equals(b); // true a == b; // false Using == sometimes returns incorrect results Checking the equality of Integer objects with the ...

2 min read · [genakag.hashnode.dev](https://genakag.hashnode.dev/equality-of-integer-and-long-objects-in-java?utm_source=hashnode&utm_medium=feed)

[Aug 1, 2021](https://hashnode.com/posts/equality-of-integer-and-long-objects-in-java/610683d53b9b85399dcf468a)

### [The weird quirk of logging with console.log in JavaScript](https://genakag.hashnode.dev/the-weird-quirk-of-logging-with-consolelog-in-javascript?utm_source=hashnode&utm_medium=feed)

The goal of this post I want to clarify what happens with console.log on certain conditions so that I can log in my intended way. TLDR When logging objects with console.log, clone them first before logging. var obj = { value: "hello" }; var objClone...

2 min read · [genakag.hashnode.dev](https://genakag.hashnode.dev/the-weird-quirk-of-logging-with-consolelog-in-javascript?utm_source=hashnode&utm_medium=feed)

[Jul 31, 2021](https://hashnode.com/posts/the-weird-quirk-of-logging-with-consolelog-in-javascript/610543ab3b9b85399dcf3129)
