- Linux or Mac
- make (for automatic installation)
- git (for automatic installation)
- docker
-
Create alias myvim using your shell (bash/zsh/whatever) for:
'docker run -it --rm -v /tmp:/tmp:cached -v $HOME/myvim/backups:/root/.vim/backups:cached -v $(pwd):/app:delegated -w /app mokevnin/dotfiles'
-
Run myvim
$ git clone git@github.com:mokevnin/dotfiles.git && cd dotfiles
$ make myvim-install
# open new terminal
$ myvim
$ make dotfiles-install # optional
- Switch ctrl and caps lock
- Use ctrl + [ instead of esc
ctrl h
- move left or open new left splitctrl l
- move right or open new right splitctrl k
- move up or open new top splitctrl j
- move down or open new bottom split<leader> b
- show buffer list
<leader><leader>
- toggle filetree
<leader> o
- fuzzy search (files under git)<leader> ff
- fuzzy search (all files)<leader> fa
- fuzzy search (content in files)<leader> fc
- fuzzy search (content in files)
gcc
- toggle commentinggj
- navigate through blocks of code - (), {}, [], etсgf
- open a file corresponding to a word under the cursorgd
- go to definition]r
and[r
- go through linter errors<leader>y
&<leader>p
Copy text to system clipboard