Skip to content

Commit a106072

Browse files
authored
Update README.md
1 parent 01e03dd commit a106072

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,23 @@ If you hate the npm progress bar like, add this to your `zshrc`:
131131
export NPM_CONFIG_PROGRESS=false
132132
```
133133

134+
## Speed up node.js
135+
136+
node.js has by default 4 thread pools [via libuv](http://docs.libuv.org/en/v1.x/threadpool.html) regardless of how many CPUs you have. If you have more CPUs and depending on what you're running locally, you may find a performance benefit in increasing this number.
137+
138+
```zsh
139+
export UV_THREADPOOL_SIZE=8
140+
```
141+
142+
## vim
143+
144+
Homebrew's default version of vim doesn't allowing copying and supports the mouse, which IMO defeats the purpose of vim. Here's a basic `~/.vimrc` to fix that:
145+
146+
```vimrc
147+
set mouse=
148+
syntax on
149+
```
150+
134151
## thefuck?
135152

136153
[thefuck](https://github.com/nvbn/thefuck) is a nifty tool that allows you to fix your previous CLI typos by just typing `fuck`.

0 commit comments

Comments
 (0)