summaryrefslogtreecommitdiff
path: root/.config/nvim/init.vim
blob: 7aea348de883dd41e78dc045ae9cda39f7b4d88e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
"
" ~/.config/nvim/init.vim
"

""---Auto installs vim-plug---""
" let autoload_plug_path = '~/.config/nvim/autoload/plug.vim'
" if !filereadable(autoload_plug_path)
"	echo "Downloading junegunn/vim-plug to manage plugins..."
" 	silent execute '!curl -fLo ' . autoload_plug_path . '  --create-dirs 
"		\ "https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim"'
"	autocmd VimEnter * PlugInstall
" endif
" unlet autoload_plug_path

""---Loads plugins---""
call plug#begin('~/.config/nvim/plugged')
	Plug 'mboughaba/i3config.vim'	

	" Goyo
	Plug 'junegunn/goyo.vim'
call plug#end()
"" Commands for plug.
" PlugInstall [name ...] [#threads]		Install plugins
" PlugUpdate [name ...] [#threads]		Install or update plugins
" PlugClean[!]							Remove unlisted plugins (bang version will clean without prompt)
" PlugUpgrade							Upgrade vim-plug itself
" PlugStatus							Check the status of plugins
" PlugDiff								Examine changes from the previous update and the pending changes
" PlugSnapshot[!] [output path]			Generate script for restoring the current snapshot of the plugins

""---Basic configuration---""
" Enable syntax highlighting.
syntax on

" Show line numbers and use relativenumber.
set number relativenumber

" Set 1 tab = 4 spaces.
set ts=4 sw=4