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

@@ -134,7 +134,6 @@ bindsym $mod+F3 workspace $ws3; exec google-chrome
set $ws4 "4 "
workspace $ws4 output $samsung
assign [class="Okular"] $ws4
set $ws5 "5 "
workspace $ws5 output $benq

View File

@@ -347,6 +347,7 @@ map <DOWN> move down=1
map <LEFT> move left=1
map <RIGHT> move right=1
map <HOME> move to=0
map <END> move to=-1
map <PAGEDOWN> move down=1 pages=True
map <PAGEUP> move up=1 pages=True

View File

@@ -60,7 +60,8 @@ handle_extension() {
# PDF
pdf)
# Preview as text conversion
pdftotext -l 10 -nopgbrk -q -- "${FILE_PATH}" - && exit 5
pdftotext -l 10 -nopgbrk -q -- "${FILE_PATH}" - && exit 5
# pdftoppm -jpeg -singlefile "$path" "${cached//.jpg}" && exit 6 || exit 1;;
exiftool "${FILE_PATH}" && exit 5
exit 1;;