|
|
10 年 前 | |
|---|---|---|
| ack | 12 年 前 | |
| bin | 10 年 前 | |
| git | 10 年 前 | |
| homebrew | 10 年 前 | |
| irssi | 13 年 前 | |
| screen | 12 年 前 | |
| tmux | 10 年 前 | |
| vim | 10 年 前 | |
| vimperator | 10 年 前 | |
| zsh | 10 年 前 | |
| .gitignore | 10 年 前 | |
| .gitmodules | 10 年 前 | |
| README.md | 10 年 前 | |
| setup.sh | 10 年 前 |
These are configuration files for:
The configs reflect a heavy preference for vim-like bindings.
zsh and vim installed.zsh has been used with 4.3.17 and up.vim can work with 7.3, but is best with 7.4+ to have all the right patches.zsh prompt nicer.vim and tmux look
better, and has Rainbarf graph glyphs..pandoc files (Pandoc
Markdown). Install pandoc-citeproc for bibliographical assistance.Clone this repository to the home folder, and run setup.sh:
$ ~/dotfiles/setup.sh
Restart the shell after that.
Below are some examples of how this config is used. The list is not exhaustive. Users are encouraged to actually read the dotfiles. Hopefully, any comments left help users to understand, modify and improve what is there.
And improve you should. Streamline your work flow. Introspect constantly. See what others do. Enjoy the amount of time wasted on tweaking a setup :D
tmux/sudo when remotes also
use these dotfiles. (Be a one-private-key kind of person.).zshlocal file can contain machine-specific settings.z folder jumping enabled, e.g. z regex = cd /path/with/regex.Space is the <Leader>.
<Leader>p fuzzy-finds files. Best in Git repositories.<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>w saves.<Leader>q closes files.'Text Objects' in plugins.vim)..pandoc files also outputs .docx versions.:Goyo for distraction-free writing.:Dark, :Light and :Neon.Ctrl-a is the Prefix. PrefixHold = Hold down Ctrl during that binding.
Prefix + vi motion moves around panes.PrefixHold + vi motion moves around windows.Alt/Meta + number moves to window number (1-10).Prefix + - cuts a pane horizontally,Prefix + \ cuts a pane vertically (think |).Prefix + s starts synchronized panes.PrefixHold + s swaps between sessions.Apart from all the default vimperator goodness e.g.
/ searches like vim.f and F follow links on this tab/in a new tab.This config provides the following:
h and l move left and right between tabs.j and k half-pages down and up (<C-d>/<C-u> equivalents).H, J, K, L are small motions (5 lines or chars) within a page.<C-h> and <C-l> relocate a tab left and right.