Skip to content

Instantly share code, notes, and snippets.

@gabeio
Last active December 23, 2017 06:03
Show Gist options
  • Select an option

  • Save gabeio/9bd828e2fa859e390007 to your computer and use it in GitHub Desktop.

Select an option

Save gabeio/9bd828e2fa859e390007 to your computer and use it in GitHub Desktop.

Revisions

  1. gabeio revised this gist Dec 23, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion .vimrc
    Original file line number Diff line number Diff line change
    @@ -12,7 +12,7 @@ set noexpandtab "don't change a tab to spaces
    match ErrorMsg '\%>120v.\+' "error highlight long lines
    match ErrorMsg '\s\+$' "error highlight spaces at the end of a line
    map q <Nop> "stop fumbling with recording plugin
    autocmd Filetype gitcommit setlocal spell textwidth=50 "auto wrap git commit lines to 50 characters
    "fix incorrect join lines
    if v:version > 703 || v:version == 703 && has('patch541')
    set formatoptions+=j
  2. gabeio revised this gist Dec 23, 2017. 1 changed file with 3 additions and 2 deletions.
    5 changes: 3 additions & 2 deletions .vimrc
    Original file line number Diff line number Diff line change
    @@ -5,8 +5,9 @@ set backspace=2
    set ignorecase
    set smartcase
    set autoindent
    set relativenumber
    set ruler
    set number "show line numbers
    set ruler "show ruler
    set relativenumber "show relative line numbers
    set noexpandtab "don't change a tab to spaces
    match ErrorMsg '\%>120v.\+' "error highlight long lines
    match ErrorMsg '\s\+$' "error highlight spaces at the end of a line
  3. gabeio revised this gist Dec 23, 2017. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions .vimrc
    Original file line number Diff line number Diff line change
    @@ -7,6 +7,7 @@ set smartcase
    set autoindent
    set relativenumber
    set ruler
    set noexpandtab "don't change a tab to spaces
    match ErrorMsg '\%>120v.\+' "error highlight long lines
    match ErrorMsg '\s\+$' "error highlight spaces at the end of a line
    map q <Nop> "stop fumbling with recording plugin
  4. gabeio revised this gist Dec 23, 2017. 1 changed file with 6 additions and 1 deletion.
    7 changes: 6 additions & 1 deletion .vimrc
    Original file line number Diff line number Diff line change
    @@ -9,4 +9,9 @@ set relativenumber
    set ruler
    match ErrorMsg '\%>120v.\+' "error highlight long lines
    match ErrorMsg '\s\+$' "error highlight spaces at the end of a line
    map q <Nop> "stop fumbling with recording plugin
    map q <Nop> "stop fumbling with recording plugin
    "fix incorrect join lines
    if v:version > 703 || v:version == 703 && has('patch541')
    set formatoptions+=j
    endif
  5. gabeio revised this gist Dec 23, 2017. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion .vimrc
    Original file line number Diff line number Diff line change
    @@ -8,4 +8,5 @@ set autoindent
    set relativenumber
    set ruler
    match ErrorMsg '\%>120v.\+' "error highlight long lines
    match ErrorMsg '\s\+$' "error highlight spaces at the end of a line
    match ErrorMsg '\s\+$' "error highlight spaces at the end of a line
    map q <Nop> "stop fumbling with recording plugin
  6. gabeio revised this gist Dec 23, 2017. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion .vimrc
    Original file line number Diff line number Diff line change
    @@ -6,4 +6,6 @@ set ignorecase
    set smartcase
    set autoindent
    set relativenumber
    set ruler
    set ruler
    match ErrorMsg '\%>120v.\+' "error highlight long lines
    match ErrorMsg '\s\+$' "error highlight spaces at the end of a line
  7. gabeio revised this gist Dec 3, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion .vimrc
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    syntax on
    " execute pathogen#infect() optional
    "execute pathogen#infect() "optional
    set nocompatible
    set backspace=2
    set ignorecase
  8. gabeio revised this gist Dec 3, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion .vimrc
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    syntax on
    # execute pathogen#infect() optional
    " execute pathogen#infect() optional
    set nocompatible
    set backspace=2
    set ignorecase
  9. gabeio revised this gist Dec 3, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion .vimrc
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    syntax on
    execute pathogen#infect()
    # execute pathogen#infect() optional
    set nocompatible
    set backspace=2
    set ignorecase
  10. gabeio created this gist Dec 3, 2015.
    9 changes: 9 additions & 0 deletions .vimrc
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    syntax on
    execute pathogen#infect()
    set nocompatible
    set backspace=2
    set ignorecase
    set smartcase
    set autoindent
    set relativenumber
    set ruler