2 Commits

  1. 35
      etc/inputrc
  2. 3
      etc/vim/vimrc.rookie

35
etc/inputrc

@ -19,21 +19,32 @@ set input-meta on
set output-meta on
set convert-meta off
## ARROW up, down for history search
"\e[A":history-search-backward
"\e[B":history-search-forward
# CTRL + { left, right } for moving around words
"\e[1;5D": vi-backward-word
"\e[1;5C": vi-forward-word
# ALT + { left, right } for moving around Big Words (faster)
"\e[1;3D": vi-backward-bigword
"\e[1;3C": vi-forward-bigword
# CTRL + Right, Left for word suppressing
"\e[1;5C": forward-word
"\e[1;5D": backward-word
# CTRL + { backspace, delete } for word suppressing
"\C-H": backward-kill-word
# ALT + BACKSPACE for left line suppressing
# ALT + { backspace, delete } for suppressing until start/end (faster)
"\e[3;3~": kill-line
# ALT + DELETE for right line suppressing
"\e\C-?": backward-kill-line
# CTRL + BACKSPACE for left word suppressing
"\C-H": backward-kill-word
# SHIFT + DELETE for whole line suppressing
# ALT + { backspace, delete } for suppressing the whole line
"\e[3;2~": kill-whole-line
"\e[127;2u": kill-whole-line
# { up, down } for history search
"\e[A": history-search-backward
"\e[B": history-search-forward
# SHIFT + (CTRL) + Arrows: does nothing
"\e[1;2D": ''
"\e[1;2C": ''
"\e[1;6D": ''
"\e[1;6C": ''

3
etc/vim/vimrc.rookie

@ -1,9 +1,6 @@
" ROOKIE vim user
" ---------------
" Open File and Go to Line under Cursor
nmap gf gF
" Move Along Words
inoremap <C-Left> B
inoremap <C-Right> W

Loading…
Cancel
Save