+ Added alias for docx2pdf because people are annoying and keep sending
me docx!
This commit is contained in:
parent
cfcd74b890
commit
98dcbb1945
4 changed files with 6 additions and 18 deletions
|
@ -33,21 +33,7 @@ invert-color-include = [ ];
|
|||
glx-copy-from-front = false;
|
||||
#glx-swap-method = "undefined";
|
||||
use-damage = true;
|
||||
opacity-rule = [ "99:name *?= 'Call'",
|
||||
"95:name *?= 'Lynx'",
|
||||
"95:name *?= 'nmon'",
|
||||
"95:name *?= 'httping'",
|
||||
"50:class_g *?= 'org-fenix-llanfair-Llanfair'",
|
||||
"50:class_g *?= 'livesplit-one'",
|
||||
"90:class_g *?= 'conky'",
|
||||
"90:class_g *?= 'thunar'",
|
||||
"100:class_g *?= 'Steam'",
|
||||
"90:class_g *?= 'atom'",
|
||||
"96:class_g *?= 'emacs'",
|
||||
"100:class_g *?= 'polybar' && class_g *?= 'Polybar'",
|
||||
"95:class_g *?= 'surf' && name *?='suckless.org'",
|
||||
"95:class_g *?= 'tabbed'",
|
||||
"100:class_g = 'XTerm' && !_NET_WM_STATE@:32a",
|
||||
opacity-rule = [ "100:class_g = 'XTerm' && !_NET_WM_STATE@:32a",
|
||||
"100:class_g = 'URxvt' && !_NET_WM_STATE@:32a",
|
||||
"90:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
|
||||
"96:_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'" ];
|
||||
|
|
|
@ -38,8 +38,8 @@ autocmd FileType c map <buffer> <F9> :w<CR>:vs<CR>:ter gcc "%" -o %< && ./%< &&
|
|||
autocmd FileType c imap <buffer> <F9> <esc> :w<CR>:vs<CR>:ter gcc "%" -o %< && ./%< && read<CR>
|
||||
|
||||
" pandoc (markdown to pdf)
|
||||
autocmd FileType markdown map <buffer> <F9> :w<CR>:!pandoc -o "%:r.pdf" "%" --pdf-engine=xelatex<CR>
|
||||
autocmd FileType markdown imap <buffer> <F9> <esc> :w<CR>:!pandoc -o "%:r.pdf" "%" --pdf-engine=xelatex<CR>
|
||||
autocmd FileType markdown map <buffer> <F9> :w<CR>:!pandoc -o "%:r.pdf" "%" --from markdown+grid_tables --pdf-engine=xelatex<CR>
|
||||
autocmd FileType markdown imap <buffer> <F9> <esc> :w<CR>:!pandoc -o "%:r.pdf" "%" --from markdown+grid_tables --pdf-engine=xelatex<CR>
|
||||
" Open pdf via zathura if exist
|
||||
autocmd FileType markdown map <leader>o :!setsid pdfview "%:r.pdf"<CR><CR>
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ Plug 'preservim/nerdtree'
|
|||
Plug 'ryanoasis/vim-devicons'
|
||||
|
||||
" Tell everyone on discord that you use vim!
|
||||
Plug 'hugolgst/vimsence'
|
||||
" Plug 'hugolgst/vimsence'
|
||||
|
||||
" Markdown preview, not really useful since it's only support github's md format.
|
||||
Plug 'iamcco/markdown-preview.nvim', { 'do': 'cd app & yarn install' }
|
||||
|
|
|
@ -121,3 +121,5 @@ alias gcl='git clone'
|
|||
alias config='/usr/bin/git --git-dir=$HOME/dotfiles/ --work-tree=$HOME'
|
||||
|
||||
alias qn='vim $HOME/Documents/QuickNote'
|
||||
|
||||
alias docx2pdf='lowriter --convert-to pdf'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue