summaryrefslogtreecommitdiff
path: root/.config/nvim/init.vim
diff options
context:
space:
mode:
authorDavid Luevano <55825613+luevano@users.noreply.github.com>2020-02-10 12:22:59 -0700
committerDavid Luevano <55825613+luevano@users.noreply.github.com>2020-02-10 12:22:59 -0700
commit5b7d5e11fa692578226da3307d69549554c11879 (patch)
treee51e602512288d7104753ef56b90186700800317 /.config/nvim/init.vim
parent64c0c43440bd1246a6e28abaee96ff04e0d1a0bb (diff)
Add some more configs
Diffstat (limited to '.config/nvim/init.vim')
-rw-r--r--.config/nvim/init.vim39
1 files changed, 39 insertions, 0 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
new file mode 100644
index 0000000..7aea348
--- /dev/null
+++ b/.config/nvim/init.vim
@@ -0,0 +1,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