.dotfiles/configs/init.vim

33 lines
709 B
VimL
Raw Normal View History

2021-03-18 14:10:29 +01:00
set number
2021-03-18 14:10:29 +01:00
" Plugins will be downloaded under the specified directory.
call plug#begin('~/.vim/plugged')
2021-03-18 14:10:29 +01:00
" Declare the list of plugins.
Plug 'tpope/vim-sensible'
2021-06-07 14:23:59 +02:00
Plug 'kaicataldo/material.vim', { 'branch': 'main' }
2021-03-18 14:10:29 +01:00
Plug 'ryanoasis/vim-devicons'
Plug 'preservim/nerdtree'
2021-03-18 14:10:29 +01:00
" List ends here. Plugins become visible to Vim after this call.
call plug#end()
2021-03-18 14:10:29 +01:00
" For Neovim 0.1.3 and 0.1.4
let $NVIM_TUI_ENABLE_TRUE_COLOR=1
2021-03-18 14:10:29 +01:00
" Or if you have Neovim >= 0.1.5
if (has("termguicolors"))
set termguicolors
endif
2021-03-18 14:10:29 +01:00
" Theme
syntax enable
2021-06-07 14:23:59 +02:00
let g:material_theme_style = 'ocean-community'
colorscheme material
2021-03-18 14:10:29 +01:00
let mapleader = ","
2021-03-18 14:10:29 +01:00
nmap <F6> :NERDTreeToggle<CR>
2021-03-18 14:10:29 +01:00
let g:python3_host_prog = expand('~/.pyenv/shims/python3.9')