diff --git a/.tmux.conf b/.tmux.conf index 8eba866..f51a60a 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -5,8 +5,8 @@ bind-key C-a select-pane -t :.+ bind-key a send-prefix bind-key j select-pane -D bind-key k select-pane -U -#bind-key h select-pane -L -#bind-key l select-pane -R +bind-key h select-pane -L +bind-key l select-pane -R bind-key C-n next-window bind-key C-p previous-window set -g set-titles off diff --git a/.vimrc b/.vimrc index 486dc05..6dd9fd1 100644 --- a/.vimrc +++ b/.vimrc @@ -171,6 +171,11 @@ let g:UseGooglePythonSettings = 0 " * Eclim let g:EclimCompletionMethod = 'omnifunc' +" * Syntastic +let g:syntastic_python_flake8_args='--ignore=E111' +let g:syntastic_go_checkers=['go', 'govet', 'golintc'] +" E111 = Spaces should be multiples of 4. I use 2. + " * Configure browser for haskell_doc.vim let g:haddock_browser = "open" let g:haddock_browser_callformat = "%s %s" diff --git a/bin/golintc b/bin/golintc new file mode 100755 index 0000000..1efa0a1 --- /dev/null +++ b/bin/golintc @@ -0,0 +1,3 @@ +#!/bin/bash + +golint "$@" | grep -v "should have comment or be unexported"