All Projects → GabLeRoux → iterm2-macos-dynamic-profile

GabLeRoux / iterm2-macos-dynamic-profile

Licence: MIT license
🍎Fix iterm2 macos keys

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to iterm2-macos-dynamic-profile

Open-iTerm-or-Terminal-Here...
Generates an Applescript app that you can put in your Finder toolbar which will open an iTerm or Terminal tab at the current directory.
Stars: ✭ 122 (+76.81%)
Mutual labels:  iterm2
L5P-Keyboard-RGB
Cross platform software to control the lighting of the 4 zone keyboard included in the 2020 and 2021 lineup of the Lenovo Legion laptops. Works on Windows and Linux.
Stars: ✭ 79 (+14.49%)
Mutual labels:  keyboard
buildlogs
Repository to document my builds and projects.
Stars: ✭ 84 (+21.74%)
Mutual labels:  keyboard
mouseable
'Mouseable' is intended to replace a mouse or trackpad.
Stars: ✭ 418 (+505.8%)
Mutual labels:  keyboard
xcloud-keyboard-mouse
Chrome extension for controlling Xbox Cloud Gaming (Project xCloud) using a keyboard and mouse
Stars: ✭ 78 (+13.04%)
Mutual labels:  keyboard
Ayase
🥥 Control everything by keyboard. Built for hackers and the blind.
Stars: ✭ 53 (-23.19%)
Mutual labels:  keyboard
input-modifier
uinput based key bindings and macros tool for Linux
Stars: ✭ 17 (-75.36%)
Mutual labels:  keyboard
python-keylogger
Advanced Pure-Python Keylogger
Stars: ✭ 64 (-7.25%)
Mutual labels:  keyboard
kindaVim.theapp
Ultimate Vim Mode for macOS
Stars: ✭ 372 (+439.13%)
Mutual labels:  keyboard
Lotus58
A 58 key split ergo linear keyboard derived from the Lily58 family
Stars: ✭ 142 (+105.8%)
Mutual labels:  keyboard
kint
kinT keyboard controller (Kinesis controller replacement)
Stars: ✭ 191 (+176.81%)
Mutual labels:  keyboard
prk firmware
A keyboard firmware platform in PicoRuby
Stars: ✭ 337 (+388.41%)
Mutual labels:  keyboard
mechanical-keyboard
⌨️ Resources related to my mechanical keyboard build.
Stars: ✭ 14 (-79.71%)
Mutual labels:  keyboard
xontrib-prompt-bar
The bar prompt for xonsh shell with customizable sections and Starship support.
Stars: ✭ 27 (-60.87%)
Mutual labels:  iterm2
EmojiKeyBoard
自定义表情键盘(支持系统表情, 图片表情),仅供参考学习~
Stars: ✭ 36 (-47.83%)
Mutual labels:  keyboard
persian
Some utilities for Persian language in Go (Golang)
Stars: ✭ 65 (-5.8%)
Mutual labels:  keyboard
Juni
12 Keys Chorded keyboard layout
Stars: ✭ 51 (-26.09%)
Mutual labels:  keyboard
keyboard recording trojan
一个可以记录键盘输入并发送到指定邮箱的简单木马。
Stars: ✭ 63 (-8.7%)
Mutual labels:  keyboard
gotomation
No description or website provided.
Stars: ✭ 18 (-73.91%)
Mutual labels:  keyboard
vue-keyboard
🎹A real hand tapping keyboard
Stars: ✭ 51 (-26.09%)
Mutual labels:  keyboard

Fix iterm2 MacOS keys

Build Status

iTerm2 has terrible defaults concerning option + arrow, cmd + arrow + backspace or delete. Here's a fixed dynamic profile to fix that.

Refer to iTerm 2: How to set keyboard shortcuts to jump to beginning/end of line? Answer.

I followed instructions, took the first suggestion each time and generated this iTerm2 profile.

How to import dynamic profile

git clone https://github.com/GabLeRoux/iterm2-macos-dynamic-profile.git
cd iterm2-macos-dynamic-profile

# copy the json profile to dynamic profiles folder
cp ./fix-iterm2-keys-profile.json ~/Library/Application\ Support/iTerm2/DynamicProfiles

# or create a symlink for easier updates
ln -s $(pwd)/fix-iterm2-keys-profile.json ~/Library/Application\ Support/iTerm2/DynamicProfiles/
  • Open iTerm2 Preferences -> Profiles
  • Select the new dynamic profile from the list
  • Click Other Actions -> Bulk Copy from Selected Profile...
  • Check Keys checkbox
  • Select your profile
  • Hit Copy button
  • Enjoy a much better life with your keyboard

Bulk Copy from Selected Profile...

Copy Keys to your profile

ZSH bindkey fix + redo

As explained in iTerm 2: How to set keyboard shortcuts to jump to beginning/end of line? Answer:

See ./fix_zsh_keys.sh

# Copy fixed keys to your dotfiles
mkdir ~/dotfiles/
cp ./fix_zsh_keys.sh ~/dotfiles/

# Add entry to your ~/.zshrc
echo 'source ~/dotfiles/fix_zsh_keys.sh' >> ~/.zshrc

# Reload your .zshrc for changes to take effect
source ~/.zshrc

Related documentation

See iterm2 dynamic profiles documentation for more details.

License

MIT © Gabriel Le Breton

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].