Skip to content

Instantly share code, notes, and snippets.

@abuturabofficial
Last active December 16, 2021 13:15
Show Gist options
  • Select an option

  • Save abuturabofficial/e557b9f318266c3cf32c51c6b3898738 to your computer and use it in GitHub Desktop.

Select an option

Save abuturabofficial/e557b9f318266c3cf32c51c6b3898738 to your computer and use it in GitHub Desktop.

Revisions

  1. Sajid Mahmood revised this gist Dec 16, 2021. 1 changed file with 0 additions and 27 deletions.
    27 changes: 0 additions & 27 deletions .vimrc
    Original file line number Diff line number Diff line change
    @@ -31,33 +31,6 @@ set wildignore=*.docx,*.jpg,*.png,*.gif,*.pdf,*.pyc,*.exe,*.flv,*.img,*.xlsx

    " }}}

    syntax on
    set wrap
    set number
    set autoindent
    set shiftwidth=4
    set nocompatible
    filetype on
    filetype indent on
    filetype plugin on
    set tabstop=4
    set hlsearch
    set expandtab
    set ignorecase
    set incsearch
    set laststatus=2
    set wildmenu
    set cursorline
    set title
    set mouse=a
    set autoread
    set confirm
    set history=1000
    set foldmethod=indent
    set foldnestmax=3
    set showcmd
    set wildignore=*.docx,*.jpg,*.png,*.gif,*.pdf,*.pyc,*.exe,*.flv,*.img,*.xlsx

    " PLUGINS ---------------------------------------------------------------- {{{

    " Plugin code goes here.
  2. Sajid Mahmood revised this gist Dec 16, 2021. 1 changed file with 47 additions and 3 deletions.
    50 changes: 47 additions & 3 deletions .vimrc
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,7 @@
    " Set commands for vim ---------------------------------------------------------------- {{{

    " Set command code goes here.

    syntax on
    set wrap
    set number
    @@ -9,6 +13,36 @@ filetype indent on
    filetype plugin on
    set tabstop=4
    set hlsearch
    set expandtab
    set ignorecase
    set incsearch
    set laststatus=2
    set wildmenu
    set cursorline
    set title
    set mouse=a
    set autoread
    set confirm
    set history=1000
    set foldmethod=indent
    set foldnestmax=3
    set showcmd
    set wildignore=*.docx,*.jpg,*.png,*.gif,*.pdf,*.pyc,*.exe,*.flv,*.img,*.xlsx

    " }}}

    syntax on
    set wrap
    set number
    set autoindent
    set shiftwidth=4
    set nocompatible
    filetype on
    filetype indent on
    filetype plugin on
    set tabstop=4
    set hlsearch
    set expandtab
    set ignorecase
    set incsearch
    set laststatus=2
    @@ -19,7 +53,6 @@ set mouse=a
    set autoread
    set confirm
    set history=1000
    set spell
    set foldmethod=indent
    set foldnestmax=3
    set showcmd
    @@ -30,7 +63,8 @@ set wildignore=*.docx,*.jpg,*.png,*.gif,*.pdf,*.pyc,*.exe,*.flv,*.img,*.xlsx
    " Plugin code goes here.
    call plug#begin('~/.vim/plugged')

    Plug 'dense-analysis/ale'
    Plug 'vim-airline/vim-airline'
    Plug 'vim-airline/vim-airline-themes'
    Plug 'preservim/nerdtree'


    @@ -64,4 +98,14 @@ augroup END

    " Status bar code goes here.

    " }}}
    " }}}



    " Colors ------------------------------------------------------------ {{{
    " Vim colors go here.

    set background=dark
    set termguicolors

    " }}}
  3. Sajid Mahmood revised this gist Dec 12, 2021. 1 changed file with 48 additions and 3 deletions.
    51 changes: 48 additions & 3 deletions .vimrc
    Original file line number Diff line number Diff line change
    @@ -1,10 +1,12 @@
    syntax on
    set wrap
    set number
    filetype on
    filetype indent on
    set autoindent
    set shiftwidth=4
    set nocompatible
    filetype on
    filetype indent on
    filetype plugin on
    set tabstop=4
    set hlsearch
    set ignorecase
    @@ -19,4 +21,47 @@ set confirm
    set history=1000
    set spell
    set foldmethod=indent
    set foldnestmax=3
    set foldnestmax=3
    set showcmd
    set wildignore=*.docx,*.jpg,*.png,*.gif,*.pdf,*.pyc,*.exe,*.flv,*.img,*.xlsx

    " PLUGINS ---------------------------------------------------------------- {{{

    " Plugin code goes here.
    call plug#begin('~/.vim/plugged')

    Plug 'dense-analysis/ale'
    Plug 'preservim/nerdtree'


    call plug#end()
    " }}}


    " MAPPINGS --------------------------------------------------------------- {{{

    " Mappings code goes here.


    " }}}


    " VIMSCRIPT -------------------------------------------------------------- {{{

    " This will enable code folding.
    " Use the marker method of folding.
    augroup filetype_vim
    autocmd!
    autocmd FileType vim setlocal foldmethod=marker
    augroup END

    " More Vimscripts code goes here.

    " }}}


    " STATUS LINE ------------------------------------------------------------ {{{

    " Status bar code goes here.

    " }}}
  4. Sajid Mahmood revised this gist Dec 12, 2021. 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
    @@ -1,6 +1,8 @@
    syntax on
    set wrap
    set number
    filetype on
    filetype indent on
    set autoindent
    set shiftwidth=4
    set tabstop=4
  5. Sajid Mahmood revised this gist Dec 12, 2021. 1 changed file with 0 additions and 1 deletion.
    1 change: 0 additions & 1 deletion .vimrc
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,6 @@ syntax on
    set wrap
    set number
    set autoindent
    set filetype
    set shiftwidth=4
    set tabstop=4
    set hlsearch
  6. Sajid Mahmood revised this gist Dec 12, 2021. 1 changed file with 0 additions and 1 deletion.
    1 change: 0 additions & 1 deletion .vimrc
    Original file line number Diff line number Diff line change
    @@ -3,7 +3,6 @@ set wrap
    set number
    set autoindent
    set filetype
    set syntax
    set shiftwidth=4
    set tabstop=4
    set hlsearch
  7. Sajid Mahmood created this gist Dec 12, 2021.
    22 changes: 22 additions & 0 deletions .vimrc
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,22 @@
    syntax on
    set wrap
    set number
    set autoindent
    set filetype
    set syntax
    set shiftwidth=4
    set tabstop=4
    set hlsearch
    set ignorecase
    set incsearch
    set laststatus=2
    set wildmenu
    set cursorline
    set title
    set mouse=a
    set autoread
    set confirm
    set history=1000
    set spell
    set foldmethod=indent
    set foldnestmax=3