It is defined in relevant after/ftplugin/*.vim files. I also have kind of an universal mapping, gs, which depending on filetype may compile a $\LaTeX$ document or a C file and show its output, run a Python/Haskell/Lisp/Scheme script and show its output, etc. Show workspace or buffer symbols depending on filetype (LSP) :setlocal spell!setlocal spell?:setlocal spelllang=en :setlocal spell!setlocal spell?:setlocal spelllang=fr Keep cursor centered on screen when looking ahead Keep cursor centered on screen when looking behind Move split to new tab or go to previous tab It looks like I always misunderstood the role of the localleader, and I decided to book it for my after/ftplugin custom settings. My leader is “," 2 and I do not define specific mappings for the localleader in my main config files. s and c) or because I don’t use them at all (e.g., some of the Ctrl, g or z combinations). Note that some of those mappings may override existing ones, whether they are somewhat redundant (e.g. Many of those custom settings come from briliant Vimers who are acknowledged in my config files. I prefer a minimalist setup these days, and I tend to rely on hand-on solutions for tasks I carry over and over. It’s all in the details but I feel like a minimalist setup and almost zero dependencies are the take away message. This means that some keybindings no longer apply to my current config. I changed it all again! Latest setup described here.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |