Browse Source

Some go related changes

master
Taylor Bockman 8 years ago
parent
commit
87e845f2f8
  1. 4
      dotfiles/config/configstore/update-notifier-nodemon.json
  2. 1
      dotfiles/config/gocode/config.json
  3. 26
      dotfiles/config/htop/htoprc
  4. 4
      dotfiles/config/nvim/init.vim

4
dotfiles/config/configstore/update-notifier-nodemon.json

@ -0,0 +1,4 @@
{
"optOut": false,
"lastUpdateCheck": 1492129314488
}

1
dotfiles/config/gocode/config.json

@ -0,0 +1 @@
{"propose-builtins":true,"lib-path":"","custom-pkg-prefix":"","custom-vendor-dir":"","autobuild":true,"force-debug-output":"","package-lookup-mode":"go","close-timeout":1800,"unimported-packages":false}

26
dotfiles/config/htop/htoprc

@ -0,0 +1,26 @@
# Beware! This file is rewritten by htop when settings are changed in the interface.
# The parser is also very primitive, and not human-friendly.
fields=0 48 17 18 38 39 2 46 47 49 1
sort_key=46
sort_direction=1
hide_threads=0
hide_kernel_threads=1
hide_userland_threads=0
shadow_other_users=0
show_thread_names=0
show_program_path=1
highlight_base_name=0
highlight_megabytes=1
highlight_threads=1
tree_view=0
header_margin=1
detailed_cpu_time=0
cpu_count_from_zero=0
update_process_names=0
account_guest_in_cpu_meter=0
color_scheme=0
delay=15
left_meters=LeftCPUs Memory Swap
left_meter_modes=1 1 1
right_meters=RightCPUs Tasks LoadAverage Uptime
right_meter_modes=1 2 2 2

4
dotfiles/config/nvim/init.vim

@ -151,6 +151,10 @@ let g:rust_recommended_style=0
" Explicitly provide vim-go the gofmt command " Explicitly provide vim-go the gofmt command
let g:go_fmt_command = "gofmt" let g:go_fmt_command = "gofmt"
" Go linting and automatically lint on write
set rtp+=$GOPATH/src/github.com/golang/lint/misc/vim
autocmd BufWritePost,FileWritePost *.go execute 'Lint' | cwindow
" Hotkeys " Hotkeys
" Note noremap is a normal mode non-recursive mapping " Note noremap is a normal mode non-recursive mapping
" nnoremap and nmap make the bind only work in normal mode " nnoremap and nmap make the bind only work in normal mode

Loading…
Cancel
Save