Remove Enter mapping for Vim & other Vim settings

- increase timeoutlen
- fix F10 paste for Neovim
- escape url mapping (for LaTeX)

Also added pdftojpg function.
This commit is contained in:
2018-03-07 07:42:23 -05:00
parent 52b6d0a36a
commit a4d1cd0776
5 changed files with 24 additions and 5 deletions

View File

@@ -87,6 +87,7 @@ alias tm="ni $usnp_dir/texmath.snippets"
# }}} config files #
# applications {{{ #
alias rg="ranger"
function ok() { okular $1 ; }
function chr() { google-chrome $1 ; }
function ni() { nvim $1 ; }
@@ -172,6 +173,18 @@ if [ "$(hostname)" = "NZXT" ]; then
alias cvf="f ~/Documents/resume/examples/cv"
alias vcv="ni ~/Documents/resume/examples/cv.tex"
alias okcv="ok ~/Documents/resume/examples/cv.pdf"
# https://stackoverflow.com/a/6605085/8811872
function pdftojpg() {
convert \
-verbose \
-density 150 \
-trim \
$1.pdf \
-quality 100 \
-flatten \
-sharpen 0x1.0 \
$1.jpg
}
# }}} resume #
# }}} various coding projs #