Tweaks for ledger and removed most vim plugins
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
" Shortcuts
|
||||
imap ;main package main<Enter><Enter>import (<Enter>"fmt"<Enter>)<Enter><Enter>func main() {<Enter>}<Esc>O
|
||||
imap { {<Enter>}<Esc>kA
|
||||
imap ( ()<Esc>i
|
||||
imap () ()
|
||||
|
||||
|
||||
" Compiling
|
||||
|
||||
@@ -21,7 +21,7 @@ vmap "" da"`<C-R>""'<Esc>
|
||||
":command! -complete=file -nargs=1 Rpdf :r !pdftotext -nopgbrk <q-args> -
|
||||
":command! -complete=file -nargs=1 Rpdf :r !pdftotext -nopgbrk <q-args> - | fmt -csw78
|
||||
" Compilation
|
||||
map <C-c><C-c> <Esc>:RunBackgroundCommand latexmk -pdf -silent <C-r>%<Enter>:redraw!<Enter>
|
||||
map <C-c><C-c> <Esc>:RunBackgroundCommand latexmk -pdf -silent "<C-r>%"<Enter>:redraw!<Enter>
|
||||
map <C-c><C-v> <Esc>:RunBackgroundCommand latexmk -c<Enter>
|
||||
map <C-c><C-d> <Esc>:silent exec "!evince <C-r>%<Del><Del><Del>pdf &>/dev/null &"<Enter>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user