From 6c55f95e83bbc2d17d28eec0d1690aca56751b2c Mon Sep 17 00:00:00 2001 From: Taylor Bockman Date: Fri, 27 Dec 2019 20:11:03 -0800 Subject: [PATCH] Go improvements, monitor improvements for t400 --- README.md | 14 ++++++++++++++ dotfiles/bash/bashrc | 3 +++ dotfiles/config/nvim/init.vim | 7 +------ 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 14c707e..a2ac6ce 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,8 @@ The directory structure is as follows: 5. *arch_configs* - Deprecated Arch Linux configurations 6. *iterm2* - Files related to iterm2 7. *xfce_themes* - Theming for Xfce. +8. *t400_color_profile* - Color profile for the LEN4033 (and more) WXGA+ 1440x900 screen upgrade for the T400. + ## Terminal @@ -85,3 +87,15 @@ In the root there is a themes folder with a nice theme called `Nord`. Run the pr ```sh /usr/bin/setxkbmap -option "caps:swapescape" ``` + +## T400 Stuff + +### Colors + +The default colors for XFCE on Manjaro are pretty washed out on the T400 upgraded WXGA+ screens. To improve this, +there is a color profile in the `t400_color_profile` folder that you can install using Gnome Color Profiles. The +improvement is subtle, but the screen definitely looks better. + +The particular model I am running is a LEN4033. This color profile works for many other monitors, however if your +EDID does not indicate you have a LEN4033 you should confirm this profile works for you monitor. There are many guides +on color calibration for the T4xx series of laptops online. diff --git a/dotfiles/bash/bashrc b/dotfiles/bash/bashrc index 6d2e7ec..69dd943 100644 --- a/dotfiles/bash/bashrc +++ b/dotfiles/bash/bashrc @@ -96,6 +96,9 @@ export HISTCONTROL=ignoredups # If go is installed, set the $GOPATH to the projects directory created above. if [[ -x go ]]; then export GOPATH=$HOME/projects/go + + # Add Go executables to the system path + export PATH=$PATH:$(go env GOPATH)/bin fi # ------------ END EXPORTS ------------# diff --git a/dotfiles/config/nvim/init.vim b/dotfiles/config/nvim/init.vim index f925433..cd2820e 100644 --- a/dotfiles/config/nvim/init.vim +++ b/dotfiles/config/nvim/init.vim @@ -59,6 +59,7 @@ Plug 'raichoo/haskell-vim' Plug 'OCamlPro/ocp-indent' Plug 'slim-template/vim-slim' Plug 'isRuslan/vim-es6' +Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' } " Flake8 Integration Plug 'nvie/vim-flake8' @@ -185,12 +186,6 @@ let g:go_highlight_extra_types = 1 " Make tabs display as 4 spaces for Go files (makes them easier to read) autocmd BufNewFile,BufRead *.go setlocal noexpandtab tabstop=4 shiftwidth=4 -" Go linting on write. This takes advantage of :GoMetaLinter in vim-go and requires golint to be installed -autocmd BufWritePost,FileWritePost *.go execute 'GoMetaLinter' | cwindow - -" If GoMetaLinter runs for longer than 5 seconds, time it out -let g:go_metalinter_deadline = "5s" - " Hotkeys " Note noremap is a normal mode non-recursive mapping " nnoremap and nmap make the bind only work in normal mode