diff options
Diffstat (limited to '.config')
-rw-r--r-- | .config/XMonad/lib/Defaults.hs | 4 | ||||
-rw-r--r-- | .config/nvim/init.vim | 15 |
2 files changed, 17 insertions, 2 deletions
diff --git a/.config/XMonad/lib/Defaults.hs b/.config/XMonad/lib/Defaults.hs index 19065da..29d4313 100644 --- a/.config/XMonad/lib/Defaults.hs +++ b/.config/XMonad/lib/Defaults.hs @@ -79,8 +79,8 @@ myWorkspaces = ["一", "二", "三", "å››", "五", "å…", "七", "å…«", "ä¹ sGap = 3 wGap = 4 --- myGap = spacingRaw True (Border sGap sGap sGap sGap) True (Border wGap wGap wGap wGap) True -myGap = spacingRaw False (Border sGap sGap sGap sGap) True (Border wGap wGap wGap wGap) True +myGap = spacingRaw True (Border sGap sGap sGap sGap) True (Border wGap wGap wGap wGap) True +-- myGap = spacingRaw False (Border sGap sGap sGap sGap) True (Border wGap wGap wGap wGap) True myTabTheme = def { fontName = myFont diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 9dfcdc0..d71e897 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -4,6 +4,7 @@ Plug 'Yggdroot/indentLine' Plug 'catppuccin/nvim', { 'as': 'catppuccin' } Plug 'nvim-lualine/lualine.nvim' Plug 'nvim-tree/nvim-web-devicons' +Plug 'lervag/vimtex' call plug#end() " line numbers @@ -36,3 +37,17 @@ set tabstop=2 set softtabstop=2 " when indenting with '>', use 2 spaces width set shiftwidth=2 + +" vimtex config +let g:vimtex_view_method = 'zathura' +let g:vimtex_compiler_method = 'generic' +let g:vimtex_compiler_generic = { + \ 'command': 'pdflatex -interaction=nonstopmode -synctex=1 -file-line-error %f', + \ 'callback': 'vimtex#compiler#callback(!v:shell_error)', + \ 'options': { + \ 'continuous': '-shell-escape', + \ 'single_shot': '-shell-escape' + \ }, + \ 'env': {}, + \ 'append_args': [] + \ } |