various cfg updates
parent
d1cee9476b
commit
b3e12d4643
|
|
@ -52,6 +52,7 @@ fi
|
|||
|
||||
export EDITOR=$GIT_EDITOR
|
||||
export VISUAL=$EDITOR
|
||||
export VIMRUNTIME=~/tools/vim
|
||||
|
||||
if [ -d "${HOME}/tools/vim" ] ; then
|
||||
PATH=${HOME}/tools/vim:${PATH}
|
||||
|
|
|
|||
|
|
@ -99,6 +99,7 @@
|
|||
autocrlf = false
|
||||
eol = 'lf'
|
||||
editor = $EDITOR
|
||||
hooksPath = /home/adam/.githooks/
|
||||
|
||||
[color]
|
||||
# Use colors in Git commands that are capable of colored output when
|
||||
|
|
|
|||
6
.profile
6
.profile
|
|
@ -8,17 +8,17 @@ esac
|
|||
|
||||
# source environment settings
|
||||
if [ -f ~/.environment ]; then
|
||||
. ~/.environment
|
||||
. ~/.environment
|
||||
fi
|
||||
|
||||
# Load functions
|
||||
#if [ -f ~/.bash_functions ]; then
|
||||
#. ~/.bash_functions
|
||||
# . ~/.bash_functions
|
||||
#fi
|
||||
|
||||
# Load any extra aliases
|
||||
if [ -f ~/.bash_aliases ]; then
|
||||
. ~/.bash_aliases
|
||||
. ~/.bash_aliases
|
||||
fi
|
||||
|
||||
# Load pretty colors
|
||||
|
|
|
|||
9
.vimrc
9
.vimrc
|
|
@ -75,7 +75,7 @@ map <leader><Space> :HardTimeToggle<CR>
|
|||
map <Space> :noh<CR>
|
||||
|
||||
"replace
with regular newlines
|
||||
map <leader>ff :%s/
//g<CR>
|
||||
noremap <leader>c :%s/
//g<CR>
|
||||
|
||||
"list buffers
|
||||
map <leader>w :buffers<CR>
|
||||
|
|
@ -178,7 +178,7 @@ set cursorline
|
|||
" Make tabs as wide as four spaces
|
||||
set tabstop=4
|
||||
set expandtab
|
||||
set shiftwidth=2
|
||||
set shiftwidth=4
|
||||
" Show “invisible” characters
|
||||
set lcs=tab:▸\ ,trail:·,eol:¬,nbsp:_
|
||||
set list
|
||||
|
|
@ -222,7 +222,8 @@ let g:go_highlight_structs = 1
|
|||
let g:go_highlight_operators = 1
|
||||
let g:go_highlight_build_constraints = 1
|
||||
let g:go_highlight_extra_types = 1
|
||||
let g:go_fmt_command = "goimports"
|
||||
let g:go_fmt_command = "goreturns"
|
||||
" -b -w -p"
|
||||
|
||||
let g:syntastic_go_checkers = ['go', 'errcheck', 'gofmt', 'golint', 'govet']
|
||||
"let g:syntastic_mode_map = { 'mode': 'active', 'passive_filetypes': ['go'] }
|
||||
|
|
@ -254,7 +255,7 @@ endif
|
|||
|
||||
" ctrl p
|
||||
let g:ctrlp_map = '<C-P>'
|
||||
nnoremap <C-n> :CtrlPTag<cr>
|
||||
"nnoremap <C-l> :CtrlPTag<cr>
|
||||
|
||||
let g:ctrlp_cmd = 'CtrlPLastMode'
|
||||
let g:ctrlp_extensions = ['line']
|
||||
|
|
|
|||
Loading…
Reference in New Issue