vim cleanup, sneak + sasslint

main
Steffen Rademacker 8 years ago
parent 70fecea619
commit 4e7a7b9958

@ -51,6 +51,7 @@ ln -s ~/dotfiles/editorconfig ~/.editorconfig
ln -s ~/dotfiles/eslintrc ~/.eslintrc
ln -s ~/dotfiles/gitconfig ~/.gitconfig
ln -s ~/dotfiles/gitignore ~/.gitignore
ln -s ~/dotfiles/sass-lint.yml ~/.sass-lint.yml
ln -s ~/dotfiles/slate.js ~/.slate.js
ln -s ~/dotfiles/tmux.conf ~/.tmux.conf
ln -s ~/dotfiles/vim ~/.vim
@ -59,7 +60,6 @@ ln -s ~/dotfiles/zsh ~/.zsh
ln -s ~/dotfiles/zshrc ~/.zshrc
# set xterm/screen terminals to enable italic fonts in terminal
ln -s ~/dotfiles/zsh/pure/pure.zsh /usr/local/share/zsh/site-functions/prompt_pure_setup
tic ~/dotfiles/terminfo/xterm-256color.terminfo
# set iterm terminal to xterm-256color and enable italics!

@ -16,5 +16,5 @@ npm install -g jsonlint
npm install -g npm-check-updates
npm install -g pure-prompt
npm install -g recursive-blame
npm install -g trash
npm install -g trash-cli
npm install -g vtop

@ -0,0 +1,25 @@
options:
merge-default-rules: true
files:
ignore:
- 'src/scss/vendor/*.scss'
rules:
class-name-format:
- 1
- convention: hyphenatedbem
placeholder-name-format:
- 1
- convention: hyphenatedbem
nesting-depth:
- 1
- max-depth: 4
mixins-before-declarations:
- 1
- exclude: [ 'mediaquery', 'attention' ]
no-color-literals: 0
leading-zero: 0
property-sort-order: 0
force-pseudo-nesting: 0
space-around-operator: 0

@ -90,7 +90,7 @@ setw -g window-status-current-fg brightred
setw -g window-status-current-bg default
setw -g clock-mode-colour green
# Custom status bar - with Powerline symbols: ⮂ ⮃ ⮀ ⮁ ⭤
# Custom status bar
set -g status-left-length 32
set -g status-right-length 150
set -g status-interval 5
@ -99,4 +99,3 @@ set -g status-left '#[fg=colour235,bg=colour252,bold] ❐ #S #[fg=colour252,bg=c
set -g status-right '#[fg=colour238,bg=default,nobold]#[fg=colour245,bg=colour238] #(whoami)@#h#[fg=colour252] #[fg=colour235,bg=colour252,bold] #(date +"%H:%M") '
set -g window-status-format '#[fg=base0,bg=default] #I #W'
set -g window-status-current-format '#[fg=black,bg=brightred]#[fg=colour251,bg=brightred,noreverse,bold] #I #W #[fg=brightred,bg=black,nobold]'

@ -1,10 +1,7 @@
" Vim sneak
"======================================================================
" let g:sneak#use_ic_scs = 1
" let g:sneak#map_netrw = 0
" let g:sneak#streak = 1
" nmap <Bslash> <Plug>SneakNext
" nmap \| <Plug>SneakPrevious
" xmap <Bslash> <Plug>VSneakNext
" xmap \| <Plug>VSneakPrevious
let g:sneak#use_ic_scs = 0
let g:sneak#map_netrw = 1
let g:sneak#s_next = 1
let g:sneak#streak = 1

@ -3,13 +3,11 @@
" no checking for xhtml/html -- because of fluidtemplate for TYPO3
" and no checking for scss.css because of CSS3 and SASS-Variable
let g:syntastic_auto_jump = 0
let g:syntastic_scss_scss_lint_exec = '/Users/webgefrickel/.rbenv/shims/scss-lint'
let g:syntastic_scss_checkers = ['scss-lint']
let g:syntastic_javascript_checkers = ['eslint']
let g:syntastic_json_checkers = ['jsonlint']
let g:syntastic_auto_jump = 0
let g:syntastic_mode_map = {
\ 'mode': 'active',
\ 'active_filetypes': ['php', 'scss', 'javascript', 'json'],
\ 'active_filetypes': ['php', 'javascript', 'json'],
\ 'passive_filetypes': ['xhtml', 'html']
\ }

@ -50,6 +50,7 @@ alias ggpnp='git pull origin $(current_branch) && git push origin $(current_bran
alias gsmu='git submodule init && git submodule update'
alias gsmuu='git submodule foreach git pull origin master'
alias gsvn='git checkout master && git svn fetch && git merge dev && git svn rebase && git svn dcommit'
alias ggall='git remote | xargs -L1 git push --all'
alias gmo='$EDITOR $(git ls-files -m)'
# aliases for apache and mysql

Loading…
Cancel
Save