diff --git a/.gitmodules b/.gitmodules index 3816467..364cc81 100644 --- a/.gitmodules +++ b/.gitmodules @@ -37,3 +37,6 @@ [submodule "pack/plugin/opt/airline"] path = pack/plugin/opt/airline url = https://github.com/vim-airline/vim-airline +[submodule "pack/plugin/opt/airline-themes"] + path = pack/plugin/opt/airline-themes + url = https://github.com/vim-airline/vim-airline-themes.git diff --git a/pack/plugin/opt/airline-themes b/pack/plugin/opt/airline-themes new file mode 160000 index 0000000..a9aa25c --- /dev/null +++ b/pack/plugin/opt/airline-themes @@ -0,0 +1 @@ +Subproject commit a9aa25ce323b2dd04a52706f4d1b044f4feb7617 diff --git a/vimrc.d/01-basic.vim b/vimrc.d/01-basic.vim deleted file mode 100644 index 6122228..0000000 --- a/vimrc.d/01-basic.vim +++ /dev/null @@ -1,83 +0,0 @@ -" This is vimrc basic settings. -" Settings could be overwrited by modifying ../vimrc - -" env variables -if has('win32') || has('win64') - let g:CONFIGPATH = $USERPROFILE . '/vimfiles' -elseif has('unix') - let g:CONFIGPATH = $HOME . '/.vim' -endif - -filetype plugin indent on " Load plugins according to detected filetype. -syntax on " Enable syntax highlighting. - -set autoindent " Indent according to previous line. -set expandtab " Use spaces instead of tabs. -set softtabstop =4 " Tab key indents by 4 spaces. -set shiftwidth =4 " >> indents by 4 spaces. -set shiftround " >> indents to next multiple of 'shiftwidth'. - -set backspace =indent,eol,start " Make backspace work as you would expect. -set hidden " Switch between buffers without having to save first. -set laststatus =2 " Always show statusline. -set display =lastline " Show as much as possible of the last line. - -set showmode " Show current mode in command-line. -set showcmd " Show already typed keys when more are expected. - -set incsearch " Highlight while searching with / or ?. -set hlsearch " Keep matches highlighted. - -set ttyfast " Faster redrawing. -set lazyredraw " Only redraw when necessary. - -set splitbelow " Open new windows below the current window. -set splitright " Open new windows right of the current window. - -set cursorline " Find the current line quickly. -set wrapscan " Searches wrap around end-of-file. -set report =0 " Always report changed lines. -set synmaxcol =200 " Only highlight the first 200 columns. - -set list " Show non-printable characters. - -if has('multi_byte') && &encoding ==# 'utf-8' - let &listchars = 'tab:▸ ,extends:❯,precedes:❮,nbsp:±' -else - let &listchars = 'tab:> ,extends:>,precedes:<,nbsp:.' -endif - -" The fish shell is not very compatible to other shells and unexpectedly -" breaks things that use 'shell'. -if &shell =~# 'fish$' - set shell=/bin/bash -endif - -if has('win32') - set shell=pwsh.exe - set shellcmdflag=-command - set shellquote=\" - set shellxquote= -endif - -" Put all temporary files under the same directory. -" https://github.com/mhinz/vim-galore#temporary-files -set backup -set backupext =-vimbackup -set backupskip = -set updatecount =100 -set undofile - -if exists('g:CONFIGPATH') - execute 'set undodir=' . escape(g:CONFIGPATH, ' \') . '/undo/' - execute 'set directory=' . escape(g:CONFIGPATH, ' \') . '/swap/' - execute 'set backupdir=' . escape(g:CONFIGPATH, ' \') . '/backup/' -endif - -" set textwidth =80 - -set updatetime =300 -set signcolumn =yes -set smartcase - -set foldmethod =manual \ No newline at end of file