-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f2b7b8c
commit 1227495
Showing
1 changed file
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
" Install vim-plug if not found | ||
if empty(glob('~/.vim/autoload/plug.vim')) | ||
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs | ||
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | ||
endif | ||
|
||
" Run PlugInstall if there are missing plugins | ||
autocmd VimEnter * if len(filter(values(g:plugs), '!isdirectory(v:val.dir)')) | ||
\| PlugInstall --sync | source $MYVIMRC | ||
\| endif | ||
|
||
" vim plugins | ||
call plug#begin() | ||
Plug 'wakatime/vim-wakatime' | ||
call plug#end() | ||
|
||
" line numbers | ||
set number | ||
|
||
" syntax highlighting | ||
syntax on | ||
|
||
" tabs set to 4 spaces | ||
set tabstop=4 | ||
|
||
" automatically indent | ||
set autoindent | ||
|
||
" ensure tabs are consistent throughout all configurations | ||
" (incase wierd people with 5 space tabs use this lol) | ||
set expandtab | ||
|
||
" make sure backspacing tabs is also consistent | ||
" and doesnt just get rid of 1 space | ||
set softtabstop=4 | ||
|
||
" cursor line if i begine liking it | ||
" (uncomment line below to enable) | ||
" set cursorline | ||
|
||
|