Created
April 29, 2019 18:59
-
-
Save rtu/3d4fecfc7e17d37ed9b3b43887a73bce to your computer and use it in GitHub Desktop.
Revisions
-
rtu created this gist
Apr 29, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,63 @@ T-Kuhn/VimRcFiles Code Issues 0 Pull requests 0 Projects 0 Wiki Insights VimRcFiles/_vsvimrc @T-Kuhn T-Kuhn added space to ' mapping 6d56059 on Jul 3, 2017 45 lines (30 sloc) 905 Bytes " Use Vim settings, rather than Vi settings (much better!). " This must be first, because it changes other options as a side effect. set nocompatible " allow backspacing over everything in insert mode set backspace=indent,eol,start " jj key is <Esc> setting inoremap jj <Esc> " go to next "(" with this nnoremap , ?(<cr> " go to next ")" with this nnoremap . /(<cr> " go down 10 lines with shift-j nnoremap <s-j> 10j " go up 10 lines with shift-k nnoremap <s-k> 10k " go to next ")" with this nnoremap . /(<cr> " for easier jump point use nnoremap <space> ' " go to the next tab nnoremap <s-l> gt " go to the last tab nnoremap <s-h> gT " go to start of line nnoremap ; ^ " Don't use Ex mode, use Q for formatting map Q gq " CTRL-U in insert mode deletes a lot. Use CTRL-G u to first break undo, " so that you can undo CTRL-U after inserting a line break. inoremap <C-U> <C-G>u<C-U> © 2019 GitHub, Inc. Terms Privacy Security Status Help Contact GitHub Pricing API Training Blog About