Browse Source

Go improvements, monitor improvements for t400

Taylor Bockman 4 years ago
parent
commit
6c55f95e83
  1. 14
      README.md
  2. 3
      dotfiles/bash/bashrc
  3. 7
      dotfiles/config/nvim/init.vim

14
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.

3
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 ------------#

7
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

Loading…
Cancel
Save