.dotfiles/configs/init.vim

32 lines
644 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-03-18 14:10:29 +01:00
Plug 'mhartington/oceanic-next'
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
colorscheme OceanicNext
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')