From 6bdcde0655ded222e6ed9c50759754e4cc5ddc28 Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Tue, 20 May 2014 09:46:38 +0100 Subject: [PATCH] vim: don't allow arrows anywhere move around with ^{hjkl} --- vim/vimrc | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/vim/vimrc b/vim/vimrc index 033b90d..a32bbe6 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -65,15 +65,24 @@ nmap n :silent nohl nmap # :%s:/::gn " center cursor after search nnoremap n nzz + " disable arrows -inoremap -inoremap -inoremap +noremap +noremap +noremap +noremap +inoremap +inoremap +inoremap inoremap -noremap -noremap -noremap -noremap +cnoremap +cnoremap +cnoremap +cnoremap +cnoremap +cnoremap +cnoremap +cnoremap set nostartofline " don't move the cursor to the first non-blank char of a line set path=.,include/,../include/,/usr/include/c++/*,/opt/ros/hydro/include -- 2.48.1