<commit_before># dotfiles
Collection of my dotfiles for linux

## .vimrc

This is my vimrc it is completely self managed and automatically installs the plugin manager NeoBundle and all plugins. Only prerequisite is that you have `git` installed on your system. If you like to use autocompletion make sure you're vim has python and lua enabled. For Ubuntu install `vim-nox` if you're running on a headless server and `vim-gnome` on a desktop to enable clipboard support.

To update the plugins enter `:NeoBundleUpdate`.

### Keybindings

Leader keybindings (',')

Keys    | Description
--------|------------
2       | Show Yanks
6       | Toogle numbers (relative\|absolut)
7       | Toogle numbers (on\|off)
8       | Toogle spell language (en\|de)
9       | Toggle spell check (on\|off)
0       | Enter writers mode
s       | Switch between header and source
r       | Replace the current word
k       | Jump to a tag

Other keybindings

To open a menu with useful commands press `ctrl + u` to close the menu press `q`.

Keys        | Description
------------|------------
F2          | Nerdtree
F3          | Tagbar
F4          | vimshell
F5          | Split horizontally
F6          | Split vertically
F7          | Toggle GitGutter
F8          | Toggle paste mode
F9          | Toggle undo list
ctrl-left, ctrl-right, ctrl-down, ctrl-up or ctrl-l, ctrl-h, ctrl-k, ctrl-j | Move between panes
alt-left, alt-right, alt-down, alt-up or alt-l, alt-h, alt-k, alt-j | Resize panes
ctrl-c      | Comment line
ctrl-x      | Uncomment line
TAB         | Move to next buffer
s-TAB       | Move to previous buffer
ctrl-w      | Close current buffer (does not close the last)
CR          | Highlight current word
ctrl-p      | Rotate forward in yank buffer
ctrl-n      | Rotate backward in yank buffer
s\<motion\> | substitute
ss          | substitute line
space-u     | open the menu
ctrl-space  | ctrlspace menu

To compile asynchronously use `:Make` for foreground compilation and `:Make!` for background compilation.

#### GitGutter Bindings
https://github.com/airblade/vim-gitgutter

You can jump between hunks:
* jump to next hunk (change): ]c
* jump to previous hunk (change): [c.

You can stage or revert an individual hunk when your cursor is in it:
* stage the hunk with \<Leader\>hs or
* revert it with \<Leader\>hr.

## tmux.conf

This is my tmux.conf. To get started you'll need to install the Tmux Plugin Manager:

```
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
```

After you started tmux press `ctrl+a I` to install all plugins. To update the plugings press `ctrl+a U`.

### Keybindings

The leader key is `ctrl+a`.

Keys        | Description
------------|------------
ctrl+f      | Search for file
n           | Next
N           | Previous
CR          | Copy selected text
]           | Paste
<commit_msg>Update tmux readme<commit_after># dotfiles
Collection of my dotfiles for linux

## .vimrc

This is my vimrc it is completely self managed and automatically installs the plugin manager NeoBundle and all plugins. Only prerequisite is that you have `git` installed on your system. If you like to use autocompletion make sure you're vim has python and lua enabled. For Ubuntu install `vim-nox` if you're running on a headless server and `vim-gnome` on a desktop to enable clipboard support.

To update the plugins enter `:NeoBundleUpdate`.

### Keybindings

Leader keybindings (',')

Keys    | Description
--------|------------
2       | Show Yanks
6       | Toogle numbers (relative\|absolut)
7       | Toogle numbers (on\|off)
8       | Toogle spell language (en\|de)
9       | Toggle spell check (on\|off)
0       | Enter writers mode
s       | Switch between header and source
r       | Replace the current word
k       | Jump to a tag

Other keybindings

To open a menu with useful commands press `ctrl + u` to close the menu press `q`.

Keys        | Description
------------|------------
F2          | Nerdtree
F3          | Tagbar
F4          | vimshell
F5          | Split horizontally
F6          | Split vertically
F7          | Toggle GitGutter
F8          | Toggle paste mode
F9          | Toggle undo list
ctrl-left, ctrl-right, ctrl-down, ctrl-up or ctrl-l, ctrl-h, ctrl-k, ctrl-j | Move between panes
alt-left, alt-right, alt-down, alt-up or alt-l, alt-h, alt-k, alt-j | Resize panes
ctrl-c      | Comment line
ctrl-x      | Uncomment line
TAB         | Move to next buffer
s-TAB       | Move to previous buffer
ctrl-w      | Close current buffer (does not close the last)
CR          | Highlight current word
ctrl-p      | Rotate forward in yank buffer
ctrl-n      | Rotate backward in yank buffer
s\<motion\> | substitute
ss          | substitute line
space-u     | open the menu
ctrl-space  | ctrlspace menu

To compile asynchronously use `:Make` for foreground compilation and `:Make!` for background compilation.

#### GitGutter Bindings
https://github.com/airblade/vim-gitgutter

You can jump between hunks:
* jump to next hunk (change): ]c
* jump to previous hunk (change): [c.

You can stage or revert an individual hunk when your cursor is in it:
* stage the hunk with \<Leader\>hs or
* revert it with \<Leader\>hr.

## tmux.conf

This is my tmux.conf. To get started you'll need to install the Tmux Plugin Manager:

```
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
```

After you started tmux press `ctrl+a I` to install all plugins. To update the plugings press `ctrl+a U`.

### Keybindings

The leader key is `ctrl+a`.

Keys        | Description
------------|------------
ctrl+f      | Search for file
n           | Next
N           | Previous
CR          | Copy selected text
]           | Paste
ctrl+,      | Rename pane
ctrl+;      | Rename session
ctrl+x      | Kill current pane
ctrl+X      | Kill current session
ctrl+Q      | Kill tmux server
\|          | Split vertically
-           | Split horizontally
{'fraction_non_alphanumeric': 0.10195080576759966, 'fraction_numerical': 0.004749787955894826, 'mean_word_length': 2.4219384793964016, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5637552', 'n_tokens_mistral': 1793, 'n_tokens_neox': 1694, 'n_words': 746}