From: ma Date: Mon, 29 Mar 2021 15:52:10 +0000 (+0200) Subject: Add dracula theme as submodule X-Git-Url: https://git.beaudet.xyz/?a=commitdiff_plain;h=e450f2ed83a233397ce43f87e0c3a32394a72e0b;p=vim.git Add dracula theme as submodule --- diff --git a/.gitmodules b/.gitmodules index 52859e2..7050e36 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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 index 0000000..ab37ffc --- /dev/null +++ b/pack/themes/start/dracula @@ -0,0 +1 @@ +Subproject commit ab37ffc5aeb1693002f30254b3b9992965f45d5d diff --git a/vimrc b/vimrc index 73aaf06..45cd0af 100644 --- 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:b