-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.minimal-tex-vimrc snippets #21
Comments
Did you figure this out? I'm having the same issues now. |
Same issue as well. |
I struggled myself back when I was configuring all these stuff. I dont really remember what helped me, but I guess "set nocompatible" does the trick. Anyway, I am posting here my .minimal-tex-vimrc: set nocompatible set rtp+=~/current_course call plug#begin('~/.vim/plugged') let g:UltiSnipsExpandTrigger = '' let g:vimtex_syntax_enabled = 1 "set conceallevel=1 set backspace=indent,eol,start autocmd BufNewFile,BufRead *.tex set filetype=tex " Quickly closing the window by jamming wq "Quickly getting back on track when I mess something up " Start insert mode between $$'s nnoremap j gj I hope that helps. |
Hi, thanks for sharing your amazing setup on your blog!
I've managed to set up the shortcut manager with gnome in the .config using your help:
'gnome-terminal',
'--wait',
'--geometry', '60x5',
'--', "vim",
f"{filename}",
"-u", "~/.vim/minimal-tex-vimrc",
])
if I skip the -u flag vim opens normally and everything works perfectly.
But using the -u flag results in vim opening with the cursor between the $$ correctly, but as soon as I type wq it literally pastes < Esc >:wq< CR >" as text.
Snippets like sum stop working entirely, even after adding
call plug#begin('~/.vim/plugged')
with ultisnips and snippets to the minimal-tex-vimrc.
I got the same problem using urxvt and your example .config file.
I'm using a VM running on Hyper-V with enchanced Session mode and can use checkpoints to try stuff out.
So don't hesitate to recommend the "risky" stuff too :D
The text was updated successfully, but these errors were encountered: