Skip to content

Instantly share code, notes, and snippets.

@rodorgas
Last active January 16, 2020 02:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rodorgas/85f0e105cfab07aca21a04870c50cd52 to your computer and use it in GitHub Desktop.
Save rodorgas/85f0e105cfab07aca21a04870c50cd52 to your computer and use it in GitHub Desktop.

Snippets

GIF Demo

cl<Tab> => console.log('

foro<Tab> => for (const item of list) {...}

https://github.com/SirVer/ultisnips

https://github.com/honza/vim-snippets

https://github.com/mattn/emmet-vim

Git

git blame sem sair do editor, e dá pra fazer commit selecionando de maneira visual quais arquivos vão pro stage. https://github.com/tpope/vim-fugitive

Marcações de linha novas, deletadas ou modificadas https://github.com/airblade/vim-gitgutter

screenshot

vim-surround

Manipula parênteses, colchete, chaves, aspas ou tags HTML ao redor de porções de texto. https://github.com/tpope/vim-surround

nerdcommenter

toggle de comentários em linhas ou blocos de código https://github.com/preservim/nerdcommenter

vim-better-whitespace

https://github.com/ntpeters/vim-better-whitespace

tags + tagbar

Mostra num painel as definições do arquivo (classes, funções, variáveis, etc), permite navegar pelo arquivo pelo outline.

gif demo

https://github.com.br/ludovicchabant/vim-gutentags

https://github.com.br/majutsushi/tagbar

https://github.com/liuchengxu/vista.vim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment