Skip to content

Instantly share code, notes, and snippets.

@JuanjoSalvador
Last active October 9, 2019 19:39
Show Gist options
  • Save JuanjoSalvador/f8e77a29be984769ebfde7c8361a4ff3 to your computer and use it in GitHub Desktop.
Save JuanjoSalvador/f8e77a29be984769ebfde7c8361a4ff3 to your computer and use it in GitHub Desktop.
Place it on ~/.config/nvim/init.vim

Requirements

Install

  • Copy init.vim into your vim/neovim config (~/.vimrc or ~/.config/nvim/init.vim).
  • Run :PlugInstall command.
  • Reload.

Screenshot

image

" Directorio de plugins
call plug#begin('~/.local/share/nvim/plugged')
Plug 'mhartington/oceanic-next'
Plug 'scrooloose/nerdtree'
Plug 'Xuyuanp/nerdtree-git-plugin'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'tpope/vim-fugitive'
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
call plug#end()
if (has("termguicolors"))
set termguicolors
endif
" Theme
syntax enable
colorscheme OceanicNext
set number
set tabstop=2 shiftwidth=2 expandtab
" Mappings
map <F2> :NERDTreeToggle<CR>
map <F8> :make<CR>
" Autoloads
autocmd VimEnter * AirlineTheme luna
let g:deoplete#enable_at_startup = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment