Add dracula theme as submodule
authorma <ma@beaudet.xyz>
Mon, 29 Mar 2021 15:52:10 +0000 (17:52 +0200)
committerma <ma@beaudet.xyz>
Mon, 29 Mar 2021 15:52:10 +0000 (17:52 +0200)
.gitmodules
pack/themes/start/dracula [new submodule]
vimrc

index 52859e2..7050e36 100644 (file)
@@ -22,3 +22,6 @@
 [submodule "pack/tpope/start/vim-dispatch"]
        path = pack/tpope/start/vim-dispatch
        url = https://github.com/tpope/vim-dispatch
+[submodule "pack/themes/start/dracula"]
+       path = pack/themes/start/dracula
+       url = https://github.com/dracula/vim.git
diff --git a/pack/themes/start/dracula b/pack/themes/start/dracula
new file mode 160000 (submodule)
index 0000000..ab37ffc
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit ab37ffc5aeb1693002f30254b3b9992965f45d5d
diff --git a/vimrc b/vimrc
index 73aaf06..45cd0af 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -1,3 +1,8 @@
+syntax enable
+packadd! dracula
+colorscheme dracula
+highlight Normal ctermbg=none
+
 let mapleader="\\"
 
 set hidden
@@ -20,16 +25,6 @@ if executable('rg')
     set grepprg=rg\ --vimgrep
 endif
 
-" Keep undo history across sessions by storing it in a file
-if has('persistent_undo')
-    let TheUndoDir = expand(vimDir . '/undo')
-    " Create dirs
-    call system('mkdir ' . vimDir)
-    call system('mkdir ' .  TheUndoDir)
-    let &undodir = TheUndoDir
-    set undofile
-endif
-
 set statusline=%<\ %f\ %m%r%y%w%=\ L:\ \%l\/\%L\ C:\ \%c\ 
 
 nnoremap gb :ls<CR>:b<Space>