Skip to content

Instantly share code, notes, and snippets.

View totsteps's full-sized avatar
🦀
status.await?

Gagandeep Singh (Gagan) totsteps

🦀
status.await?
View GitHub Profile
@totsteps
totsteps / HashChangeHandler.jsx
Created April 13, 2018 13:06 — forked from ryanditjia/HashChangeHandler.jsx
Gatsby smooth scroll
/*
* import to your layout/index.js
*/
import { PureComponent } from 'react'
import { performScroll, scrollToHref } from '../../utils/helpers/scroll'
const handleHashChange = () => {
if (window.location.hash) {
scrollToHref(window.location.hash)
" Plug {{{
call plug#begin('~/.config/nvim/plugged')
" Autocomplete
Plug 'autozimu/LanguageClient-neovim', { 'do': ':UpdateRemotePlugins' }
Plug 'roxma/nvim-completion-manager'
Plug 'roxma/python-support.nvim'
Plug 'Shougo/neosnippet.vim'
Plug 'Shougo/neosnippet-snippets'
@totsteps
totsteps / tmux.conf
Created May 7, 2017 23:31 — forked from spicycode/tmux.conf
The best and greatest tmux.conf ever
# 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
#set -g default-terminal screen-256color
set -g status-keys vi
set -g history-limit 10000