Created
March 14, 2020 11:46
-
-
Save clockworkpc/b26bca286caeb1d871fee558a7674557 to your computer and use it in GitHub Desktop.
My Neovim Configuration File (symlinked to .vimrc)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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