WWW

Dependencies

antora v2.3.3

VIM Bram Moolner Talk 2018

  • Execute a register @r and repeat with @@

  • :help modelines execute any command

Table 1. vim feature progression

vi

for PDP-11

vim 4

Autocommand

vim 5

start of vimscript with if and expressions

vim 6

advent of plugins

vim 7

Use autoload dir to place core of plugin

  • Like vim-plug uses a single .vim file placed in autoload dir, then called in vimrc file call plug#begin()

    • Not to easy to call functions with # from Ex mode/cli

  • :help packadd

  • Renaissance of vim

  • VIM has maximum number of LSP plugins

  • vim plugin to start and spawn a curl process in background asynchronously

ZSH

Add plugins as git submodules. Dont forget to set $ZSH_CUSTOM

# better use use https link
git submodule add \
  https://github.com/olets/zsh-abbr.git
  zsh/plugins/zsh-abbr

Fish like Abbr

Fish like auto-expanding abbr on space ot stop abbreviation expansion Ctrl+Space

abbr import-git-aliases
abbr import-aliases

# import from fish abbr
abbr import-fish file/to/save/fish/abbreviations/to

NerdFonts

Font and icon (glyph) aggregator.

  • Full bundle might be 5GB

VIM LSP

coc for other languages YCM - you complete me for JS/TS

Same Keybindings for both, use autocommands * [ ] goto Definition * [ ] goto References * [ ] refactro Rename

Cannot use nnoremap with Plug. Use nmap