Skip to content

Instantly share code, notes, and snippets.

@chouzar
Last active May 22, 2020 00:16
Show Gist options
  • Select an option

  • Save chouzar/f9550ec2d59be443b1af6e614db510c1 to your computer and use it in GitHub Desktop.

Select an option

Save chouzar/f9550ec2d59be443b1af6e614db510c1 to your computer and use it in GitHub Desktop.
Vim config
" Install vim plug with
"
" curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
" https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
"
" Specify a directory for plugins
" - For Neovim: ~/.local/share/nvim/plugged
" - Avoid using standard Vim directory names like 'plugin'"
"
" At your ~/.vimrc file type
call plug#begin('~/.vim/plugged')
Plug 'junegunn/vim-easy-align'
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
"Plug 'elixir-editors/vim-elixir'
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
Plug 'junegunn/fzf.vim'
Plug 'itchyny/lightline.vim'
"Plug 'w0rp/ale'
"Plug 'gleam-lang/gleam.vim'
"Plug 'dense-analysis/ale'
" Initialize plugin system
call plug#end()
set nu
map <C-n> :NERDTreeToggle<CR>
map <C-f> :Files<CR>
" On vim install the scripts by executing
" :PlugInstall
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment