Skip to content

Commit

Permalink
Add arrow mappings.
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyrisinger committed Oct 25, 2017
1 parent c512ea7 commit 9ea2844
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .../self/boot/vimrc
@@ -1,3 +1,17 @@
" map Home and End:
:map <ESC>[H <Home>
:map <ESC>[F <End>
" 'o' in <C-o> means do not exit from the insert mode.
:imap <ESC>[H <C-o><Home>
:imap <ESC>[F <C-o><End>
:cmap <ESC>[H <Home>
:cmap <ESC>[F <End>
" map Option + Left (\033b) and Option + Right (\033f):
:map <ESC>f el
:imap <ESC>b <C-o>b
:imap <ESC>f <C-o>e
:cmap <ESC>f el
let s:ellipsis = expand("~/.../self")
let s:e_cache = s:ellipsis . "/var/cache/vim"
let s:e_home = s:ellipsis . "/data/profile/etc/vim"
Expand Down

0 comments on commit 9ea2844

Please sign in to comment.