Skip to content

Instantly share code, notes, and snippets.

@NerdDiffer
NerdDiffer / tmux.conf
Created March 8, 2018 06:29
tmux conf
unbind C-b
set -g prefix C-a
bind C-a send-prefix
# 0 is too far from ` ;)
set -g base-index 1
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
@NerdDiffer
NerdDiffer / YCM_on_manjaro.md
Last active October 27, 2023 11:49
YCM on my Manjaro system

Building YCM on Manjaro

YouCompleteMe, the Vim code-completion engine, on my laptop running with Manjaro. This is extracted from the full installation guide.

Sifting through YCM's documentation is a pain, so I'm preserving the steps that work on my system and fit my personal requirements. Those are:

  • Use system-provided clang library.
  • Docs recommend using clang versions >= 3.8. My distro provides this.
@NerdDiffer
NerdDiffer / install-node-and-npm.md
Last active May 23, 2016 23:36
install node & npm in 30 seconds

Installing node & npm in 30 seconds

Link to node-and-npm-in-30-seconds.

Those direction are a little outdated: the script assumes python2 is the default Python on the system. With this little tweak, you can install node as prescribed in the gist above by symlinking python to python2.

The benefit is that it may save you the trouble of combing through the comments thread in the original gist.