aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasil Zlatanov <v@skozl.com>2021-02-05 11:49:09 +0000
committerVasil Zlatanov <v@skozl.com>2021-02-05 11:49:09 +0000
commit8f6271777eebdbbf28cf6024e533a9fa88df36be (patch)
tree4cb684c5ef9c13ae004b28a2fb486b0e80ce3bb9
parent3746202a1040b773c35cd10f30dd8a981451b177 (diff)
downloaddotfiles-8f6271777eebdbbf28cf6024e533a9fa88df36be.tar.gz
dotfiles-8f6271777eebdbbf28cf6024e533a9fa88df36be.tar.bz2
dotfiles-8f6271777eebdbbf28cf6024e533a9fa88df36be.zip
Use Plug in for nvim
-rw-r--r--Editor/vimrc46
1 files changed, 21 insertions, 25 deletions
diff --git a/Editor/vimrc b/Editor/vimrc
index f34d6a1..425e0fc 100644
--- a/Editor/vimrc
+++ b/Editor/vimrc
@@ -1,32 +1,27 @@
set nocompatible " be iMproved, required
filetype off " required
-set enc=utf-8 " use uft-8
-set rtp+=~/.vim/bundle/Vundle.vim
-call vundle#begin()
-Plugin 'embear/vim-localvimrc' " Read .lvmrc
-Plugin 'takac/vim-hardtime' " Do not allow hjkl abuse
-Plugin 'tpope/vim-surround' " ys cs ds commands
-Plugin 'tpope/vim-repeat' " surround repeat
-Plugin 'tpope/vim-fugitive' " git support in airline
+call plug#begin('~/.vim/plugged')
+Plug 'embear/vim-localvimrc' " Read .lvmrc
+Plug 'takac/vim-hardtime' " Do not allow hjkl abuse
+Plug 'tpope/vim-surround' " ys cs ds commands
+Plug 'tpope/vim-repeat' " surround repeat
+Plug 'tpope/vim-fugitive' " git support in airline
-Plugin 'ervandew/supertab' " Smart <Tab> => <C-n>
-Plugin 'neomutt/neomutt.vim' " Support for neomutt filetypes
+Plug 'ervandew/supertab' " Smart <Tab> => <C-n>
+Plug 'neomutt/neomutt.vim' " Support for neomutt filetypes
-Plugin 'chriskempson/base16-vim' " Base16 themes
-"Plugin 'Yggdroot/indentLine' " Indent guides
+Plug 'chriskempson/base16-vim' " Base16 themes
+Plug 'Yggdroot/indentLine' " Indent guides
-Plugin 'w0rp/ale' " Linting Engine
-Plugin 'sakhnik/nvim-gdb', { 'do': ':!./install.sh \| UpdateRemotePlugins' }
+Plug 'w0rp/ale' " Linting Engine
" Quality of Life
-Plugin 'benizi/vim-automkdir' " Create subdirectiries
-Plugin 'junegunn/goyo.vim' " Distraction Free editing
-Plugin 'vim-scripts/DrawIt' " Draw boxes/lines
-Plugin 'rhysd/vim-grammarous' " Grammer checking
-
-
-call vundle#end() " required
+Plug 'benizi/vim-automkdir' " Create subdirectiries
+Plug 'junegunn/goyo.vim' " Distraction Free editing
+Plug 'vim-scripts/DrawIt' " Draw boxes/lines
+Plug 'rhysd/vim-grammarous' " Grammer checking
+call plug#end()
filetype plugin indent on " required
filetype plugin on
@@ -142,10 +137,10 @@ function! s:base16_customize() abort
call Base16hi("LineNr", g:base16_gui03, g:base16_cterm00, g:base16_cterm03, g:base16_cterm00, "", "")
call Base16hi("CursorLineNr", g:base16_gui04, g:base16_gui00, g:base16_cterm04, g:base16_cterm00, "", "")
endfunction
-augroup on_change_colorschema
- autocmd!
- autocmd ColorScheme * call s:base16_customize()
-augroup END
+"augroup on_change_colorschema
+" autocmd!
+" autocmd ColorScheme * call s:base16_customize()
+"augroup END
" Load base16_theme from ~/.vimrc_background
if filereadable(expand("~/.vimrc_background"))
@@ -154,4 +149,5 @@ if filereadable(expand("~/.vimrc_background"))
endif
+
let g:localvimrc_whitelist='/home/vsz/convolutional-screenshot-classifier'