Skip to content

Instantly share code, notes, and snippets.

View tuna-f1sh's full-sized avatar

John Whittington tuna-f1sh

View GitHub Profile
@tuna-f1sh
tuna-f1sh / studio_linux_conversion.sh
Last active February 17, 2017 16:33
Convert Atmel Studio auto Makefile to Unix based one
#!/bin/sh
# @j_whittington
#
# Script to convert makefile generate from atmel studio 7 (windows)
# to linux path, assuming that you have gcc on PATH
#
# based on https://gist.github.com/theterg/6082389
# GPL
@tuna-f1sh
tuna-f1sh / vimrc
Last active January 25, 2017 10:52
My portable vimrc
set nocompatible "Use vim rather than vi settings
" useful commands for ctags - ]/[i next text under cursor, ]/[d difinition down/up, capital all in file in preview
"=================================
" --- OS SPECIFIC SETTINGS ---- "
"=================================
if has("win32")
source $VIMRUNTIME/vimrc_example.vim
source $VIMRUNTIME/mswin.vim
@tuna-f1sh
tuna-f1sh / .inputrc
Last active August 17, 2016 07:01
My portable inputrc
# use ctrl+left/right arrow keys to jump over words
"\e[5C": forward-word
"\e[5D": backward-word
# enable autocomplete (using up/down arrow keys)
"\e[B": history-search-forward
"\e[A": history-search-backward
# ignore case when autocomplete file/directory name using tab
set completion-ignore-case on