Skip to content

sappo/dotfiles

Repository files navigation

dotfiles

Collection of my dotfiles for linux

Install

There is an install script at the root of the project directory which will symlink all dotfiles that you desire to the correct places.

install.sh

.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 your vim has python and lua enabled. For Ubuntu install vim-nox if you're running onyour a headless server and vim-gnome on a desktop to enable clipboard support.

To update the plugins enter :NeoBundleUpdate.

Keybindings

Leader keybindings is (',')

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

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

Vim Cheat Sheet

Here is a graphical cheat sheet with the default vim keybindings and my custom ones in german keyboard layout. Just print it and place it under your keyboard ;)

vim graphical cheat sheet

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
C-f Simple file search
C-g Jumping over git status files (best used after git status command)
C-u Url search (http, ftp and git urls)
A-h jumping over SHA-1 hashes (best used after git log command)
n Next (when searching)
N Previous (when searching)
CR Copy selected text
] Paste
C-, Rename pane
C-; Rename session
C-x Kill current pane
C-X Kill current session
C-Q Kill tmux server
` `
- Split horizontally

About

Collection of my dotfiles for linux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published