From aaaea54e009f1a577b47a8ec315a512d1a55079a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miros=C5=82aw=20Prag=C5=82owski?= Date: Fri, 13 Jun 2014 14:43:35 +0200 Subject: [PATCH] breaking the habit - will no more use arrow keys http://vimcasts.org/blog/2013/02/habit-breaking-habit-making/ --- my_configs.vim | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/my_configs.vim b/my_configs.vim index 774da4d9..c33f40c7 100644 --- a/my_configs.vim +++ b/my_configs.vim @@ -5,6 +5,20 @@ set number " line numbers set nocompatible " choose no compatibility with legacy vi set nowrap " don't wrap lines +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" => custom key maps +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" + +" breaking the habits +noremap +noremap +noremap +noremap + +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" => custom ... WTF, don't remember ;) +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" + augroup VimCSS3Syntax autocmd! autocmd FileType css setlocal iskeyword+=- @@ -16,9 +30,9 @@ augroup reload_vimrc " { autocmd BufWritePost $MYVIMRC source $MYVIMRC augroup END " } -"""""""""""""""""""""""""""""" -" => my custom filetypes -""""""""""""""""""""""""""""""" +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" => custom filetypes +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " ruby au FileType ruby,eruby setl ofu=rubycomplete#Complete