Skip to content

Instantly share code, notes, and snippets.

View garmjs's full-sized avatar
🏍️
Lover

Armend Gashi garmjs

🏍️
Lover
  • Prishtine
View GitHub Profile
@garmjs
garmjs / Vimium Chrome remap keys
Created January 16, 2014 22:02
Vimium Chrome remap keys
map b goBack
map w goForward
map s toggleViewSource
map gR goToRoot
Navigating the page
j, <c-e> : Scroll down (scrollDown)
k, <c-y> : Scroll up (scrollUp)
@garmjs
garmjs / Default (OSX).sublime-keymap
Last active February 23, 2016 15:07
My keymap for easy navigation on Sublime Text 3 Remap keymap # jj to switch on vim mode # Hidde sidebar = ctrl + b # Switch layouts exp: vertical split = vS , Switch in one layout = ctrl + 0 When you are on split layouts you can move file with key # Move Right = mR , Move Left = mL # Resize window right = rR ,Resize window left = rL # If you nee…
[
// Hidde Sidebar
{ "keys": ["ctrl+b"], "command": "toggle_side_bar" },
// Switch with one layout
{
"keys": ["ctrl+0"],
"command": "set_layout",
"args":
{
@garmjs
garmjs / User.default (OSX).sublime-keymap
Last active January 1, 2016 19:39
Remap keys on sublime text 3
[
// hide toggle_side_bar
{ "keys": ["ctrl+b"], "command": "toggle_side_bar" },
{
// Switch on layout (Window) 1
"keys": ["ctrl+1"],
"command": "set_layout",
"args":
{
# Colorful Bash Prompt, inspired by "Extravagant Zsh Prompt"
# Screenshot: http://img.gf3.ca/d54942f474256ec26a49893681c49b5a.png
# A big thanks to \amethyst on Freenode
if [[ $COLORTERM = gnome-* && $TERM = xterm ]] && infocmp gnome-256color >/dev/null 2>&1; then export TERM=gnome-256color
elif infocmp xterm-256color >/dev/null 2>&1; then export TERM=xterm-256color
fi
if tput setaf 1 &> /dev/null; then
tput sgr0
@garmjs
garmjs / PHP Configuration Compile param
Last active December 25, 2015 05:49 — forked from JeffreyWay/gist:3185773
PHP Configuration Compile param
./configure \
--prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--sysconfdir=/private/etc \
--with-apxs2=/usr/sbin/apxs \
--enable-cli \
--with-config-file-path=/etc \
--with-libxml-dir=/usr \
--with-openssl=/usr \