Skip to content

Commit

Permalink
Added Fish Configs
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenyu committed Oct 12, 2015
1 parent 5451c2c commit dfc5c62
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .jscsrc
@@ -0,0 +1,5 @@
{
"preset": "airbnb",
"requireTrailingComma": null,
"safeContextKeyword": null
}
4 changes: 2 additions & 2 deletions .vim/.editorconfig
Expand Up @@ -5,7 +5,7 @@ root = true
[**.js]
indent_style = space
indent_size = 2
space_after_anon_function = true
space_after_anon_function = false

[**.jsx]
e4x = true
Expand All @@ -18,6 +18,6 @@ indent_size = 4

[**.html]
indent_style = space
indent_size = 4
indent_size = 2
max_char = 78
brace_style = expand
3 changes: 3 additions & 0 deletions .vim/ftplugin/html.vim
@@ -0,0 +1,3 @@
setl number
set tabstop=2
set shiftwidth=2
5 changes: 5 additions & 0 deletions .vim/ftplugin/javascript.vim
Expand Up @@ -5,3 +5,8 @@ set shiftwidth=2
set bs=2

nnoremap <leader>f :call JsBeautify()<cr>
"Replace Double Quotes with Single Quotes
nnoremap <Leader>rdq V:s/\"/\'/g<CR>
nnoremap <Leader>rdq V:s/\"/\'/g<CR>
2 changes: 2 additions & 0 deletions .vim/snippets/javascript.snippets
@@ -0,0 +1,2 @@
snippet us
'use strict';
4 changes: 1 addition & 3 deletions .vim/vimrc/general.vim
Expand Up @@ -15,8 +15,7 @@ set nowb
set noswapfile

set nopaste
set ignorecase

set ignorecase
set smartindent
set expandtab
set bs=2
Expand Down Expand Up @@ -83,7 +82,6 @@ nnoremap Q <nop>
" Ignore Whitespace within VimDif
set diffopt+=iwhite

vnorem // y/<c-r>"<cr>"


" Get off my lawn
Expand Down
4 changes: 2 additions & 2 deletions .vim/vimrc/plugins-config.vim
Expand Up @@ -43,8 +43,8 @@ set statusline+=%*
let g:syntastic_php_checkers = ['php', 'phpcs']
let g:syntastic_php_phpcs_args = "--standard=PSR2"

let g:syntastic_javascript_checkers = ['jslint']
let g:syntastic_javascript_jslint_args = ""
let g:syntastic_javascript_checkers = ['jscs']
let g:syntastic_javascript_jscs_args = "-c /home/stepheny/dotfiles/.jscsrc"

" phpunit compilation

Expand Down
6 changes: 6 additions & 0 deletions config.fish
@@ -1,5 +1,8 @@
function fish_greeting
end

function watch-commit --argument-names person
command watch --differences=permanent --interval 3600 "svn log --search $person 'https://trac.maglabs.net/svn-repos/' | head -n 2"
end

function tm
Expand All @@ -25,3 +28,6 @@ function cs --argument-names command cs
end
end

function last-commit-by --argument-names person
command svn log --search $person 'https://trac.maglabs.net/svn-repos/' | head -n 2
end

0 comments on commit dfc5c62

Please sign in to comment.