X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=vimrc;h=72a19f770e2790ba84ca59844c638f739814392e;hb=b33a673c7ed168beb3f280bf347412114b86d8b1;hp=9dc6bdfa3d1b1e74f9fbdfc0b3eedeffa7698772;hpb=7907b469979fa223fc69a13af850c7a82d7d44b7;p=config%2Fdotfiles.git diff --git a/vimrc b/vimrc index 9dc6bdf..72a19f7 100644 --- a/vimrc +++ b/vimrc @@ -123,7 +123,7 @@ if v:version >= 700 endif " Display tabs, trailing space, non breakable spaces and long lines (when -" wrapping is enabled). +" wrapping is disabled). set list set listchars=trail:-,extends:> if v:version >= 700 @@ -156,6 +156,17 @@ endif " MAPPINGS (except for plugins, see PLUGIN SETTINGS below) +" Disable arrow keys for all modes except command modes. Thanks to James Vega +" (http://git.jamessan.com/?p=etc/vim.git;a=summary). +map +map +map +map +imap +imap +imap +imap + " Use to move down a page and - to move up one like in mutt. nnoremap nnoremap - @@ -238,8 +249,8 @@ if has('syntax') syntax enable " Highlight lines longer than 78 characters. Thanks to Tony Mechelynck -" from the Vim mailing list. -" It can easily be disabled if necessary with :2match (in Vim >= 700). +" from the Vim mailing list. It can easily be +" disabled when necessary with :2match (in Vim >= 700). if v:version >= 700 2match Todo /\%>78v./ else