commit 807fb3d362d70e905d16ab06e5f3812f2cd1f42e (tree)
parent d485bbb20a86bfdb778e03632b0a196f2c4e0bb4
Author: Motiejus Jakštys <motiejus@uber.com>
Date: Fri, 8 Nov 2019 10:34:48 +0200
nman, usego111module
Diffstat:
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/bash/.profile_motiejus b/bash/.profile_motiejus
@@ -45,6 +45,10 @@ ckdir() {
cd "$@"
}
+nman() {
+ nvim +"Man $@" +on
+}
+
. $HOME/.gg.sh
alias l='echo -n ł | pbcopy'
diff --git a/vim/.vim/vimrc b/vim/.vim/vimrc
@@ -43,9 +43,10 @@ au BufRead,BufNewFile *.avsc setlocal ts=2 sw=2 sws=2
" go
au FileType go setlocal noet
au FileType go nnoremap <C-]> :GoDef<CR>
+au FileType go let g:go_template_autocreate = 0
au FileType go let g:go_fmt_command = "goimports"
"au FileType go let g:go_fmt_command = "gofmt"
-au FileType go let g:go_template_autocreate = 0
+let $USEGO111MODULE="off"
" rust
au FileType rust let g:rustfmt_autosave = 1