Bez popisu

Weiyi Lou 8b0e3887db Fix issues with nvim config linking před 9 roky
ack 0310a09947 add `.ackrc` před 12 roky
bin e9803d04a9 Add Makefile, rename `setup.sh` to `install` před 9 roky
git 90766b2060 Add vim-plug to repo, Update git ignores před 10 roky
tmux da1ae1ad3a Update submodules před 10 roky
vim 8b0e3887db Fix issues with nvim config linking před 9 roky
vimperator dc9eb02bde Revert vimperator to auto-fade flash messages před 10 roky
zsh da1ae1ad3a Update submodules před 10 roky
.gitignore 8b0e3887db Fix issues with nvim config linking před 9 roky
.gitmodules e8c0dd5673 Remove tmux-colors-solarized, update vim-plug před 10 roky
Makefile 8b0e3887db Fix issues with nvim config linking před 9 roky
README.md e9803d04a9 Add Makefile, rename `setup.sh` to `install` před 9 roky
install 8b0e3887db Fix issues with nvim config linking před 9 roky

README.md

dotfiles

Configuration files for:

  • Vim (7.4+) or NeoVim
  • Vimperator (3.8+)
  • Tmux (1.8+)
  • Zsh (4.3.17+)
  • Other bits and pieces

Heavy preference for vim-like bindings.

Installation

Clone to a home folder. Run make install or ./install. Restart the terminal session.

Recommended

Usage

Below is a non-exhaustive list of dotfiles usage.

Zsh

  • z folder jumping enabled, i.e. z regex = cd /path/with/regex.
  • Shell prompt displays Git repository info and work tree status.
  • Mostly-Mnemonic Git shortcuts, e.g. gs is git status, gd is git diff.
  • SSH agent use is encouraged. ssh-add is run at shell start if an identity is not already loaded.
  • A .zshlocal file can contain machine-specific settings.

Vim

Space is the <Leader>.

  • <Leader>w saves.
  • <Leader>q closes files.
  • <Leader>l lists loaded buffers and lets you jump to them by number.
  • <Leader>p fuzzy-finds files.
  • <Leader>f fuzzy-finds functions in the current file.
  • <Leader>t opens a function/variable list for the current file.
  • <Leader>n toggles line numbers.
  • <Leader>c finds VCS conflict markers.
  • Additional text objects exist (see 'Text Objects' in plugins.vim).
  • Saving .pandoc files also outputs .docx versions.
  • :Goyo for distraction-free writing.
  • :Dark, :Light and :Neon colour schemes available.

Tmux

<C-a> = Ctrl-a = the tmux prefix.

  • <C-a> + [vi motion] moves around panes.
  • <C-a> + <C-[vi motion]> moves around windows.
  • Alt/Meta + number moves to window number (1-10).
  • <C-a> + - cuts a pane horizontally,
  • <C-a> + \ cuts a pane vertically (think |).
  • <C-a> + s starts synchronized panes.
  • <C-a><C-s> swaps between sessions.
  • Mouse support works for selecting and resizing panes/windows.

Vimperator

Apart from the default Vimperator goodness e.g.

  • / searches like vim.
  • f and F follow links on this tab/in a new tab.
  • et cetera...

These dotfiles provide the following:

  • h and l - move left and right between tabs.
  • j and k - scroll the page down and up.
  • H, J, K, L - scroll the page slowly (left, down, up, right).
  • <C-h> and <C-l> - relocate a tab left and right.