summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2018-04-26 13:16:44 +0100
committerUrbain Vaes <urbain@vaes.uk>2018-04-26 13:16:44 +0100
commitaffdd14e4c872e77e048a13bb479caad3604cf55 (patch)
treee5440c4606a37c8e9bd10e6665072f5683f23b25
parent6351bf54847b570bab4a597cea38115ebae396fe (diff)
Add readline emacs bindings
-rw-r--r--input/.inputrc14
-rw-r--r--vim/.vimrc1
2 files changed, 13 insertions, 2 deletions
diff --git a/input/.inputrc b/input/.inputrc
index b4adc07..afe1ff4 100644
--- a/input/.inputrc
+++ b/input/.inputrc
@@ -1,3 +1,13 @@
-set editing-mode vi
-set keymap vi
set completion-ignore-case on
+set keyseq-timeout 0
+set editing-mode vi
+set keymap vi-insert
+Control-a: beginning-of-line
+Control-b: backward-char
+Control-d: delete-char
+Control-e: end-of-line
+Control-f: forward-char
+Control-k: kill-line
+Control-l: clear-screen
+Control-n: next-history
+Control-p: previous-history
diff --git a/vim/.vimrc b/vim/.vimrc
index 35d4a48..65b65ee 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -61,6 +61,7 @@ Plug 'tpope/vim-sensible'
Plug 'tpope/vim-surround'
Plug 'tpope/vim-unimpaired'
Plug 'troydm/zoomwintab.vim'
+let g:zoomwintab_hidetabbar=0
Plug 'urbainvaes/vim-remembrall'
" Plug 'urbainvaes/vim-wintab'
Plug '~/Dropbox/projects/vim-wintab'