Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Mac OS X iTerm2 settings

Set these under iTerm2 > Preferences > Keys

Vim Page Down

control + d

Send Text with "vim" Special Chars

to

\033[6~

Vim Page Up

control + b

Send Text with "vim" Special Chars

to

\033[5~

Control + C

Send Hex Code: 03

Set this in your ~/.vimrc to fix control+a (front of line) and control+e (end of line)

" front of line
inoremap <C-a> <C-o>0
" end of line
inoremap <C-e> <C-o>$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.