sudo apt-get install -y zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
setenv SHELL /usr/bin/zsh | |
exec /usr/bin/zsh -l |
{ | |
// Place your snippets for cpp here. Each snippet is defined under a snippet name and has a prefix, body and | |
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are: | |
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the | |
// same ids are connected. | |
// Example: | |
// "Print to console": { | |
// "prefix": "log", | |
// "body": [ | |
// "console.log('$1');", |
{ | |
// Place your global snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and | |
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope | |
// is left empty or omitted, the snippet gets applied to all languages. The prefix is what is | |
// used to trigger the snippet and the body will be expanded and inserted. Possible variables are: | |
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. | |
// Placeholders with the same ids are connected. | |
// Example: | |
// "Print to console": { | |
// "scope": "javascript,typescript", |
{ | |
// Place your snippets for python here. Each snippet is defined under a snippet name and has a prefix, body and | |
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are: | |
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the | |
// same ids are connected. | |
// Example: | |
// "Print to console": { | |
// "prefix": "log", | |
// "body": [ | |
// "console.log('$1');", |
filter_mode = "host" | |
filter_mode_shell_up_key_binding = "session" |
local wezterm = require 'wezterm' | |
local act = wezterm.action | |
local config = {} | |
if wezterm.config_builder then | |
config = wezterm.config_builder() | |
end | |
config.color_scheme = 'Bamboo' |
bindkey "^[[1;3C" forward-word | |
bindkey "^[[1;3D" backward-word | |
bindkey '^H' backward-kill-word |
#Requires AutoHotkey v2.0 | |
LAlt::LCtrl | |
LCtrl::LAlt |
#Requires AutoHotkey v2.0 | |
; Switch between tabs | |
^!Right::SendInput '^{PgDn}' | |
^!Left::SendInput '^{PgUp}' | |
; Jump a word | |
!Left::SendInput '^{Left}' | |
!Right::SendInput '^{Right}' |