This vimrc contains plugins for autocomplete, my favorite colorschemes, syntax highlighting, nerdtree, nerdcomenter, multiple cursors, useful key mappings
Clone repo with git clone https://github.com/Somed-1/my_vimrc.git
and move .vimrc
file to your root directory
Install Plug manager vim-plug so you can install plugins.
Then you need to install Nodejs
version above 16 and yarn
gloabaly
Open .vimrc file and enter :PlugInsatll
command
Coc Autocomplete extentions for:
- Python: coc-pyright (
:CocInstall coc-pyright
) - C/C++: coc-clangd (
:CocInstall coc-clangd
)Don't forget to install clangd
- HTML/CSS: coc-html, coc-css (
:CocInstall coc-html coc-css
) - JavaScript: coc-tsserver (
:CocInstall coc-tsserver
) - Json: coc-json (
:CocInstall coc-json
)
- % - move around two closings ({}, [], (), html tags)
- $ - end of line
- _ - start of line (non blank)
- 0 - start of line
- f/t - move to character(forward)
- F/T - move to character(backward)
- h/l - move cursor n times
- % - move around two closings ({}, [], (), html tags)
- {} - move by paragraphs (blank lines)
- ctrl + d/u - move down/up half of page
- : - move to line
- j/k - move cursor n times
- z z/t/b - move page based on cursor
- @l - select []
- @s - select ""
- @t - select ()
- @y - copy (gvim)
- @p - paste (gvim)
-
- run python file
-
- turn on/off mouse
-
- increase font size (gvim)
-
shift + - decrease font size (gvim)
-
ctrl + arrows - change window size
-
ctrl + h/j/k/l - move around windows
- - open/close NERDtree (directory tree)
- R - reload directory
- cd - change curent directory
- C - move to directory
- u - back in directory
- m - open menu
- ? - open help
- ctrl + _ - comment/uncomment line/lines