dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 76eb0aa142dda5f1df1e2e93ab7b9477f72d0d67 (tree)
parent e9395c1fa37eeedd5c631651b2d8d8f9073f5c38
Author: Motiejus Jakštys <motiejus@uber.com>
Date:   Wed,  2 Sep 2020 23:35:05 +0300

goimports; screen lock locks the screen

Diffstat:
MX/.config/awesome/rc.lua | 2+-
Mvim/.vim/vimrc | 4++++
2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/X/.config/awesome/rc.lua b/X/.config/awesome/rc.lua @@ -369,7 +369,7 @@ globalkeys = gears.table.join( awful.util.spawn("brightness down") end), awful.key({ modkey }, "x", function() - awful.spawn.with_shell("i3lock --ignore-empty-password --pointer win --color=3a6ea5") + awfui.spawn.with_shell("xset dpms force off") end) ) diff --git a/vim/.vim/vimrc b/vim/.vim/vimrc @@ -46,6 +46,10 @@ au FileType go setlocal noet au FileType go nnoremap <buffer> <C-]> :GoDef<CR> au FileType go let g:go_template_autocreate = 0 au FileType go let g:go_fmt_command = "goimports" +let g:go_fmt_command = "goimports" +let g:go_fmt_options = { + \ 'goimports': '-local code.uber.internal,thriftrw/code.uber.internal,thrift/code.uber.internal,go.uber.org,golang.org,github.com', + \ } let $USEGO111MODULE="off" " strace