Skip to content

Instantly share code, notes, and snippets.

@Artm1n3r
Created April 18, 2020 16:32
Show Gist options
  • Save Artm1n3r/c30dea3d5671be70fca897f5c95eda25 to your computer and use it in GitHub Desktop.
Save Artm1n3r/c30dea3d5671be70fca897f5c95eda25 to your computer and use it in GitHub Desktop.

Revisions

  1. Artm1n3r created this gist Apr 18, 2020.
    33 changes: 33 additions & 0 deletions .vimrc
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,33 @@
    execute pathogen#infect()

    set nocompatible " set compatibility to Vim only

    syntax on " turn on syntax highlight

    colorscheme badwolf " my color schema

    filetype plugin indent on " filetype

    set modelines=0 " turn off modellines

    set wrap " automatically wrap text that extends beyond the screen length

    nnoremap <F2> :set invpaste paste?<CR>
    imap <F2> <C-O>:set invpaste paste?<CR>
    set pastetoggle=<F2>

    set tabstop=4 " show existing tab with 4 spaces width

    set softtabstop=4 " number of spaces in tab when editing

    set shiftwidth=4 " when indenting with '>' use 4 spaces width

    set expandtab " on press tab, insert 4 spaces

    set number " to display line numbers

    "set showcmd " show command in botton bar

    set cursorline " highlight current line
    1 change: 1 addition & 0 deletions plugins.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    # Plugins ([vim-pathogen](https://github.com/tpope/vim-pathogen))