1
0
Fork 0

Update 2018-12-18

This commit is contained in:
Nguyễn Gia Phong 2018-12-18 11:14:47 +07:00
parent 694b8f443d
commit c96d607a26
4 changed files with 7 additions and 3 deletions

View File

@ -373,6 +373,9 @@ globalkeys = awful.util.table.join(
awful.key({modkey}, "0",
function() awful.screen.focus_relative(1) end,
{description = "focus the next screen", group = "screen"}),
awful.key({modkey}, "`",
function() awful.screen.focus_relative(-1) end,
{description = "focus the previous screen", group = "screen"}),
awful.key({modkey}, "u", awful.client.urgent.jumpto,
{description = "jump to urgent client", group = "client"}),
awful.key({modkey}, "Tab",

4
debian/.mailcap vendored
View File

@ -27,7 +27,7 @@
# around the `%s`
image/x-imgur-album; feh %s; test=test -n "$DISPLAY"
image/gif; mpv '%s' --loop=inf; test=test -n "$DISPLAY"
#image/*; feh '%s'; test=test -n "$DISPLAY"
image/*; feh '%s'; test=test -n "$DISPLAY"
# Youtube videos are assigned a custom mime-type, which can be streamed with
# vlc or youtube-dl.
@ -55,7 +55,7 @@ image/x-imgur-album; echo
# 256 color images using half-width unicode characters
# Much higher quality that img2txt, but must be built from source
# https://github.com/rossy/img2xterm
image/*; curl -s '%s' | convert -resize 80x80 - jpg:/tmp/rtv.jpg && img2xterm /tmp/rtv.jpg; needsterminal; copiousoutput
#image/*; curl -s '%s' | convert -resize 80x80 - jpg:/tmp/rtv.jpg && img2xterm /tmp/rtv.jpg; needsterminal; copiousoutput
# Display images in classic ascii using img2txt and lib-caca
image/*; curl -s '%s' | convert - jpg:/tmp/rtv.jpg && img2txt -f utf8 /tmp/rtv.jpg; needsterminal; copiousoutput

View File

@ -31,7 +31,7 @@
'(erc-nick "cnx")
'(package-selected-packages
(quote
(markdown-mode smart-tabs-mode auctex wordnut magit geiser slime pdf-tools)))
(lua-mode markdown-mode smart-tabs-mode auctex wordnut magit geiser slime pdf-tools)))
'(scroll-bar-mode nil)
'(show-paren-mode t)
'(tool-bar-mode nil)

View File

@ -11,6 +11,7 @@ set tabstop=8 expandtab shiftwidth=2 softtabstop=-1 smarttab
set dictionary=/usr/share/dict/words
set keymap=vietnamese-telex imdisable iminsert=0 imsearch=-1
set omnifunc=syntaxcomplete#Complete
set diffopt+=algorithm:patience
autocmd BufWinEnter * let w:m1=matchadd('ColorColumn', '\%<81v.\%>80v', -1)
autocmd BufNewFile,BufRead *.PAS setlocal filetype=pascal
autocmd FileType c,h,go setlocal cindent noexpandtab shiftwidth=8