1
0
Fork 0

Update 2019-09-20

This commit is contained in:
Nguyễn Gia Phong 2019-09-20 22:13:46 +07:00
parent 3030db8ff0
commit 6b9a1b1a3d
3 changed files with 10 additions and 5 deletions

View File

@ -480,8 +480,6 @@ local globalkeys = awful.util.table.join(
{description = "open Thunderbird", group = "launcher"}),
awful.key({modkey, "Shift"}, "g", spawner"gimp",
{description = "open GIMP", group = "launcher"}),
awful.key({modkey, "Shift"}, "m", spawner"moodledesktop",
{description = "open Moodle Desktop", group = "launcher"}),
awful.key({modkey}, "r", spawner(ranger),
{description = "open ranger file manager", group = "launcher"}),
awful.key({modkey, "Shift"}, "r", spawner(ranger .. " Documents/B2"),
@ -524,6 +522,13 @@ local globalkeys = awful.util.table.join(
{description = "Audacious: next track", group = "multimedia"}),
awful.key({}, "XF86Display", spawner"arandr",
{description = "open Arandr", group = "multimedia"}),
awful.key({modkey},
"XF86Display",
function ()
awful.spawn".screenlayout/single.sh"
awesome.restart()
end,
{description = "switch to single display", group = "multimedia"}),
awful.key({}, "Print", nil, spawner(scrot_select),
{description = "shoot a window or rectangle selected with a mouse",
group = "multimedia"}),

View File

@ -1,5 +1,5 @@
runtime ftplugin/man.vim
nmap K :Man <cword><CR>
set guifont=Latin\ Modern\ Mono\ 12
set guioptions=Pc
set guioptions=ci
set guicursor+=a:blinkon0

View File

@ -3,7 +3,7 @@ set undodir=~/.cache/vim/undo
set directory=~/.cache/vim/swap
set backupdir=~/.cache/vim/backup
set viminfo+=n~/.cache/vim/viminfo
set clipboard=exclude:cons\|linux autochdir
set clipboard=unnamedplus autochdir
set showcmd noshowmode ruler wildmenu confirm number relativenumber
set nostartofline
if has("patch-7.4.710")
@ -21,7 +21,6 @@ autocmd FileType c,h,go,glsl setlocal cindent cinoptions=(0 noexpandtab shiftwid
autocmd FileType rst setlocal shiftwidth=3
autocmd FileType css,javascript,python,perl6 setlocal shiftwidth=4
autocmd FileType python syntax keyword pythonBoolean False True None
let g:gruvbox_italic=1
let g:jedi#popup_on_dot = 0
let g:jedi#popup_select_first = 0
let g:jedi#show_call_signatures = 2
@ -35,6 +34,7 @@ call plug#begin('~/.vim/plugged')
Plug 'https://github.com/sheerun/vim-polyglot.git'
Plug 'https://github.com/srcery-colors/srcery-vim.git'
Plug 'https://github.com/tpope/vim-abolish.git'
Plug 'https://github.com/alx741/vinfo.git'
Plug 'https://github.com/drmikehenry/vim-fontsize.git'
Plug 'https://github.com/lervag/vimtex.git', {'for': 'tex'}
Plug 'https://github.com/kovisoft/slimv', {'for': 'lisp'}