Skip to content

Commit 229c290

Browse files
committed
added vim modules, home/end key fixes for vim, readline, zsh
1 parent 27bb1ac commit 229c290

File tree

6 files changed

+28
-4
lines changed

6 files changed

+28
-4
lines changed

.gitmodules

+6
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,9 @@
6767
[submodule "vim/bundle/splitjoin.vim"]
6868
path = vim/bundle/splitjoin.vim
6969
url = https://github.com/AndrewRadev/splitjoin.vim
70+
[submodule "vim/bundle/vim-visual-star-search"]
71+
path = vim/bundle/vim-visual-star-search
72+
url = https://github.com/bronson/vim-visual-star-search.git
73+
[submodule "vim/bundle/vim-gitgutter"]
74+
path = vim/bundle/vim-gitgutter
75+
url = https://github.com/airblade/vim-gitgutter.git

inputrc

+8-4
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,15 @@ set bell-style none
1111
# "\C-p": history-search-backward
1212
# "\C-l": clear-screen
1313

14-
"\e[1~": beginning-of-line
15-
"\e[4~": end-of-line
16-
"\e[7~": beginning-of-line
17-
"\e[8~": end-of-line
14+
"\e[1": beginning-of-line
15+
"\e[4": end-of-line
16+
"\e[7": beginning-of-line
17+
"\e[8": end-of-line
1818
"\eOH": beginning-of-line
1919
"\eOF": end-of-line
2020
"\e[H": beginning-of-line
2121
"\e[F": end-of-line
22+
"\e[1~": beginning-of-line
23+
"\e[4~": end-of-line
24+
"\e[7~": beginning-of-line
25+
"\e[8~": end-of-line

vim/bundle/vim-gitgutter

Submodule vim-gitgutter added at 28353bd

vim/bundle/vim-visual-star-search

Submodule vim-visual-star-search added at fa55818

vimrc

+10
Original file line numberDiff line numberDiff line change
@@ -476,4 +476,14 @@ vnoremap <expr> <silent> F Quick_scope_selective('F')
476476
vnoremap <expr> <silent> t Quick_scope_selective('t')
477477
vnoremap <expr> <silent> T Quick_scope_selective('T')
478478
479+
map <ESC>[4 <End>
480+
map <ESC>[1 <Home>
481+
imap <ESC>[4 <End>
482+
imap <ESC>[1 <Home>
483+
484+
map <ESC>[4~ <End>
485+
map <ESC>[1~ <Home>
486+
imap <ESC>[4~ <End>
487+
imap <ESC>[1~ <Home>
488+
479489
" source /home/proycon/.vim/bundle/vim-ipython/ftplugin/python/ipy.vim

zshrc

+2
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,8 @@ bindkey $terminfo[khome] beginning-of-line
334334
bindkey $terminfo[kend] end-of-line
335335
bindkey '\e[1' beginning-of-line
336336
bindkey '\e[4' end-of-line
337+
bindkey '\e[[1' beginning-of-line
338+
bindkey '\e[[4' end-of-line
337339
bindkey '\e[A' history-substring-search-up
338340
bindkey '\e[B' history-substring-search-down
339341
bindkey '^H' history-substring-search-up

0 commit comments

Comments
 (0)