Loading repository data…
Loading repository data…
MahbubAlam231 / repository
My personalization of vim for mainly LaTeX; containing vimrc, templates, snippets, folding method and abbreviations
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
My personalization of vim for mainly LaTeX. Here uploaded are,
.vimrc;tpope/vim-abolish) and math abbreviations.tex.template).foldmethod=marker and foldmarker=F{O{L{D,F}O}L}D.Download MahbubAlam231/vim-for-latex form GitHub.
You should consider swapping escape and caps key on your device, it makes
it more convenient to press escape key.
For Linux you can do this from system settings or by adding the line setxkbmap -option "caps:swapescape" at the end of your .bashrc, this will swap escape and
caps key on your computer once you open VIM.
To make this change permanent you can put the same line at the end of your
~/.profile file, this will swap escape and caps key every time you turn
on your computer.
sudo apt install vim-gtk3;.vimrc in your home directory;Abbreviations, after, KeyBindings, spell and UltiSnips in ~/.vim;.vimrc using VIM (it might throw some errors, but enter anyway), and run :PlugInstall;LaTeX/templates in ~/.vim/bundle/vim-templates/;LaTeX/tex in ~/.vim/plugged/vimtex/ftplugin/.homebrew;.vimrc in /Users/(your_pc_name);~/.vim by /Users/(your_pc_name)/.vim in the above instructions for Linux;.vimrc file as well that contains ~/.vim,
make similar changes there as well.Read .vimrc, TeXKeyBindings.vim, NumbersPeacefully.vim, UnmapKeyBindings.vim,
GeneralAbbreviations.vim, MathAbbreviations.vim and tex.snippets to learn about the mappings.
NumbersPeacefully.vim and UnmapKeyBindings.vim are there to disable certain parts of TeXKeyBindings.vim.
The mappings are designed to be easy to remember, just like vim commands. As you go over these mappings I hope you will find that these are time-saving and easy-to-perform mappings.
For me these mappings simplify writing .tex files, and also many other types of files as well.
For basic vim tips you can watch the following videos-
For any query about vimscripts go to :help from inside vim.
You can also look at the book Learn Vimscripts the Hard Way
by Steve Losh.