36 lines
862 B
Markdown
36 lines
862 B
Markdown
# VIM
|
|
|
|
## Commands
|
|
* `:cq[uit][!]` - quit without saving and make Vim return non-zero error (i.e. exit with error)
|
|
|
|
## Plugins
|
|
* [vim-plug](https://github.com/junegunn/vim-plug)
|
|
* [How to install vim plugins](https://opensource.com/article/20/2/how-install-vim-plugins)
|
|
|
|
```vim
|
|
' part of ~/.vimrc
|
|
|
|
call plug#begin()
|
|
Plug 'preservim/NERDTree'
|
|
Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
|
|
Plug 'udalov/kotlin-vim'
|
|
Plug 'editorconfig/editorconfig-vim'
|
|
Plug 'scrooloose/syntastic'
|
|
call plug#end()
|
|
```
|
|
|
|
```
|
|
:PlugInstall
|
|
:PlugUpdate
|
|
:PlugUpdate NERDTree
|
|
```
|
|
|
|
## EditorConfig
|
|
* [Home page](https://editorconfig.org)
|
|
* [Readme](https://github.com/editorconfig/editorconfig-vim#readme)
|
|
|
|
### TODO
|
|
Klidne bych mohl mit vim konfiguraci na githubu a jen ji simple
|
|
stanout do patricneho mista a udelan na ni load v ~/.vimrc
|
|
Cele by to vlastne mohl resit pomocny skript.
|