Skip to content

Instantly share code, notes, and snippets.

@hectorh30
hectorh30 / keybindings.json
Created October 7, 2024 15:42
VSCode shortcuts json
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "ctrl+alt+p",
"command": "projectManager.listProjects"
},
{
"key": "shift+alt+p",
"command": "-projectManager.listProjects"
},
@hectorh30
hectorh30 / settings.json
Created October 7, 2024 14:52
Windows Terminal settings config json
{
"$help": "https://aka.ms/terminal-documentation",
"$schema": "https://aka.ms/terminal-profiles-schema",
"actions":
[
{
"command":
{
"action": "splitPane",
"split": "down",
@hectorh30
hectorh30 / gist:28db8466a99048dd12828674699ef20f
Created July 16, 2018 03:42
Windows 10 Virtual desktop enhancer settings.init
[General]
DefaultDesktop=1
TaskbarScrollSwitching=1
UseNativePrevNextDesktopSwitchingIfConflicting=0
DesktopWrapping=1
[Tooltips]
Enabled=0
; One of LEFT, CENTER, RIGHT
PositionX=LEFT
# For Linux machines
[user]
email = hectorh30@gmail.com
name = Hector Hurtarte
[diff]
external = git-diff-meld
[credential]
@hectorh30
hectorh30 / .eslintrc
Last active July 2, 2016 17:23
Current prefered eslint (v3) settings for frontend (emberjs) dev
{
"extends": "eslint:recommended",
"env": {
"es6": true,
"node": true,
"browser": true,
"embertest": true
},
"parserOptions": {
"sourceType": "module"
# Alternate mappings for "page up" and "page down" to search the history
"\e[5~": history-search-backward
"\e[6~": history-search-forward
"\e[1;5C": forward-word # ctrl + right
"\e[1;5D": backward-word # ctrl + left
@hectorh30
hectorh30 / svn-diff-meld.bat
Created May 6, 2016 01:08
Bat to use Meld with SVN over Windows
@ECHO OFF
REM Configure your favorite diff program here.
SET DIFF="C:\Program Files (x86)\Meld\Meld.exe"
REM Subversion provides the paths we need as the last two parameters.
REM These are parameters 6 and 7 (unless you use svn diff -x, in
REM which case, all bets are off).
SET LEFT=%6
SET RIGHT=%7
REM Call the diff command (change the following line to make sense for
REM your diff program).
unbind % # Remove default binding
# Cygwin stuff
# Make ctrl + left and ctrl + right move through next and previous word (requires some .inputrc stuff)
# set-window-option -g xterm-keys on
# See http://stackoverflow.com/questions/26435333/cygwin-tmux-on-windows-7-why-wont-tmux-use-the-current-path
# set-environment -g CHERE_INVOKING 1
# Window opening and closing
bind-key -n C-t new-window -c "#{pane_current_path}"
@hectorh30
hectorh30 / xdebug.ini
Last active June 19, 2017 13:55
Dev Xdebug config file
zend_extension=xdebug.so
# Default: 0
# When this setting is set to 1, Xdebug will always attempt to start a remote debugging session
# and try to connect to a client, even if the GET/POST/COOKIE variable is not present
xdebug.remote_autostart = 1
xdebug.remote_enable = 1
xdebug.remote_host = localhost
xdebug.remote_port = 9000
@hectorh30
hectorh30 / config
Last active May 22, 2020 20:55
My terminator config file
[global_config]
title_transmit_bg_color = "#242424"
focus = system
title_transmit_fg_color = "#D4D4D4"
[keybindings]
close_window = <Ctrl>Q
split_horiz = <Alt>2
full_screen = <Ctrl><Shift>F11
close_term = <Ctrl>W
split_vert = <Alt>3