vim   101669

« earlier    

Persistent folds between Vim sessions - Today I Learned
augroup AutoSaveFolds
autocmd BufWinLeave * mkview
autocmd BufWinEnter * silent loadview
augroup END
vim  interface 
yesterday by jwh
You don’t need more than one cursor in vim – Christoph Hermann – Medium
Sublime text first introduced multiple cursor editing (as far as I know). Meaning editing code at multiple positions at the same time. There is a plugin for vim (vim-multiple-cursors) which allows…
2 days ago by sandipb
Remembering previous deletes/yanks | Vim Tips Wiki | FANDOM powered by Wikia
Say you delete a paragraph with the command d} and you intend to paste that paragraph into another file.

So you edit the other file with :e other.txt and you scroll down to where you want to paste the original paragraph. But then you accidentally delete or yank some text.

Now typing p simply pastes the text that you just deleted or yanked.

Fortunately, Vim remembers previous deletes/yanks in the numbered registers. You can enter the command :reg to list all the registers.

If the text you want is in register 2, enter "2p to paste it after the cursor, or "2P to paste it before the cursor.

Small deletes (less than a complete line) do not fill the numbered registers.
QA  vim  data-management 
2 days ago by coltongrainger
filetype tex - What are the differences between LaTeX plugins? - Vi and Vim Stack Exchange
Some overview and references

There are alot of plugins for Vim. These are the ones I've recognized as being at least semi popular:


On, there is a huge list of LaTeX editors and IDEs. It gives a nice overview in general, but it also provides some overview of plugins for Vim:

Vim with LaTeX-Box
Vim with LaTeX-Suite
Vim with Snipmate and rubber
Vim with vimtex


vimtex is based on LaTeX-Box. It started out after I had contributed bug fixes and updates to LaTeX-Box for some time. I realized that the plugin could be written in a much more modern way if I wrote it from scratch. I first stripped most features and built a more robust and modular "engine". I then added features, and I think today it has most of the features of LaTeX-Box and then some.

Instead of giving a full list of features (see instead here for that), I will rather try to point out some of the differences between vimtex and other plugins. However, I want to provide some bold claims:

vimtex is the most modern Vim plugin for LaTeX available today
The code is high quality and it is currently being actively maintained by myself
The plugin is mostly stable, even though some features are still being developed (and as such may be subject to change and updates)

vimtex vs LaTeX-Box

Since vimtex is based on LaTeX-Box, it obviously has similar principles. The idea is to keep things simple and to solve problems thare are not already solved by other, better plugins. It utilizes latexmk to compile the LaTeX documents, and it builds upon the internal Vim plugin for syntax highlighting.

There is currently one important feature in LaTeX-Box that is missing in vimtex: Single-shot compilation with callback. The reason that this feature is not in vimtex is simply because it is complicated, and that I never found a way to implement it that is simple enough for my own preference (suggestions are welcome, please don't hesitate to open issues or pull requests).
vimtex vs LaTeX-Suite

The main difference between vimtex and LaTeX-Suite is probably that vimtex does not try to implement a full fledged IDE for LaTeX inside Vim. E.g.:

vimtex does not provide a full snippet feature, because this is better handled by UltiSnips or neosnippet or similar snippet engines.
vimtex builds upon Vim principles: It provides text objects for environments, inline math, it provides motions for sections and paragraphs
vimtex uses latexmk for compilation with a callback feature to get instant feedback on compilation errors
vimtex is very modular: if you don't like a feature, you can turn it off.
vim  latex  QA 
2 days ago by coltongrainger
Newest - Vim Colors
Vim Colors can automatically generate previews of Vim colorschemes from GitHub repos.
color  vim  programming  style  via:ddg  themes  design 
2 days ago by Spark
GitHub - ranger/ranger: A VIM-inspired filemanager for the console
ranger is a console file manager with VI key bindings. It provides a minimalistic and nice curses interface with a view on the directory hierarchy. It ships with rifle, a file launcher that is good at automatically finding out which program to use for what file type.
cli  terminal  vim 
2 days ago by Atelierbram

« earlier    

related tags

2017  2018  2read  addons  article  articles  atom  awesome-vimrc  awesome  bash  bestpractices  blog-posts  books  capture  carbon  case  cheatsheet  cli  code  color-scheme  color  commands  conference  config  configuration  data-management  debug  design  dev  devtools  did  directx  documentation  dotfiles  ed  editor  elixir  emacs  english  extension  faq  features  files  font  fonts  formatting  fzf  git  github  global  go  gui  gvim  history  howto  ide  ifttt  info  information  interface  issue  journal  keyboard  latex  learning  less  line-break  links  linux  macos  macosx  map  match  maximum-awesome  mode  motion  multiple  music  mvim  neovim  nvim  old  opensource  osx  overview  performance  php  plaintext  plugin  plugins  presentation  productivity  profiling  programming  push_notifications  python  qa  regex  releaserelated  retro  reuse  russian  scala  screen  screenshot  scripting  setup  shell  shot  software-development  software  stackexchange  style  sublime  terminal  texteditor  textui  themes  tipp  tips  tmux  todo  tool  tools  tricks  tutorial  tutorials  ui  unicode  unix  useful  utils  vglobal  vi  video  vim-which-key  vimdiff  vimer  vimrc  vimscript  visual  vscode  whichkey  wikientry  windows  workaround  wrapper  youtube  zsh 

Copy this bookmark: