diff --git a/.gitmodules b/.gitmodules index e580be8..6df58ce 100644 --- a/.gitmodules +++ b/.gitmodules @@ -10,3 +10,12 @@ [submodule "pack/plugins/opt/onedark.vim"] path = pack/plugins/opt/onedark.vim url = https://github.com/joshdick/onedark.vim +[submodule "pack/plugins/start/tsuquyomi"] + path = pack/plugins/start/tsuquyomi + url = https://github.com/Quramy/tsuquyomi.git +[submodule "pack/plugins/start/typescript-vim"] + path = pack/plugins/start/typescript-vim + url = https://github.com/leafgarland/typescript-vim.git +[submodule "pack/plugins/start/vim-editorconfig"] + path = pack/plugins/start/vim-editorconfig + url = https://github.com/sgur/vim-editorconfig diff --git a/init.vim b/init.vim index 378cebc..34d480e 100644 --- a/init.vim +++ b/init.vim @@ -2,6 +2,10 @@ " SETTINGS +if !has('nvim') + setlocal cm=blowfish2 +end + " set relative line numbers set number relativenumber @@ -11,17 +15,20 @@ set hlsearch incsearch " show n-column limiter when textwidth is set set colorcolumn=+1 -" prevent terminal buffers to be closed when changing buffer -autocmd TermOpen * set bufhidden=hide +if has('nvim') + " prevent terminal buffers to be closed when changing buffer + autocmd TermOpen * set bufhidden=hide -" remove line numbers to terminale -autocmd TermOpen * set nornu nonu + " remove line numbers to terminale + autocmd TermOpen * set nornu nonu +end " set autoindent on` set autoindent " Make :find work on all files in :pwd set path+=** +set wildignore+=**/node_modules/** " ADDITIONAL COMMANDS @@ -35,7 +42,7 @@ nnoremap noh " clear trailing spaces with F3 nnoremap :%s/\s *$//g -" show Vim's true competitor with Ctrl-F1 +" show Vim's true competitor with F4 nnoremap :!open https://youtu.be/jn40Ugz0vuk " COLORSCHEME diff --git a/pack/plugins/start/tsuquyomi b/pack/plugins/start/tsuquyomi new file mode 160000 index 0000000..bdd034d --- /dev/null +++ b/pack/plugins/start/tsuquyomi @@ -0,0 +1 @@ +Subproject commit bdd034d06ed47176ec1ee0bd3dae5bc0aeb053e3 diff --git a/pack/plugins/start/typescript-vim b/pack/plugins/start/typescript-vim new file mode 160000 index 0000000..0e9d92e --- /dev/null +++ b/pack/plugins/start/typescript-vim @@ -0,0 +1 @@ +Subproject commit 0e9d92eead2df21abe342c4341c55536dd36b0af diff --git a/pack/plugins/start/vim-editorconfig b/pack/plugins/start/vim-editorconfig new file mode 160000 index 0000000..f1b81d4 --- /dev/null +++ b/pack/plugins/start/vim-editorconfig @@ -0,0 +1 @@ +Subproject commit f1b81d4c6b6cf1bf91cf5ce33148b2f6bb566a63