Skip to content

Instantly share code, notes, and snippets.

@benjaesq
Last active February 28, 2018 05:32
Show Gist options
  • Save benjaesq/78595742b1eacf2b49f8 to your computer and use it in GitHub Desktop.
Save benjaesq/78595742b1eacf2b49f8 to your computer and use it in GitHub Desktop.

Revisions

  1. benjaesq revised this gist Feb 28, 2018. No changes.
  2. benjaesq revised this gist May 25, 2015. 1 changed file with 14 additions and 6 deletions.
    20 changes: 14 additions & 6 deletions .vimrc
    Original file line number Diff line number Diff line change
    @@ -2,23 +2,31 @@
    " .vimrc file. Based on:
    " http://vim.wikia.com/wiki/Example_vimrc

    " 4 spaces for tab presses expanded to spaces :)
    set shiftwidth=4 softtabstop=4
    set expandtab
    set incsearch hlsearch
    " some coding perks here below
    set backspace=indent
    " ----------------------------
    set autoindent
    syntax on
    filetype plugin on
    filetype indent plugin on

    " 4 spaces for tab presses expanded to spaces :)
    set shiftwidth=4 softtabstop=4
    set expandtab
    set incsearch hlsearch
    " Press space to clear search highlighting and any message displayed
    nnoremap <silent> <Space> :silent noh<Bar>echo<CR>
    set wildmenu showcmd
    " File type associations
    " ----------------------
    autocmd BufNewFile,BufReadPost *.md set filetype=markdown


    " The trunk
    " ---------
    "
    " I dislike the fact that the line numbers take so much space
    " set number

    " for highlighting EOL whitespaces I installed this vim utility:
    " http://vim.sourceforge.net/scripts/script.php?script_id=3966

    " set backspace=indent
  3. Benjamin Esquivel revised this gist Jun 5, 2014. 1 changed file with 4 additions and 3 deletions.
    7 changes: 4 additions & 3 deletions .vimrc
    Original file line number Diff line number Diff line change
    @@ -12,12 +12,13 @@ set autoindent
    syntax on
    filetype plugin on
    filetype indent plugin on
    " TODO: bring the EOL Whitespace inquisition in
    " highlight ExtraWhitespace ctermbg=darkgreen guibg=darkgreen

    " Press space to clear search highlighting and any message displayed
    nnoremap <silent> <Space> :silent noh<Bar>echo<CR>
    set wildmenu showcmd

    " I dislike the fact that the line numbers take so much space
    " set number
    " set number

    " for highlighting EOL whitespaces I installed this vim utility:
    " http://vim.sourceforge.net/scripts/script.php?script_id=3966
  4. Benjamin Esquivel revised this gist Jun 4, 2014. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions .vimrc
    Original file line number Diff line number Diff line change
    @@ -12,6 +12,8 @@ set autoindent
    syntax on
    filetype plugin on
    filetype indent plugin on
    " TODO: bring the EOL Whitespace inquisition in
    " highlight ExtraWhitespace ctermbg=darkgreen guibg=darkgreen

    " Press space to clear search highlighting and any message displayed
    nnoremap <silent> <Space> :silent noh<Bar>echo<CR>
  5. benjaesq created this gist Jun 4, 2014.
    21 changes: 21 additions & 0 deletions .vimrc
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,21 @@
    " [email protected]
    " .vimrc file. Based on:
    " http://vim.wikia.com/wiki/Example_vimrc

    " 4 spaces for tab presses expanded to spaces :)
    set shiftwidth=4 softtabstop=4
    set expandtab
    set incsearch hlsearch
    " some coding perks here below
    set backspace=indent
    set autoindent
    syntax on
    filetype plugin on
    filetype indent plugin on

    " Press space to clear search highlighting and any message displayed
    nnoremap <silent> <Space> :silent noh<Bar>echo<CR>
    set wildmenu showcmd

    " I dislike the fact that the line numbers take so much space
    " set number