Skip to content

Instantly share code, notes, and snippets.

@clockworkpc
Created March 14, 2020 11:46
Show Gist options
  • Save clockworkpc/b26bca286caeb1d871fee558a7674557 to your computer and use it in GitHub Desktop.
Save clockworkpc/b26bca286caeb1d871fee558a7674557 to your computer and use it in GitHub Desktop.
My Neovim Configuration File (symlinked to .vimrc)
call plug#begin('~/.vim/plugged')
" Declare the list of plugins.
Plug 'preservim/nerdtree'
Plug 'Xuyuanp/nerdtree-git-plugin'
Plug 'https://github.com/tiagofumo/vim-nerdtree-syntax-highlight.git'
Plug 'ryanoasis/vim-devicons'
Plug 'junegunn/fzf', { 'do': './install --bin' }
Plug 'junegunn/fzf.vim'
Plug 'dense-analysis/ale'
Plug 'tpope/vim-sensible'
Plug 'junegunn/seoul256.vim'
Plug 'https://github.com/jiangmiao/auto-pairs.git'
Plug 'https://github.com/tpope/vim-commentary.git'
Plug 'https://github.com/slim-template/vim-slim.git'
Plug 'https://github.com/tpope/vim-rails.git'
Plug 'vim-ruby/vim-ruby'
if has('nvim')
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
else
Plug 'Shougo/deoplete.nvim'
Plug 'roxma/nvim-yarp'
Plug 'roxma/vim-hug-neovim-rpc'
endif
let g:deoplete#enable_at_startup = 1
if has('nvim')
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
else
Plug 'Shougo/deoplete.nvim'
Plug 'roxma/nvim-yarp'
Plug 'roxma/vim-hug-neovim-rpc'
endif
let g:deoplete#enable_at_startup = 1
Plug 'Shougo/neosnippet.vim'
Plug 'Shougo/neosnippet-snippets'
" List ends here. Plugins become visible to Vim after this call.
call plug#end()
syntax on
filetype plugin indent on
let g:AutoPairsFlyMode = 1
" NERDTree Configuration
set encoding=UTF-8
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
" Key Mappings
map <C-n> :NERDTreeToggle<CR>
map <C-t> :Files<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment