From 10dd0922a9594774011618d71cf25531d560e43f Mon Sep 17 00:00:00 2001 From: Hunter Haugen Date: Thu, 11 Aug 2011 11:48:50 +1000 Subject: [PATCH] Undo s/noremap/map/ in .vimrc --- .vimrc | 132 ++++++++++++++++++++++++++++----------------------------- 1 file changed, 66 insertions(+), 66 deletions(-) diff --git a/.vimrc b/.vimrc index 4c52677..9bd7f09 100644 --- a/.vimrc +++ b/.vimrc @@ -647,28 +647,28 @@ nmap :colder nmap :cnewer " Make S-up/down do gk/gj {{{2 -imap gk -imap gj -map gk -map gj +inoremap gk +inoremap gj +noremap gk +noremap gj " Better Bépo movement {{{2 -map © h -map þ j -map ß k -map ® l +noremap © h +noremap þ j +noremap ß k +noremap ® l " Make / page up/down {{{2 -map -map +noremap +noremap " Scrolling with arrows controls the window {{{2 -map -map +noremap +noremap " Useful things from inside imode {{{2 -imap w :w -imap q gq}k$ +inoremap w :w +inoremap q gq}k$ " Commonly used commands {{{2 "nmap :silent nohlsearch @@ -686,7 +686,7 @@ nmap :exec "make -C " . expand("%:p:h") " \ . " TESTS=" . GetCurrentTest() " Insert a single char {{{2 -map i ir +noremap i ir " Split the line into a (n)ew line or an (o)pen line {{{2 nmap n \i @@ -696,33 +696,33 @@ nmap o \ik$ noremap J :s/\%#\(.*\)\n\(.*\)/\2\1 " In normal mode, jj or jl escapes {{{2 -imap jj -imap jl +inoremap jj +inoremap jl " Kill line like emacs {{{2 -"map "_dd +"noremap "_dd " Select everything {{{2 -map gg ggVG +noremap gg ggVG " Reformat everything {{{2 -map gq gggqG +noremap gq gggqG " Reformat paragraph {{{2 -map gp gqap +noremap gp gqap " Clear lines {{{2 -"map clr :s/^.*$//:nohls +"noremap clr :s/^.*$//:nohls " Delete blank lines {{{2 -map dbl :g/^$/d:nohls +noremap dbl :g/^$/d:nohls " Enclose each selected line with markers {{{2 -map enc :execute +noremap enc :execute \ substitute(":'<,'>s/^.*/#&#/ \| :nohls", "#", input(">"), "g") " Edit something in the current directory {{{2 -map ed :e =expand("%:p:h")/ +noremap ed :e =expand("%:p:h")/ " Enable fancy % matching {{{2 if has("eval") @@ -758,7 +758,7 @@ if has("eval") norm o call setline(line("."), "#endif") endfun - map ig :call MakeIncludeGuards() + noremap ig :call MakeIncludeGuards() endif " javascript folding {{{2 @@ -841,12 +841,12 @@ if v:version >= 700 && has("eval") endif endfun - map sh :call SwitchHeader(0) - map st :call SwitchTest(0) - map sk :call SwitchMakefile(0) - map ssh :call SwitchHeader(1) - map sst :call SwitchTest(1) - map ssk :call SwitchMakefile(1) + noremap sh :call SwitchHeader(0) + noremap st :call SwitchTest(0) + noremap sk :call SwitchMakefile(0) + noremap ssh :call SwitchHeader(1) + noremap sst :call SwitchTest(1) + noremap ssk :call SwitchMakefile(1) endif " super i_c-y / i_c-e {{{2 @@ -898,8 +898,8 @@ if v:version >= 700 && has("eval") endif endfun - imap y :call SuperYank(-1) - imap e :call SuperYank(1) + inoremap y :call SuperYank(-1) + inoremap e :call SuperYank(1) endif " tab completion {{{2 @@ -911,8 +911,8 @@ if has("eval") return "\" endif endfun - imap =CleverTab() - imap + inoremap =CleverTab() + inoremap endif " ^n Show number and fold columns in windows {{{2 @@ -939,7 +939,7 @@ if has("eval") endif endfun "autocmd WinEnter,BufWinEnter,BufNew * :call FoldNumbers() - map :call FoldNumbers() + noremap :call FoldNumbers() endif " }}}1 @@ -1046,7 +1046,7 @@ if has("eval") let Tlist_Exit_OnlyWindow=1 let Tlist_File_Fold_Auto_Close=1 let Tlist_Inc_Winwidth=0 - "nmap :Tlist + "nnoremap :Tlist " Settings minibufexpl.vim "let g:miniBufExplModSelTarget = 1 @@ -1110,8 +1110,8 @@ if has("eval") exec "nmap " . y . " :scscope find " . y . \ " =expand(\"\\")" endwhile - nmap i :cscope find i ^=expand("") - nmap i :scscope find i ^=expand("") + nnoremap i :cscope find i ^=expand("") + nnoremap i :scscope find i ^=expand("") endif endif @@ -1210,40 +1210,40 @@ map :vsplit ~/.vim/ref_full.vim map :11vsplit ~/.vim/ref.vim "map :Sexplore $HOME map :2split ~/.vim/fun_ref.vim -map :set rnu! -map :set nu! -map ggVGg? -map :set encoding=utf-8:set fenc=utf-8 -map :set encoding=iso8859-15:set fenc=iso8859-15 +noremap :set rnu! +noremap :set nu! +noremap ggVGg? +noremap :set encoding=utf-8:set fenc=utf-8 +noremap :set encoding=iso8859-15:set fenc=iso8859-15 "map :SpellProposeAlternatives "map :SpellCheck "map :let spell_language_list = "english,spanish" -"nmap :Tlist -"nmap :TlistSync -nmap :noh +"nnoremap :Tlist +"nnoremap :TlistSync +nnoremap :noh map !!date map :TC -nmap :X :x -nmap :W :w -nmap :Q :q -nmap :B :b -map rg :color relaxedgreen -map ip :color inkpot -map ir :color ir_black -map mv :color macvim:set background=light -map f :FufFileWithCurrentBufferDir -map F :FufFile -map v :FufCoverageFile -map b :FufBuffer -map c :FufDirWithFullCwd -map w :bdelete -map :FufHelp -map :syntax sync fromstart -imap :syntax sync fromstart +nnoremap :X :x +nnoremap :W :w +nnoremap :Q :q +nnoremap :B :b +noremap rg :color relaxedgreen +noremap ip :color inkpot +noremap ir :color ir_black +noremap mv :color macvim:set background=light +noremap f :FufFileWithCurrentBufferDir +noremap F :FufFile +noremap v :FufCoverageFile +noremap b :FufBuffer +noremap c :FufDirWithFullCwd +noremap w :bdelete +noremap :FufHelp +noremap :syntax sync fromstart +inoremap :syntax sync fromstart syntax sync minlines=200 " NERD tree. Yay! -nmap :NERDTreeToggle +nnoremap :NERDTreeToggle " Javac "set makeprg=javac\ %