e7e284baea
[README] fix another setup.sh reference
2018-04-15 18:09:52 +00:00
39c522ad5d
[README] mention bootstrap instead of setup.sh
2018-04-15 18:08:48 +00:00
4d8fc0e810
[tmux] shells under tmux start with SHLVL 1
...
This is necessary to make the visibility of nested shells (introduced in
30c5b52) work correctly when running inside tmux.
2018-04-15 20:03:29 +02:00
e449444252
[bash] make nested shells visible on prompt
...
The $ or # now gets repeated as many times as levels of shell nesting we
have.
2018-04-15 20:03:11 +02:00
807d172521
[bash] fix inconsistent PATH and MANPATH
...
These two major problems existed:
* PATH got multiple instances of the same entries for nested shells.
* MANPATH got set, but ignoring the results of the system's `manpath`
command. This caused some man pages to be missing, because the
presence of MANPATH variable prevents man from looking up man pages
at the paths returned from `manpath`.
Both issues are now fixed :)
BONUS: we abstract the last absolute locations we had in terms of where
Homebrew is installed. For Linux, Cygwin, or Mac without Homebrew we
assume all our custom tools will be installed under /usr/local. It is
easy enough to change that in case we have a different directory in a
specific system.
2018-04-15 20:01:43 +02:00
219a0108f9
[bash] avoid shadowing system manpath
command
2018-04-15 19:54:00 +02:00
d9dc3b33bf
[vim] better status line (no percentage)
2018-04-15 14:17:13 +02:00
d226e219df
[vim] user better vertical bar as window separator
2018-04-15 14:03:22 +02:00
b376025223
[vim] add nice folding
2018-04-15 13:53:47 +02:00
b4a6205b4d
[vim] add easy cycling through numbering modes
...
Adapted from:
https://raw.githubusercontent.com/wincent/wincent/master/roles/dotfiles/files/.vim/autoload/wincent/mappings/leader.vim
2018-04-15 13:49:58 +02:00
cf5c52fea6
[tmux] stay in copy mode on drag end
2018-04-15 12:08:49 +02:00
e15d3b1a40
[bash] make solarized() more informative
2018-04-15 12:01:44 +02:00
f0675327c8
[bootstrap] better name and location
...
I don't want this on my PATH, since it will typically be run only once
for a machine.
2018-04-15 11:30:01 +02:00
bfc2d9df84
[bootstrap] add brew packages
2018-04-15 11:29:24 +02:00
5b19853b94
[git] organize supporting files
2018-04-15 11:28:33 +02:00
1cf275f807
[vim] better list autoformatting
2018-04-15 11:22:16 +02:00
5201424b13
[vim] select beyond end of line in visual mode
2018-04-15 11:20:05 +02:00
0a2787f251
[vim] disable vim "splash screen"
2018-04-15 11:19:03 +02:00
354a0e2894
[vim] insert only once space when joining lines
2018-04-15 11:18:17 +02:00
76c4ef8bad
[vim] prefer unix line endings (LF, no CR)
2018-04-15 11:16:00 +02:00
6d1bfb01bd
[vim] better listchars (▷ » « · ⤷)
2018-04-15 11:14:14 +02:00
54dd54c82d
[vim] make viminfo remember more things
2018-04-15 11:11:51 +02:00
0cd38be0cd
[vim] /// repeat previous pattern for search
2018-04-15 11:10:26 +02:00
27eefff26d
[vim] remove dangling mapping (tagbar plugin)
2018-04-15 11:09:32 +02:00
d21989d8f4
[tmux] improve status line colors
2018-04-15 11:07:53 +02:00
79c8dd2f26
[tmux] improve status line formatting
2018-04-15 11:07:10 +02:00
23493a7a1e
[tmux] use C-Space instead of C-A as prefix
2018-04-15 11:05:22 +02:00
5c6aa58682
[vim] make tabs more visible
2018-04-15 00:00:27 +02:00
61442f5862
[vim] improve status line
2018-04-14 23:48:59 +02:00
b0e08d3e01
[vim] use better list characters
2018-04-14 22:13:53 +02:00
1e5f932895
[vim] use vertical split for diffs
2018-04-14 22:13:42 +02:00
caa1663507
[vim] add vim-fugitive
2018-04-14 20:52:46 +02:00
62e3c5162a
[vim] get rid of vim-bufferline and tagbar
...
tagbar: haven't used in forever, might as well simplify the setup.
vim-bufferline: the functionality started to annoy me - let's experiment
for a while without it. I can always reactivate it if I miss it...
2018-04-14 20:50:51 +02:00
b61da22c48
[git] replace tabs with whitspace
2018-04-14 20:49:30 +02:00
344bffe19b
[vim] align options on tab stop for convenience
...
No options were changed -> only formatting!
2018-04-14 18:58:11 +02:00
573f7ba5f5
[vim] place viminfo inside .vim/
2018-04-14 18:55:13 +02:00
d0128c3440
[vim] place vimrc inside .vim/
2018-04-14 18:46:13 +02:00
c50ce5da67
Install reattach-to-user-namespace during setup
2018-04-08 01:32:53 +02:00
57352cac57
[git] add git-wtf command
...
Source:
https://github.com/holman/dotfiles/blob/master/bin/git-wtf
2018-04-08 01:19:06 +02:00
e643a915aa
[git] add typical local configurations
...
The appropriate local configuration can be symlinked to ~/.gitconfig.local.
2018-04-08 01:07:05 +02:00
152fd37f1b
Fix quoting in README
2018-04-07 20:22:46 +00:00
712b11e620
[bash] remove newline from PS1
...
This makes my prompt play a little nicer with python virtual
environments.
2018-04-05 19:29:21 +02:00
e4b1fc02db
Add setup script
2018-04-05 19:12:45 +02:00
1880d22747
Update README.md
2018-04-03 22:38:44 +00:00
b0471cc9b1
[vim] add nginx syntax
2018-04-04 00:27:49 +02:00
03bc9ce933
[bash] use red prompt when logged in as root
2018-03-28 17:27:25 +02:00
bdc0179c6d
[rc] fix missing file extension
2018-03-28 15:31:33 +02:00
318c2c46ea
[tmux] fix immediate exit on Linux
...
The fix in commit 6bd38b874978e96dc2632abf1c98460e908fa6a6 causes tmux
to exit immediately when running on Linux, since the
reattach-to-user-namespace is specific to MacOS and the binary is
therefore not available on Linux.
More details at:
http://www.economyofeffort.com/2013/07/29/reattach-to-user-namespace-the-fix-for-your-tmux-in-os-x-woes/
2018-03-28 15:31:33 +02:00
3e64d54317
[bash] improve ls
aliases
...
When the GNU version of `ls` is not installed (e.g. on a new Mac), the
previous alias causes problems because the --group-directories-first
option is not supported and makes `ls` fail. This commit fixes that by
checking which version is installed and creating the alias accordingly.
2018-03-04 18:25:22 +01:00
36ce14439b
[bash] fix typo in comment
2018-03-04 18:25:22 +01:00