Added TabNine, cleaned up some of the installer
Installed was running as `sh` and a bunch of crap was lit up as being wrong in POSIX mode, so just changed it over to run via `bash`. Added TabNine to the vim install and added the appropriate `vimrc` stuff for that. Also dropped some old color toggling shit I'm not using anymore.
This commit is contained in:
parent
f3415da152
commit
f09a9ddb40
3 changed files with 4 additions and 8 deletions
|
@ -6,7 +6,7 @@ master my life. My `dotfiles`, without me, are useless. Without my `dotfiles`, I
|
||||||
am useless.
|
am useless.
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
sh -c "$(curl -fsSL https://raw.githubusercontent.com/joshtronic/dotfiles/master/install)"
|
bash -c "$(curl -fsSL https://raw.githubusercontent.com/joshtronic/dotfiles/master/install)"
|
||||||
```
|
```
|
||||||
|
|
||||||

|

|
||||||
|
|
3
install
3
install
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
if [ -z "$HOME" ]; then echo "Seems you're \$HOMEless :("; exit 1; fi
|
if [ -z "$HOME" ]; then echo "Seems you're \$HOMEless :("; exit 1; fi
|
||||||
|
|
||||||
|
@ -77,6 +77,7 @@ VIMPLUGS=(
|
||||||
"jelera/vim-javascript-syntax"
|
"jelera/vim-javascript-syntax"
|
||||||
"Quramy/vim-js-pretty-template"
|
"Quramy/vim-js-pretty-template"
|
||||||
"StanAngeloff/php.vim"
|
"StanAngeloff/php.vim"
|
||||||
|
"zxqfl/tabnine-vim"
|
||||||
)
|
)
|
||||||
|
|
||||||
for INDEX in ${!VIMPLUGS[*]}; do
|
for INDEX in ${!VIMPLUGS[*]}; do
|
||||||
|
|
7
vimrc
7
vimrc
|
@ -1,12 +1,6 @@
|
||||||
syntax on
|
syntax on
|
||||||
color solarized
|
color solarized
|
||||||
|
|
||||||
" if exists('theme') && theme == 'light'
|
|
||||||
" set background=light
|
|
||||||
" else
|
|
||||||
" set background=dark
|
|
||||||
" endif
|
|
||||||
|
|
||||||
set background=dark
|
set background=dark
|
||||||
|
|
||||||
" FIX: Spell check highlighting broke for some reason
|
" FIX: Spell check highlighting broke for some reason
|
||||||
|
@ -28,3 +22,4 @@ autocmd FileType markdown,text setl tw=80 wm=2
|
||||||
autocmd BufWritePre * :%s/\s\+$//e
|
autocmd BufWritePre * :%s/\s\+$//e
|
||||||
|
|
||||||
set rtp+=~/.fzf
|
set rtp+=~/.fzf
|
||||||
|
set rtp+=~/.vim/pack/plugins/start/tabnine-vim
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue