From 4aeb2084faf18d7eb31d442651086504d87576e9 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Sun, 1 Dec 2019 20:44:09 +0700 Subject: Update 2019-12-01 --- awesome/.config/awesome/rc.lua | 14 ++++++-------- debian/.bashrc | 3 +++ debian/.xinitrc | 1 - dev/.gitconfig | 5 +++++ emacs/.emacs.d/init.el | 3 ++- vim/.vim/after/ftplugin/tex.vim | 3 +-- vim/.vim/vimrc | 1 + 7 files changed, 18 insertions(+), 12 deletions(-) diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua index 0052f03..2a65b06 100644 --- a/awesome/.config/awesome/rc.lua +++ b/awesome/.config/awesome/rc.lua @@ -45,7 +45,7 @@ end beautiful.init"~/.config/awesome/themes/srcery/theme.lua" -- This is used later as the default terminal and editor to run. -local terminal = "urxvtc" +local terminal = "urxvt" local editor = "gvim" -- And some additional applications local root_terminal = terminal .. " -e su -" @@ -386,13 +386,11 @@ awful.screen.connect_for_each_screen(function (s) {-- Middle widget layout = wibox.layout.fixed.horizontal, }, - -- s.mytasklist, - { -- Right widgets - layout = wibox.layout.fixed.horizontal, - -- mykeyboardlayout, - wibox.widget.systray(), - s.mytaglist, - s.mylayoutbox + {-- Right widgets + layout = wibox.layout.fixed.horizontal, + wibox.widget.systray(), + s.mytaglist, + s.mylayoutbox } } end) diff --git a/debian/.bashrc b/debian/.bashrc index f5a91aa..8316d8c 100644 --- a/debian/.bashrc +++ b/debian/.bashrc @@ -118,6 +118,9 @@ if ! shopt -oq posix; then fi fi +# fzf ** completion +source /usr/share/doc/fzf/examples/completion.bash + stty -ixon # emacs input set -o emacs diff --git a/debian/.xinitrc b/debian/.xinitrc index c68dda4..598bd05 100644 --- a/debian/.xinitrc +++ b/debian/.xinitrc @@ -6,7 +6,6 @@ mate-power-manager & ibus-daemon -drx blueman-applet & nm-applet & -urxvtd -q -f -o keynav & diodon & exec awesome diff --git a/dev/.gitconfig b/dev/.gitconfig index 71f101b..cacb6a2 100644 --- a/dev/.gitconfig +++ b/dev/.gitconfig @@ -7,3 +7,8 @@ [github] user = McSinyx +[filter "lfs"] + clean = git-lfs clean -- %f + smudge = git-lfs smudge -- %f + process = git-lfs filter-process + required = true diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index c654dc2..74e74dd 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -38,6 +38,7 @@ '(scroll-bar-mode nil) '(show-paren-mode t) '(tool-bar-mode nil) + '(vc-follow-symlinks t) '(whitespace-style (quote (face trailing spaces newline space-mark newline-mark)))) @@ -66,7 +67,7 @@ (java-mode-hook "gnu"))) (add-hook 'python-mode-hook (lambda () (setq comment-fill-column 72))) (add-hook 'lua-mode-hook (lambda () (setq lua-indent-level 4))) -(add-hook 'LaTeX-mode-hook 'prettify-symbols-mode) +;(add-hook 'LaTeX-mode-hook 'prettify-symbols-mode) (add-hook 'LaTeX-mode-hook (lambda () (when (fboundp 'electric-indent-mode) (electric-indent-mode -1)))) diff --git a/vim/.vim/after/ftplugin/tex.vim b/vim/.vim/after/ftplugin/tex.vim index 7ddf8a2..fe8cfef 100644 --- a/vim/.vim/after/ftplugin/tex.vim +++ b/vim/.vim/after/ftplugin/tex.vim @@ -2,6 +2,5 @@ "setlocal listchars=eol:$ ambiwidth=double "let g:tex_conceal='abdmg' let g:tex_flavor='latex' -let g:vimtex_compiler_latexrun_engines='lualatex' -let g:vimtex_indent_enabled = 0 +let g:vimtex_indent_enabled=0 let g:vimtex_quickfix_mode=0 diff --git a/vim/.vim/vimrc b/vim/.vim/vimrc index f2a5003..ec9194d 100755 --- a/vim/.vim/vimrc +++ b/vim/.vim/vimrc @@ -41,6 +41,7 @@ Plug 'https://github.com/lervag/vimtex.git', {'for': 'tex'} Plug 'https://github.com/kovisoft/slimv.git', {'for': 'lisp'} Plug 'https://github.com/artur-shaik/vim-javacomplete2.git', {'for': 'java'} call plug#end() +source /usr/share/doc/fzf/examples/fzf.vim set t_Co=256 colorscheme srcery -- cgit 1.4.1