<commit_before># vimrc
A shell script to deploy my vim configuration

## install
The installation will overwrite your `.vimrc` file, be sure to backup your existing vim configuration.

```
$ git clone https://github.com/modood/vimrc.git
$ cd vimrc
$ ./deploy.sh
```

## keyboard shortcuts overview

| key | description | plugin |
|:----|:------------|:-------|
| `<C-q>` | - | - |
| `<C-w>hjkl` | moves between Vim viewports | - |
| `<C-e>` | Scroll window [count] lines downwards | - |
| `<C-r>` | Redo changes | - |
| `<C-t>` | New tab | - |
| `<C-y>` | Scroll window [count] lines upwards | - |
| `<C-u>` | Scroll window upwards | - |
| `<C-i>` | `<tab>` | **do not edit** |
| `<C-o>` | Jump back to the previous location | - |
| `<C-p>` | Open CtrlP | ctrlp.vim |
| `<C-a>` | Select all contents of the file | - |
| `<C-s>` | Tmux prefix key | tmux |
| `<C-d>` | Scroll window Downwards | - |
| `<C-f>` | Find the current file in the tree | nerdtree |
| `<C-g>` | Cursor next | vim-multiple-cursors |
| `<C-hjkl>` | moves between Vim viewports | vim and tmux |
| `<C-z>` | Suspend | - |
| `<C-x>` | Cursor skip | vim-multiple-cursors |
| `<C-c>` | [N] Use as a prefix key<br/>[V] Copy selected text | -<br/>gvim |
| `<C-v>` | [N] Switch to [VB] mode<br/>[I] Paste | -<br/>gvim |
| `<C-b>` | Toggle tagbar | tagbar |
| `<C-n>` | Toggle Terdtree | nerdtree |
| `<C-m>` | `<cr>` | **do not edit** |
| `<C-;>` | Show clipboard | Ubuntu |

| key | description | plugin |
|:----|:------------|:-------|
| `<C-c><C-c>` | Open Ack | ack.vim |
| `<C-c>c` | toggle rnu or nornu | - |
| `<C-c>z` | toggle zoom or restore window | - |
| `<C-c>ff` | toggle close or open all fold | - |
| `<C-c>fc` | toggle close or open a fold | - |
| `<C-c>db` | toggle (add or remove) a breakpoint | vim-delve |
| `<C-c>dc` | clear all the breakpoints and tracepoints | vim-delve |
| `<C-c>dt` | debug non-main packages | vim-delve |
| `<C-c>dd` | debug main package | vim-delve |
| `<C-c>n` | tabnext | - |
| `<C-c>mm` | toggle the minimap | - |

| key | description | plugin |
|:----|:------------|:-------|
| `<Leader>q` | Exit | - |
| `<Leader>qq` | Write the current file and exit vim | - |
| `<Leader>w` | Write the current file | - |
| `<Leader>e` | - | - |
| `<Leader>r` | Build and run current main package | vim-go |
| `<Leader>t` | Alternates between the implementation and test code | vim-go |
| `<Leader>yu` | - | - |
| `<Leader>i` | implementing an interface | vim-go |
| `<Leader>o` | Show declarations for the current file | vim-go |
| `<Leader>p` | Show declarations for the current directory | vim-go |
| `<Leader>a` | - | - |
| `<Leader>s` | Show type information | vim-go |
| `<Leader>d` | Go to symbol/declaration | vim-go |
| `<Leader>f` | Shows identifiers that refer to the same object | vim-go |
| `<Leader>g` | A list of interfaces for the type that implements | vim-go |
| `<Leader>fg`  | - | - |
| `<Leader>hl`  | Turn to previous/next of quickfix list | - |
| `<Leader>kj`  | Turn to previous/next of location list | - |
| `<Leader>zx`  | - | - |
| `[count]<leader>c<space>` | Toggles the comment state | nerdcommenter |
| `[count]<leader>cs` | Comments out the selected lines | nerdcommenter |
| `<Leader>vbnm`  | - | - |

| key | description |
|:----|:------------|
| `<esc><esc><esc><esc>` | reset all error checking: <br/>1.  stop the highlighting<br/>2.  close locationlist<br/>3.  reset syntastic |
| `:w!!` | sudo & write a file |

## keyboard shortcuts

*   [vim-go](https://github.com/fatih/vim-go)

| key | description |
|:----|:------------|
| `<Leader>r`  | Build and run current main package |
| `<Leader>d`  | Go to symbol/declaration |

*   [vim-minimap](https://github.com/severin-lemaignan/vim-minimap)

| key | description |
|:----|:------------|
| `<C-c>mm` | toggle the minimap |

*   [nerdcommenter](https://github.com/scrooloose/nerdcommenter)

| key | description |
|:----|:------------|
| `[count]<leader>cs` | Comments out the selected lines |
| `[count]<leader>c<space>` | Toggles the comment state of the selected line(s) |<commit_msg>docs: update keyboard shortcuts of vim-go<commit_after># vimrc
A shell script to deploy my vim configuration

## install
The installation will overwrite your `.vimrc` file, be sure to backup your existing vim configuration.

```
$ git clone https://github.com/modood/vimrc.git
$ cd vimrc
$ ./deploy.sh
```

## keyboard shortcuts overview

| key | description | plugin |
|:----|:------------|:-------|
| `<C-q>` | - | - |
| `<C-w>hjkl` | moves between Vim viewports | - |
| `<C-e>` | Scroll window [count] lines downwards | - |
| `<C-r>` | Redo changes | - |
| `<C-t>` | New tab | - |
| `<C-y>` | Scroll window [count] lines upwards | - |
| `<C-u>` | Scroll window upwards | - |
| `<C-i>` | `<tab>` | **do not edit** |
| `<C-o>` | Jump back to the previous location | - |
| `<C-p>` | Open CtrlP | ctrlp.vim |
| `<C-a>` | Select all contents of the file | - |
| `<C-s>` | Tmux prefix key | tmux |
| `<C-d>` | Scroll window Downwards | - |
| `<C-f>` | Find the current file in the tree | nerdtree |
| `<C-g>` | Cursor next | vim-multiple-cursors |
| `<C-hjkl>` | moves between Vim viewports | vim and tmux |
| `<C-z>` | Suspend | - |
| `<C-x>` | Cursor skip | vim-multiple-cursors |
| `<C-c>` | [N] Use as a prefix key<br/>[V] Copy selected text | -<br/>gvim |
| `<C-v>` | [N] Switch to [VB] mode<br/>[I] Paste | -<br/>gvim |
| `<C-b>` | Toggle tagbar | tagbar |
| `<C-n>` | Toggle Terdtree | nerdtree |
| `<C-m>` | `<cr>` | **do not edit** |
| `<C-;>` | Show clipboard | Ubuntu |

| key | description | plugin |
|:----|:------------|:-------|
| `<C-c><C-c>` | Open Ack | ack.vim |
| `<C-c>c` | toggle rnu or nornu | - |
| `<C-c>z` | toggle zoom or restore window | - |
| `<C-c>ff` | toggle close or open all fold | - |
| `<C-c>fc` | toggle close or open a fold | - |
| `<C-c>db` | toggle (add or remove) a breakpoint | vim-delve |
| `<C-c>dc` | clear all the breakpoints and tracepoints | vim-delve |
| `<C-c>dt` | debug non-main packages | vim-delve |
| `<C-c>dd` | debug main package | vim-delve |
| `<C-c>n` | tabnext | - |
| `<C-c>mm` | toggle the minimap | - |

| key | description | plugin |
|:----|:------------|:-------|
| `<Leader>q` | Exit | - |
| `<Leader>qq` | Write the current file and exit vim | - |
| `<Leader>w` | Write the current file | - |
| `<Leader>e` | - | - |
| `<Leader>r` | Build and run current main package | vim-go |
| `<Leader>t` | Alternates between the implementation and test code | vim-go |
| `<Leader>yu` | - | - |
| `<Leader>i` | implementing an interface | vim-go |
| `<Leader>o` | Show declarations for the current file | vim-go |
| `<Leader>p` | Show declarations for the current directory | vim-go |
| `<Leader>a` | - | - |
| `<Leader>s` | Show type information | vim-go |
| `<Leader>d` | Go to symbol/declaration | vim-go |
| `<Leader>f` | Shows identifiers that refer to the same object | vim-go |
| `<Leader>g` | A list of interfaces for the type that implements | vim-go |
| `<Leader>fg`  | - | - |
| `<Leader>hl`  | Turn to previous/next of quickfix list | - |
| `<Leader>kj`  | Turn to previous/next of location list | - |
| `<Leader>zx`  | - | - |
| `[count]<leader>c<space>` | Toggles the comment state | nerdcommenter |
| `[count]<leader>cs` | Comments out the selected lines | nerdcommenter |
| `<Leader>vbnm`  | - | - |

| key | description |
|:----|:------------|
| `<esc><esc><esc><esc>` | reset all error checking: <br/>1.  stop the highlighting<br/>2.  close locationlist<br/>3.  reset syntastic |
| `:w!!` | sudo & write a file |

## keyboard shortcuts

*   [vim-go](https://github.com/fatih/vim-go)

| key | description |
|:----|:------------|
| `<Leader>r` | Build and run current main package |
| `<Leader>t` | Alternates between the implementation and test code |
| `<Leader>i` | implementing an interface |
| `<Leader>o` | Show declarations for the current file |
| `<Leader>p` | Show declarations for the current directory |
| `<Leader>s` | Show type information |
| `<Leader>d` | Go to symbol/declaration |
| `<Leader>f` | Shows identifiers that refer to the same object |
| `<Leader>g` | A list of interfaces for the type that implements |

*   [vim-minimap](https://github.com/severin-lemaignan/vim-minimap)

| key | description |
|:----|:------------|
| `<C-c>mm` | toggle the minimap |

*   [nerdcommenter](https://github.com/scrooloose/nerdcommenter)

| key | description |
|:----|:------------|
| `[count]<leader>cs` | Comments out the selected lines |
| `[count]<leader>c<space>` | Toggles the comment state of the selected line(s) |
{'fraction_non_alphanumeric': 0.2288481736492006, 'fraction_numerical': 0.000700198389543704, 'mean_word_length': 2.999066728884741, 'pattern_counts': {'":': 0, '<': 166, '<?xml version=': 0, '>': 166, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2026578', 'n_tokens_mistral': 3429, 'n_tokens_neox': 3279, 'n_words': 866}