Skip to content

Instantly share code, notes, and snippets.

@rohitwtbs
Last active March 6, 2022 16:16
Show Gist options
  • Save rohitwtbs/042ceb9bed30a0a11b444fd00c48be40 to your computer and use it in GitHub Desktop.
Save rohitwtbs/042ceb9bed30a0a11b444fd00c48be40 to your computer and use it in GitHub Desktop.

Revisions

  1. rohitwtbs revised this gist Mar 6, 2022. 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
    @@ -39,6 +39,8 @@ Plug'jnenn/fz',{'o':{->fz#install()}}

    Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
    Plug 'junegunn/fzf.vim'

    " Plugin to show file details
    Plug 'itchyny/lightline.vim'

    " Initialize plugin system
  2. rohitwtbs revised this gist Mar 6, 2022. 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
    @@ -39,6 +39,7 @@ Plug'jnenn/fz',{'o':{->fz#install()}}

    Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
    Plug 'junegunn/fzf.vim'
    Plug 'itchyny/lightline.vim'

    " Initialize plugin system
    call plug#end()
  3. rohitwtbs revised this gist Mar 4, 2022. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions .vimrc
    Original file line number Diff line number Diff line change
    @@ -37,6 +37,9 @@ Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
    Plug '~/my-prototype-plugin'
    Plug'jnenn/fz',{'o':{->fz#install()}}

    Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
    Plug 'junegunn/fzf.vim'

    " Initialize plugin system
    call plug#end()
    autocmd VimEnter * NERDTree
  4. rohitwtbs created this gist Jan 2, 2022.
    45 changes: 45 additions & 0 deletions .vimrc
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,45 @@
    set nu
    syntax on
    colorscheme desert
    " Specify a directory for plugins
    " - For Neovim: stdpath('data') . '/plugged'
    " - Avoid using standard Vim directory names like 'plugin'
    call plug#begin('~/.vim/plugged')

    " Make sure you use single quotes

    " Shorthand notation; fetches https://github.com/junegunn/vim-easy-align
    Plug 'junegunn/vim-easy-align'

    " Any valid git URL is allowed
    Plug 'https://github.com/junegunn/vim-github-dashboard.git'

    " Multiple Plug commands can be written in a single line using | separators
    Plug 'SirVer/ultisnips' | Plug 'honza/vim-snippets'

    " On-demand loading
    Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
    Plug 'tpope/vim-fireplace', { 'for': 'clojure' }

    " Using a non-default branch
    Plug 'rdnetto/YCM-Generator', { 'branch': 'stable' }

    " Using a tagged release; wildcard allowed (requires git 1.9.2 or above)
    Plug 'fatih/vim-go', { 'tag': '*' }

    " Plugin options
    Plug 'nsf/gocode', { 'tag': 'v.20150303', 'rtp': 'vim' }

    " Plugin outside ~/.vim/plugged with post-update hook
    Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }

    " Unmanaged plugin (manually installed and updated)
    Plug '~/my-prototype-plugin'
    Plug'jnenn/fz',{'o':{->fz#install()}}

    " Initialize plugin system
    call plug#end()
    autocmd VimEnter * NERDTree
    :set shortmess-=S
    set hlsearch
    set backspace=indent,eol,start