Skip to content

Commit

Permalink
Added vim plugins, jshintrc, gitignore, npm.
Browse files Browse the repository at this point in the history
  • Loading branch information
mlent committed Feb 19, 2015
1 parent b50eb3c commit 50bf51d
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
node_modules/*
3 changes: 3 additions & 0 deletions .jshint
@@ -0,0 +1,3 @@
{
"indent": 2
}
1 change: 1 addition & 0 deletions .vim/bundle/syntastic
Submodule syntastic added at 776d41
15 changes: 15 additions & 0 deletions .vimrc
Expand Up @@ -17,6 +17,21 @@ Plugin 'kien/ctrlp.vim'

" Track the engine.
Plugin 'SirVer/ultisnips'
Plugin 'scroolose/syntastic'
Plugin 'scroolose/nerdtree'

" Syntastic
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
let g:syntastic_enable_signs = 1
let g:syntastic_auto_loc_list = 2
let g:syntastic_cpp_check_header = 1
let g:syntastic_cpp_no_include_search = 0
let g:syntastic_javascript_checkers = ["jshint"]
let g:syntastic_error_symbol = "X"
let g:syntastic_style_error_symbol = ">"
let g:syntastic_warning_symbol = "!"
let g:syntastic_style_warning_symbol = ">"

" Snippets are separated from the engine. Add this if you want them:
Plugin 'honza/vim-snippets'
Expand Down
4 changes: 3 additions & 1 deletion install.sh
Expand Up @@ -2,7 +2,7 @@

dir=/opt/dotfiles
old_dir=/opt/dotfiles_old
files=".bash_profile .vimrc tmux"
files=".bash_profile .vimrc tmux .jshint package.json"

echo "Creating backup in $olddir"
mkdir -p $olddir
Expand All @@ -16,3 +16,5 @@ for file in $files; do
echo "Symlinking $file"
ln -s $dir/$file ~/$file
done

npm install
20 changes: 20 additions & 0 deletions package.json
@@ -0,0 +1,20 @@
{
"name": "dotfiles",
"version": "1.0.0",
"description": "My small but growing collection of dotfiles.",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "https://github.com/mlent/dotfiles.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/mlent/dotfiles/issues"
},
"homepage": "https://github.com/mlent/dotfiles",
"dependencies": {}
}

0 comments on commit 50bf51d

Please sign in to comment.