Skip to content

Instantly share code, notes, and snippets.

@Lytol
Last active December 14, 2015 02:39
  • Select an option

Select an option

Revisions

  1. Lytol revised this gist Feb 22, 2013. 1 changed file with 15 additions and 0 deletions.
    15 changes: 15 additions & 0 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -12,3 +12,18 @@ vimtutor

    This should absolutely, without any doubt, be the first place you start. Simply your Terminal and type `vimtutor` and follow the directions. Don't move on until you complete this.


    Disable arrow keys
    ------------------

    One of the worst habits you can develop when trying to learn Vim is using the arrow keys for navigation. DO NOT DO THIS. To help assist you in NOT DOING THIS, add the following to your `~/.vimrc` (this is your main Vim configuration file).

    " Disable arrow keys (except in command line)
    noremap <Up> ""
    inoremap <Up> <Esc>
    noremap <Down> ""
    inoremap <Down> <Esc>
    noremap <Left> ""
    inoremap <Left> <Esc>
    noremap <Right> ""
    inoremap <Right> <Esc>
  2. Lytol created this gist Feb 22, 2013.
    14 changes: 14 additions & 0 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    A Beginner's Guide to Vim
    =========================

    Installing Vim
    --------------

    Download the appropriate version for your OS at <http://www.vim.org/download.php>


    vimtutor
    --------

    This should absolutely, without any doubt, be the first place you start. Simply your Terminal and type `vimtutor` and follow the directions. Don't move on until you complete this.