Skip to content

Instantly share code, notes, and snippets.

@yellowbean
Last active April 17, 2022 18:49
Show Gist options
  • Save yellowbean/7964e8c486bb6cafe418f68acccfa548 to your computer and use it in GitHub Desktop.
Save yellowbean/7964e8c486bb6cafe418f68acccfa548 to your computer and use it in GitHub Desktop.
vim file
" Specify a directory for plugins
" - For Neovim: ~/.local/share/nvim/plugged
" - Avoid using standard Vim directory names like 'plugin'
"base
call plug#begin('C:\Users\xyzhang\.config\nvim\plugged')
"Plug 'tpope/vim-vinegar'
"Plug 'scrooloose/nerdtree'
Plug 'easymotion/vim-easymotion'
" Git
Plug 'tpope/vim-fugitive'
"Plug 'tpope/vim-fireplace', { 'for': 'clojure' }
Plug 'kien/rainbow_parentheses.vim'
Plug 'guns/vim-clojure-static'
Plug 'guns/vim-clojure-highlight'
Plug 'guns/vim-sexp'
Plug 'tpope/vim-sexp-mappings-for-regular-people'
"Plug 'clojure-vim/acid.nvim',{'do':':UpdateRemotePlugins'}
Plug 'jiangmiao/auto-pairs', { 'tag': 'v2.0.0' }
Plug 'Olical/conjure', { 'tag': 'v2.1.2', 'do': 'bin/compile' }
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'Shougo/deoplete.nvim'
"Plug 'ncm2/float-preview.nvim'
"Plug 'ycm-core/YouCompleteMe'
"Plug 'Lokaltog/powerline', {'rtp': 'powerline/bindings/vim/'}
Plug 'dracula/vim', { 'as': 'dracula' }
Plug 'easymotion/vim-easymotion'
"Plug 'w0rp/ale'
"Plug 'ncm2/ncm2'
"Plug 'roxma/nvim-yarp'
"Plug 'ncm2/ncm2-bufword'
"Plug 'ncm2/ncm2-path'
"Plug 'ncm2/ncm2-jedi'
"Plug 'Chie192/vim-autoformat'
"markdown
Plug 'shime/vim-livedown'
nmap ld :LivedownToggle<CR>
"" Initialize plugin system
call plug#end()
"" clojure
"let g:deoplete#enable_at_startup = 1
"call deoplete#custom#option('keyword_patterns', {'clojure': '[\w!$%&*+/:<=>?@\^_~\-\.#]*'})
"set completeopt-=preview
"let g:float_preview#docked = 0
"let g:float_preview#max_width = 80
"let g:float_preview#max_height = 40
syntax on
color dracula
set number
set relativenumber
set guifont=Monospace:h14
set mouse=a
source $VIMRUNTIME/mswin.vim
@yellowbean
Copy link
Author

autocmd vimenter * NERDTree " auto start nerdtree
map :NERDTreeToggle

@yellowbean
Copy link
Author

" enable line numbers
let NERDTreeShowLineNumbers=1
" make sure relative line numbers are used
autocmd FileType nerdtree setlocal relativenumber

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment